-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Newer meshtastic firmwares (starting with 2.7.0) implement a rate limit to outgoing messages (see meshtastic/firmware#7139 ). There is a message in newer Android client builds that refers to a 2 second rate limit, and the linked PR title agrees, but the code appears to actually implement a 1.5 second rate limit. This limit results in outgoing messages from the BBS script being dropped in some cases when the attached node is updated to 2.7.0 or later.
This dropping of messages is most easily seen in messages which use the chunker, such as weather reports. But I think it could also affect instances where different users need short single-message responses within the same 1.5 second period.
It seems to me like we'll need to implement a message queue, appending new messages in send_message() and processing the queue on a background timer.
It might also be helpful to add some support for tracking and reporting on message queue length, to help operators understand how long messages might be delayed in their situations.