Files
firmware/src
James Rich 8b2593f7be Carry mesh frames over the GATT mesh-peer service on ESP32
ESP32BLEGattMesh is the NimBLE half of BLEGattMeshHandler, peripheral only.
One legacy connectable advertisement serves the phone and the mesh peers,
with the mesh-peer service UUID in its scan response as on the nRF52, and a
link becomes a mesh peer when it subscribes to the mesh characteristic.
Notifies go to one connection at a time so a relay skips the peer it came
from.

With the GATT peer protocol on, NimbleBluetooth registers every link from
onConnect, re-arms the advertisement while a connection slot is free, and
identifies the phone by phone-API use instead of by pairing, so a mesh peer
dropping no longer ends the phone's session. Security starts on demand
rather than on connect, so a mesh peer is never pushed into pairing; the
phone API keeps its attribute protection. deinit() disconnects every link
before freeing the server.

All of it is compiled only with HAS_BLE_GATT_MESH and inert unless the
BLE_GATT_PEER protocol bit is set.
2026-10-11 10:54:58 -05:00
..
2026-08-20 12:28:57 +00:00
2026-09-24 22:41:37 +00:00
2026-01-29 05:56:19 -06:00
2026-02-19 07:16:33 -06:00
2026-05-11 11:46:13 -05:00
2026-07-01 19:01:27 -05:00
2023-01-21 21:23:24 +01:00
2026-09-24 22:41:37 +00:00
2026-07-16 18:57:50 -05:00