Information Gathering in a Legato Application

Hello,

I need to extract a data from my device (FX30), using Legato Framework or AT commands.
The data is the Base Station Identifier Code (BSIC).

First I didn’t find any function that can return it in Legato.io.
Second I know already it can be returned using 2 commands, which I could use to gather my data aswell :

  • at+cced=0,1
  • AT!LTEINFO?

Both are not working under the at prompt of my device, I get the following errors :
root@fx30:~# microcom -E /dev/ttyAT
at
OK
at
OK
at+cced=0,1
ERROR
at
OK
AT!LTEINFO?
!LTEINFO:
Not Available

OK
at
OK
root@fx30:~#

How can I resolve these errors?

Thanks

Hi,
You can use the le_mrc_GetServingCellId() function (cf. le_mrc API) to retrieve that information.

Kind regards,
Tristan

Hi Tristan,

Thanks for your help.
As far as I understand the le_mrc_GetServingCellId() function returns the Cell identifier.
Here we need to get the Base Station Identifier Code. (a BSIC can holds several cells)

David

Hi David,

You’re right, that function returns the Cell Id. Unfortunately we don’t have yet an API to return the BSIC.

I can push to add it in a future release of legato.

Kr,

Tristan

Hi Tristan,

Thanks for your help.

Yes it could be a good thing if you can get this information either from an AT command or through an API (preferred solution of course )

David