Closed terrillmoore closed 4 years ago
This is poorly thought through because it doesn't address the ADR negotiation. This probably has to be in LMIC. The app should tell the MAC it's minimum packet size. The MAC should then use this in two ways:
to control the minimum it will accept in ADR and LinkTracking discussions with the core network. If core network wants device to go to SF10, but regs and app require SF9, then device should say "no" to the ADR request. (This lets the network know that the device can't accept the parameters, so it can do things like enabling replication instead.)
to control its choice of uplink parameters when actually transmitting.
Should do an architectural study on this, as we need to test use cases against proposed implementation.
After the certification work and experience with apps, this is clearly the wrong question to ask because there is no well-defined answer in LoRaWAN as to the "maximum size of next uplink". Closing this.
With ABP in the US, max payload may be 11 bytes. The app needs to know this, and adapt.
ArduinoLoRaWAN::SendBuffer()
doesn't return an unambiguous error for packet-size overflow (it just returns abool
). After a failedSendBuffer()
, we need a few things: