Expand description
GATT UUIDs and constants for the Mendi headband BLE protocol (V4).
The Mendi headband exposes a custom GATT service with six characteristics,
each carrying protobuf-encoded messages as defined in device_v4.proto.
§UUID namespaces
Mendi uses a vendor-specific UUID base: fc3eXXXX-c6c4-49e6-922a-6e551c455af5.
The short codes ABB0–ABB6 are embedded into this base, not the
standard Bluetooth Base UUID (0000XXXX-0000-1000-8000-00805f9b34fb).
Standard BLE characteristics (firmware/hardware revision) still use the Bluetooth Base UUID.
Constants§
- ADC_
CHARACTERISTIC - ADC / Battery characteristic:
fc3eabb4-c6c4-49e6-922a-6e551c455af5. - CALIBRATION_
CHARACTERISTIC - Calibration characteristic:
fc3eabb6-c6c4-49e6-922a-6e551c455af5. - DIAGNOSTICS_
CHARACTERISTIC - Diagnostics characteristic:
fc3eabb5-c6c4-49e6-922a-6e551c455af5. - FIRMWARE_
REVISION - Standard BLE Firmware Revision String characteristic (
0x2A26). - FRAME_
CHARACTERISTIC - Frame characteristic:
fc3eabb1-c6c4-49e6-922a-6e551c455af5. - HARDWARE_
REVISION - Standard BLE Hardware Revision String characteristic (
0x2A27). - IMU_
CHARACTERISTIC - IMU register access characteristic:
fc3eabb3-c6c4-49e6-922a-6e551c455af5. - MENDI_
NAME_ PREFIX - Default BLE advertised name prefix for Mendi headbands.
- MENDI_
SERVICE_ UUID - Primary GATT service UUID:
fc3eabb0-c6c4-49e6-922a-6e551c455af5. - OPTICAL_
CHANNEL_ NAMES - Human-readable names for the three optical channels.
- SENSOR_
CHARACTERISTIC - Sensor register access characteristic:
fc3eabb2-c6c4-49e6-922a-6e551c455af5.
Functions§
- mendi_
uuid - Build a full 128-bit UUID from a 16-bit short code using the Mendi
vendor base UUID:
fc3eXXXX-c6c4-49e6-922a-6e551c455af5.