In my application i want to send 4-5 LWM packets as fast as possible. (using ATmega128RFA1)
Aggregating the payload to 1 packet is not practical.
If i send next packet (NWK_DataReq()) right after the Confirmation callback (requesting only appNwkDataReq.options = NWK_OPT_ENABLE_SECURITY;, no ACK),
then sometimes (about 30%) i get NWK_PHY_NO_ACK_STATUS (0x21) status back.
If i wait 1 ms after the callback before sending the next packet then all is well.
Firstly i do not know the reason for this behaviour.
How can i remove that ugly 1 ms wait?
Secondly is there any way to speed this up? For example does it make sense to send 2 or more NWK_DataReq() at the same time?
Will be the transmission any faster that way?