Files
firmware/src/graphics/niche
Clive Blackledge 28f53d132a refactor: change node count variables from uint8_t to uint16_t (#8478)
This is a non-breaking change that increases the internal representation
of node counts from uint8_t (max 255) to uint16_t (max 65535) to support
larger mesh networks, particularly on ESP32-S3 devices with PSRAM.

Changes:
- NodeStatus: numOnline, numTotal, lastNumTotal (uint8_t -> uint16_t)
- ProtobufModule: numOnlineNodes (uint8_t -> uint16_t)
- MapApplet: loop counters changed to size_t for consistency with getNumMeshNodes()
- NodeStatus: Fixed log format to use %u for unsigned integers

Note: Default class methods keep uint32_t for numOnlineNodes parameter
to match the public API and allow flexibility, even though internal node
counts use uint16_t (max 65535 nodes).

This change does NOT affect protobuf definitions, maintaining wire
compatibility with existing clients and devices.
2025-10-28 15:32:08 -05:00
..
2025-03-01 06:18:33 -06:00

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_filter to include our new nicheGraphics.h file
  • nicheGraphics.h

    • #include all necessary components
    • perform all setup and config inside a setupNicheGraphics() method