0087e0549b
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. |
||
---|---|---|
.. | ||
advertisement | ||
circuitplay | ||
connparams | ||
discover | ||
heartrate | ||
heartrate-monitor | ||
ledcolor | ||
nusclient | ||
nusserver | ||
scanner | ||
stop-advertisement | ||
tinyscan |