mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Add getMaxTextLen() and getMaxGroupTextLen() virtual to mesh::Radio (default 160 bytes). BaseChatMesh uses these instead of the hardcoded MAX_TEXT_LEN macro for limit checks in composeMsgPacket(), sendCommandData(), and sendGroupMessage(). Stack buffers remain sized to MAX_TEXT_LEN as a safe upper bound.pull/2218/head
3 changed files with 12 additions and 6 deletions
Loading…
Reference in new issue