[NimBLEServer] Add getPeerName and get peer name on connect.

* Adds a new method, getPeerName to NimBLEServer to read the name from the peers device name characteristic.
* Adds a setting to automatically get the name of the peer when connected and provide it as an additional parameter in the onConnect callback.
* Adds callback with client name after authentication as it may change.
This commit is contained in:
h2zero authored and h2zero committed 2024-06-30 16:44:49 -06:00
1 parent 3c5a2fd4a9
commit fd698b0212
7 files changed
+280 -7

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ jobs:
- Bluetooth_5/NimBLE_extended_client
- Bluetooth_5/NimBLE_extended_server
- Bluetooth_5/NimBLE_multi_advertiser
- NimBLE_server_get_client_name
exclude:
- idf_target: "esp32"
example: Bluetooth_5/NimBLE_extended_client