The send_bell append writes bytes[size] and bytes[size+1] while the guard only checked size < DATA_PAYLOAD_LEN, overrunning the 233-byte payload array by one when size == DATA_PAYLOAD_LEN - 1. Guard on size + 1.
NicheGraphics
A pattern / collection of resources for creating custom UIs, to target small groups of devices which have specific design requirements.
For an example, see the heltec-vision-master-e290-inkhud platformio env.
-
platformio.ini
- suppress default Meshtastic components (Screen, ButtonThread, etc)
- define
MESHTASTIC_INCLUDE_NICHE_GRAPHICS - (possibly) Edit
build_src_filterto include our new nicheGraphics.h file
-
nicheGraphics.h
#includeall necessary components- perform all setup and config inside a
setupNicheGraphics()method