bluetooth/examples
Ayke van Laethem 0087e0549b all: change ManufacturerData from a map to a slice
This is a breaking change, but I believe it is necessary for
correctness. Because maps have an undefined iteration order, the actual
advertised packet could change each time which I think is a bad thing.
In addition to that, using a slice should be much more lightweight than
using a map.

I've also added some tests (that should have been there in the first
place) and added some manufacturer data to the advertisement example.

Furthermore, I've optimized the code that constructs manufacturer data
for raw advertisement payloads, it should now be entirely free of heap
allocations.
2024-02-21 12:39:24 +01:00
..
advertisement all: change ManufacturerData from a map to a slice 2024-02-21 12:39:24 +01:00
circuitplay all: use Device instead of Address in SetConnectHandler 2024-01-11 15:53:20 +01:00
connparams all: add RequestConnectionParams to request new connection parameters 2024-01-11 15:53:20 +01:00
discover all: make Device a value instead of a pointer 2024-01-11 15:53:20 +01:00
heartrate examples: use standard service and characteristic UUIDs 2021-02-02 00:17:38 +01:00
heartrate-monitor all: make Device a value instead of a pointer 2024-01-11 15:53:20 +01:00
ledcolor Include WriteWithoutResponse permission, for examples, where Write exists 2023-08-11 14:26:37 +02:00
nusclient examples: use standard service and characteristic UUIDs 2021-02-02 00:17:38 +01:00
nusserver examples: use standard service and characteristic UUIDs 2021-02-02 00:17:38 +01:00
scanner domain: use custom domain for go.mod and examples 2020-09-09 16:04:40 +02:00
stop-advertisement all: use Device instead of Address in SetConnectHandler 2024-01-11 15:53:20 +01:00
tinyscan examples: tinyscan to replace clue-scanner, also works on pyportal and pybadge+airlift 2024-02-01 08:58:59 +01:00