cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-ASTRA1B - I can build, flash and debug via stm32cubeide. Alas, the STAssetTracking app won't load on my android moto g pure. Alternatives?

whistle
Associate II

Question1) is there a way to input the needed "commisioning" data (that the STAssetTracking app would do via BLE) into the ASTRA and start the OTAA for lorawan?

Question2) is there an application note for the above question? or some other doc (already re-read UM3019)?

2 REPLIES 2
Louis AUDOLY
ST Employee

Hello @whistle​ ,

I suggest you to refer to the following user manual UM2966.

Have you try to use this dashboard DSH-ASSETRACKING you can find here ?

Regards

Louis

whistle
Associate II

Louis - thanks for the response.

The dsh-assetracking dashboard has the following:

Configure device

   Connect device to local PC via USB and open serial terminal (e.g. TeraTerm)

   Take note of device EUI by running ?devicejoinparam command

   Configure device with following commands by using the device profile parameters

!joineui-xxxxxxxxxxxxxxx                   // replace x characthers with join eui value

!ntwkkey-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    // replace x characthers with network key value

!appkey-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx     // replace x characthers with application key valu

!sysreset

The above commands (?devicejoinparam, !joineui, !ntwkkey and !appkey) seem to be not implemented as I just get the help prompt of:

Terminal HELP:

?fwversion - View fw info

?hwversion - View hw info

?blemacaddr - View BLE mac addr

?loraparams - View LoRa params

?verbosity - View verbosity level

!verbosity - Set verbosity level

!sysreset - System reset

!sysdfu - System DFU mode

?sysblver - System Bootloader version

!syswlprg - Prog STM32WL

!fwdwlCRLF_ - Send cmd CR+LF to STM32WL

!fwdwl - Send cmd to STM32WL

!wlgetresp - Get STM32WL response

!wltransp - STM32WL uart transparent

?gnssstatus - GNSS status report

!gnssreport - GNSS enable detailed report

!gnssnmea - GNSS set NMEA printout

!stop - STOP fw execution

!loraconf - Set LoRa fw configuration

?loraconf - Get LoRa fw configuration

!debug - Set the debug mode

?debug - Get the debug mode

!sysrun - Set system state to run

!syslp - Set system state to low power

!usecase - Set ATR use case

? - View help

Command complete

Press {ENTER} to re-activate trace messages

The commands listed in the help like ?loraparams work ok.

?loraparams produces:

LoRa keys saved inside STM32WL:

DevEui: 0080E11500006660

AppEui: 0101010101010101

AppKey: 2B7E151628AED2A6ABF7158809CF4F3C

NwkKey: 2B7E151628AED2A6ABF7158809CF4F3C

LoRa keys configured by STM32WB via at command:

AppEui: -APPEUI_NOT_CONF

AppKey: - APP KEY IS NOT CONFIGURED YET-

NwkKey: - NWK KEY IS NOT CONFIGURED YET-

LoRa keys loaded from NFC EEPROM

Command complete

I edited the DevEui shown above.

Thanks.