|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Bluetooth ATT protocol codec + GATT characteristic bridge (DETWS_ENABLE_BLE_GATT). More...
Go to the source code of this file.
Bluetooth ATT protocol codec + GATT characteristic bridge (DETWS_ENABLE_BLE_GATT).
The ESP32's BLE radio is on-chip, but bridging GATT to the web still needs the wire protocol under GATT - the Attribute Protocol (ATT, Bluetooth Core Vol 3 Part F): the read / write / notify / error PDUs a central and peripheral exchange, each a 1-byte opcode followed by a little-endian attribute handle and value. This is that codec (build + parse the common ATT PDUs) plus a small characteristic table serializer that exposes discovered / offered GATT characteristics as JSON for the web stack.
Pure, zero heap, no stdlib, host-testable. The BLE stack (NimBLE / Bluedroid) owns the radio; this owns the ATT bytes and the northbound JSON.
Definition in file ble_gatt.h.