PacketHandler
Interface for handling the transmission of packets to the radio and managing the packet queue.
Functions
Completes the strict routing response for dataRequestId when an active transport already dispatched that packet. Replies that arrive before dispatch are stale and ignored. The packet ID remains reserved until both the firmware queue stage and this routing stage are terminal.
Processes queue status updates from the radio.
Re-arms the send-ACK timeout for every persisted packet still awaiting its routing ACK/NAK, so sends orphaned by a disconnect or app restart become retryable instead of showing as sending forever. Call once per connection, after the radio config is loaded.
Adds a mesh packet to the queue for sending.
Sends a command/packet directly to the radio.
Adds a mesh packet to the queue and suspends until its routing acknowledgement arrives.
Detailed form of sendToRadioAndAwait, including whether an active transport admitted the packet.
Adds packet only while expectedConnectionVersion still owns the connected lifecycle generation.
Stops the packet queue.