Commit graph

2 commits

Author SHA1 Message Date
h2zero
031ba8f437 Remove const from NimBLEConnInfo references in callbacks.
The use of const is a unnecessary breaking change as there is nothing that can be changed in the class.
2024-08-11 16:17:04 -06:00
h2zero
fd698b0212 [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.
2024-06-30 16:44:49 -06:00