Category
Other
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.6.x and 2.7.16
Description
Description:
Using MeshPocket with the latest firmware (v2.7.16), certain UTF-8 characters in received messages cause the device to reboot.
Root Cause Analysis:
Upon reviewing the source code in AppleFont.cpp, specifically the toUtf32 function, the issue occurs when the input text length exceeds 4. The function calls assert, which triggers a reboot.
Suggested Fix:
Replace the assert statement with:
- A serial port warning log to indicate the invalid input length.
- Return a 0 value instead of asserting, to prevent the device from rebooting.
Relevant log output
Category
Other
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.6.x and 2.7.16
Description
Description:
Using MeshPocket with the latest firmware (v2.7.16), certain UTF-8 characters in received messages cause the device to reboot.
Root Cause Analysis:
Upon reviewing the source code in AppleFont.cpp, specifically the toUtf32 function, the issue occurs when the input text length exceeds 4. The function calls assert, which triggers a reboot.
Suggested Fix:
Replace the assert statement with:
Relevant log output