Refactor server code to use vectors instead of maps.

* Use critical sections to access characteristic/descriptor value data.

* Remove unnecessary code

* Create characteristic semaphore only if needed for indications.

* Fix advertising when not broadcasting a service.
This commit is contained in:
h2zero committed 2020-06-07 18:42:28 -06:00
1 parent 44f16e6ee2
commit e987ad58b2
18 files changed
+471 -1370

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ struct BLE2904_Data {
} __attribute__((packed));
/**
* @brief Descriptor for Characteristic Presentation Format.
*