Commit Graph

5 Commits

Author SHA1 Message Date
Ayke van Laethem
b568c93250
all: add support for sending notifications
This is done by enabling the Notify permission and writing to the
characteristics: writes will automatically notify connected centrals.
2020-06-03 19:42:21 +02:00
Ayke van Laethem
6e4cf6f8e0
gatts: implement write event for characteristics 2019-11-09 13:55:34 +01:00
Ayke van Laethem
62131e4c55
Allow setting permission flags on characteristics 2019-11-09 13:02:58 +01:00
Ayke van Laethem
6553fe682d
Split characteristic in config and handle
This allows setting up a characteristic with many properties but avoids
needing to keep the memory of that around (in Go) when the
characteristic is needed at a later time. Instead, only a handle
(currently 16 bits) is kept around to reference to the characteristic.
2019-11-09 12:26:06 +01:00
Ayke van Laethem
0cabe28570
Initial commit 2019-11-08 10:58:02 +01:00