Text message rate limiting should return routing error instead (#7365)

* Text message rate limiting should return routing error instead

* Proper rooting

* Update PhoneAPI.cpp

* Update PhoneAPI.cpp
This commit is contained in:
Ben Meadors
2025-07-20 20:12:10 -05:00
committed by GitHub
parent 8345c21eff
commit 8aef3c44f4
3 changed files with 21 additions and 1 deletions

View File

@@ -148,6 +148,9 @@ class MeshService
/// Send a ClientNotification to the phone
void sendClientNotification(meshtastic_ClientNotification *cn);
/// Send an error response to the phone
void sendRoutingErrorResponse(meshtastic_Routing_Error error, const meshtastic_MeshPacket *mp);
bool isToPhoneQueueEmpty();
ErrorCode sendQueueStatusToPhone(const meshtastic_QueueStatus &qs, ErrorCode res, uint32_t mesh_packet_id);