WP8548 - MangOH Green - Report Location Into AirVantage

Hello,

What is needed for the WP8548 module to report it’s location into AirVantage? I have used enabled GPSAUTOSTART and checked my satellite info and last location lock. I also have enabled communication with the server.

AT!GPSAUTOSTART=1,1,255,100,1
OK
AT!RESET
OK
at!gpssatinfo?
Satellites in view: 14 (2017 04 25 1 16:18:52)

  • SV: 3 ELEV: 45 AZI: 226 SNR: 40
  • SV: 4 ELEV: 0 AZI: 0 SNR: 43
  • SV: 8 ELEV: 7 AZI: 168 SNR: 36
  • SV: 14 ELEV: 8 AZI: 120 SNR: 35
  • SV: 16 ELEV: 72 AZI: 68 SNR: 39
  • SV: 22 ELEV: 30 AZI: 195 SNR: 39
  • SV: 23 ELEV: 58 AZI: 324 SNR: 37
  • SV: 26 ELEV: 43 AZI: 45 SNR: 40
  • SV: 27 ELEV: 22 AZI: 136 SNR: 40
  • SV: 31 ELEV: 11 AZI: 66 SNR: 38
  • SV: 46 ELEV: 50 AZI: 181 SNR: 36
  • SV: 51 ELEV: 49 AZI: 198 SNR: 46
  • SV: 74 ELEV: 42 AZI: 270 SNR: 23
  • SV: 70 ELEV: 32 AZI: 165 SNR: 25

at+wdsi = 8191
OK
at+wdss=1,1
OK

+WDSI: 4

+WDSI: 6

+WDSI: 23,1

Thanks,

Brandon

1 Like

Hello Brandon ,

You would need an application to be developed that needs to use the positioning services
and establish the communication with Airvantage cloud for sending the location information.
The required bindings needs to be specified in the .adef file of the application.
You can choose to have two components or it can be done in single component.
bindings snippet from sample implementation .

bindings:
{
assetDataTutorial.componentAssetData.le_avdata -> avcService.le_avdata
assetDataTutorial.componentAssetData.le_avc -> avcService.le_avc
}

note you need to have your components to be attached to service provider Api’s

You need to add asset field to the .cdef for the component .
assets:
{
Room =
{
variables:
{
string Name
float Temperature // Fields which you want to update to Airvantage(Read for Airvantage)

bool IsAC_on
}

settings:
{
int TargetTemperature
}

commands:
{
TurnOffAC
}
}
}

The above snippet is taken from sample implementation available
You can check the sample App for data exchange with Air vantage here
https://github.com/nhonchu/LegatoAssetData

Moreover , for more details on Definition files and App installation
http://legato.io/legato-docs/latest/howToAirVantageExchangeData.html#howToAirVantageExchangeData_implementLegatoApp_sampleCode

you should assure before data exchange can start with Air Vantage, a LWM2M session must be established.

Regards
Ankita

Thank you for the help!

[cid:image019.png@01D0E4DB.789D2640]http://www.getwirelessllc.com/

Brandon Hammer
Technical Resources | GetWireless • Connecting the Internet of Things

Hi Ankita, I tried building the sample you pointed in the GitHub profile. I am I am able to run the application on mangOH. However, I am not able to see any data on my airvantage. Could you guide me to see if I am making any configuration errors?