esp-nimble-cpp/examples
h2zero 2d3ff4922e [BREAKING] Refactor attributes
Refactor attributes to reduce code duplication and improve maintainability.

* Add attribute base classes to provide common code.
* Add const where possible to functions and parameters.
* `NimBLECharacteristic::notify` no longer takes a `bool is_notification` parameter, instead `indicate()` should be called to send indications.
* `NimBLECharacteristic::indicate` now takes the same parameters as `notify`.
* `NimBLECharacteristicCallbacks` and `NimBLEDescriptorCallbacks` methods now take `const NimBLEConnInfo&` instead of non-const.
* `NimBLECharacteristic::onNotify` callback removed as unnecessary, the library does not call notify without app input.
* Add NimBLEUUID constructor that takes a reference to `ble_uuid_any_t`.
* `NimBLERemoteService::getCharacteristics` now returns a `const std::vector<NimBLERemoteCharacteristic*>&` instead of non-const `std::vector<NimBLERemoteCharacteristic*>*`
* `NimBLERemoteService::getValue` now returns `NimBLEAttValue` instead of `std::string`
* `NimBLEService::getCharacteristics` now returns a `const std::vector<NimBLECharacteristic*>&` instead of a copy of std::vector<NimBLECharacteristic *>.
2024-08-09 19:15:38 -06:00
..
Advanced [BREAKING] Refactor attributes 2024-08-09 19:15:38 -06:00
basic Remove broken links from docs. 2024-06-14 09:57:23 -06:00
Bluetooth_5 Fix inconsistent use of time units (#143) 2024-02-29 17:34:53 -07:00
NimBLE_server_get_client_name [NimBLEServer] Add getPeerName and get peer name on connect. 2024-06-30 16:44:49 -06:00