3 ms·
I haven't touched BLE in a while, so maybe I don't understand exactly what you're looking for. But I think it can be done by having the devices change their adv
by HeyLaughingBoy 1y ago
I haven't touched BLE in a while, so maybe I don't understand exactly what you're looking for. But I think it can be done by having the devices change their advertising data to indicate that they need service. The background service could listen (passively, no scan needed) to advertising data and only after it sees that a device needs to be updated, connect to it and do the update.
Putting "live" data into the advertising packet used to be a way for BLE fitness devices to be active in a Group Fitness environment where scanning and connecting to 30+ devices is not feasible. I think that BLE 5 has a better way of doing that now.
- jononor 1y agoYep, the advertising packets can be used for things like this. And frequently are in IoT settings. Typically by using the AD type Manufacturer Specific (0xFF). BLE 5.x makes it possible to have many more bytes of advertisement data, including longer packets and chains of packets. Otherwise the mechanisms stayed the same as in 4.x. Which is good, as BLE 4.x only hardware/software is still around...
- deleted 1y ago[deleted]