mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-13 17:37:21 +00:00
net/lora: Fix MAC command issues
There are two basic issues fixed with this commit: 1) If the server sends MAC commands "constantly" the code would not send any data until the MAC commands stopped being sent. Now, if we cannot send any MAC commands because the application data is too large, we will send a MAC commands, at most, every other frame. 2) The code will now attempt to add as many MAC commands as it can to each transmission. Prior code would either attempt to add the entire MAC command buffer or do nothing. X-Original-Commit: 6f78d462d7b05346dcc2ddb4b94d0b8de31611e7
This commit is contained in: