Hi friends,
Is there any possibility to control initial DR ? In the 2.x.x.x version there was a “at+dr” command, ADR on-off (at+set_config=adr:on / off ) etc.
How does ADR work in this new version? I have noticed “Current Datarate” and “Primeval Datarate” is remembered somehow even after reset or power off.
If it is possible more explanation would be appreciated.
Thanks Antonin
Hi Fomi,
Great ! Thanks for your reply.
One more question…
what about initial power, ( at+set_config=pwr_level ) ?
In some last version 2.x.x.x was an error - DR was lost after sleep->wake up, more precisely - after wake up DR was initialized to its default value, so DR negotiation was lost and ADR didn’t work correctly after wake up.
After wake up, rw_LoadUsrConfig() was called and there
mibReq.Type = MIB_CHANNELS_DATARATE;
mibReq.Param.ChannelsDatarate = g_lora_config.def_tx_dr;
LoRaMacMibSetRequestConfirm( &mibReq );
rw_SetTxDataRate(g_lora_config.def_tx_dr);
… I will test it for 3.0.0.3 but just to calm me do you think it is fixed for 3.x.x.x, it means - DR and Power is set by ADR and values are persisted between sleep-wake up cycles ?