Lora - Sticky Mac commands / sheduled uplink
Hi there,
I am working on Murata cmwx1zzabz (i.e. STM32L072CZ) and my code is based on the ST en.i-cube_lrwan. For all the basic stuff (joining, sending messages) it runs fine. The Mac commands, that actually manage the network, are OK except the "sticky" ones.
As stated in the Semtech library, "The sticky answers were introduced to the specification in order to ensure that critical MAC commands have been understood by the end-device. You can see the sticky answers like an acknowledgement." So these sticky Mac commands require some acknowledge from the device because it is related to critical parameter (sticky Mac commands are SRV_MAC_RX_PARAM_SETUP_REQ, SRV_MAC_RX_TIMING_SETUP_REQ, SRV_MAC_DL_CHANNEL_REQ). So when the device is receiving one of these, the Mac layer notifies the application layer that an uplink is required as soon as possible. The MlmeIndication callback is then executed.
But looking at the ST library lora.c (more specially LORA_TxNeeded() ) nothing is implemented. Nothing is send back to the gateway so it does not get its acknowledge.
It seems that the Mac command is ready to be send (it is processed and stored in the sMacCommandsList) but I do not get how to tell the Mac layer to send it (It must be obvious!)
Any idea about how to send a scheduled up link?
Thanks!