-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indicate an errors if payload is too long
When the payload supplied by the application does not fit into the uplink message at the requested data rate, the modem internally performs a MAC "flush", i.e., it sends an empty uplink to send any pending MAC commands to the network server. Previous modem versions returned +OK in this case, incorrectly indicating to the caller that the message was sent. Since the uplink wasn't really sent, the followup +ACK/+NOACK was not emitted. This patch modifies the modem to correctly return +ERR=-12 if the payload is too big to fit into the uplink message. Closes #98
- Loading branch information
Showing
1 changed file
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters