h2zero
2b4c1cd4f1
Add alternative characteristic read/write callbacks
...
Added alternative characteristic read/write callbacks that carry the connection description information.
Fixes h2zero/NimBLE-Arduino#83
Author: lknop <lknop@users.noreply.github.com >
2020-07-14 15:14:29 -06:00
h2zero
aae2a8f1e3
Fix comments for doxygen ( #16 )
...
* Fix comments for doxygen
* Add documentation and update readme.
2020-07-08 19:27:26 -06:00
h2zero
8d2821a429
Use templates for attribute values.
...
* Add timestamps for NimBLECharacteristic.
2020-07-01 17:32:41 -06:00
h2zero
c25e48872f
NimBLECharacteristic: add setValue(uint8_t single_byte)
2020-06-21 20:38:38 -06:00
h2zero
0712f606f1
Don't send notifications to un-paired peers when READ_ENC set ( #14 )
...
* start security when peer subscribes to secured characteristic
* Don't send notifications to non-secure clients
2020-06-21 20:26:16 -06:00
h2zero
74f48f5d5e
Remove semaphores, use task notifications instead.
2020-06-11 08:06:16 -06:00
h2zero
e987ad58b2
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.
2020-06-07 18:42:28 -06:00
h2zero
03cb7b21d9
Conditionally compile code for specific roles.
...
This allows NimBLE options in menuconfig to reduce code size based on
the roles selected (scan/advertising/central/peripheral).
Significant code space can be saved by removing unnecessary roles for the application.
2020-05-13 22:03:56 -06:00
h2zero
f0191eb1e6
Add ==,!= operators to NimBLEAddress, pass parameters by const reference.
2020-05-10 07:21:46 -06:00
h2zero
725807b619
Resync to arduino master
2020-04-23 15:17:09 -06:00
h2zero
74ba03e3a8
Add CMakeLists.txt.
...
Fix compilation in strict enviroments.
Fix compliation in IDF v4.0.
2020-03-31 20:16:27 -06:00
h2zero
5d4332e945
Initial commit.
2020-03-29 17:44:20 -06:00