Commit graph

6 commits

Author SHA1 Message Date
Ayke van Laethem
96a2be1571 Add //go:build lines for Go 1.18
This will be needed eventually, so add them now already.
2022-04-19 11:00:08 +02:00
James Lawrence
d985dcb55c fixes bluez 0.55 service registration.
muka/go-bluetooth does some magic so you can use short UUIDs and it'll auto
expand them to the full 128 bit uuid. setting these flags disables that behavior.

related issues:
- allows updating muka library to resolve https://github.com/tinygo-org/bluetooth/issues/35
- fixes the regression the upgrade caused https://github.com/tinygo-org/bluetooth/issues/46
- commit causing the regression in upstream 1c4c1c8613
2021-09-03 15:05:44 +02:00
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
37eb64b519
linux: implement local characteristics 2020-06-02 23:57:51 +02:00
Ayke van Laethem
44147f2a86
Add Go module support
This also updates the muka/go-bluetooth package (which required a few
changes).
2020-05-25 00:10:28 +02:00
Ayke van Laethem
00e2592aff linux: add support for services
Unfortunately, I couldn't get characteristics to work.
2019-11-16 19:11:59 +00:00