Repository navigation
Replies: 1 comment 1 reply
|
Hi @niallp,
Unfortunately that's inherently part of Bluetooth Low Energy (BLE). BLE doesn't use pairing, as the oldder Bluetooth standards did, instead devices emit a beacon on regular intervals, and your computer's Bluetooth stack (usually) can't being communicating until it receives that beacon. Manufacturers choose their device's beacon rate (also known as "advertising interval") to balance discovery speed against battery consumption. I don't know exactly what the Pokit device's advertising interval is, but it seems to be somewhere around 30 to 60 seconds. So, if you happen start the To help verify that this is where the time is being spent, try running the command with
Probably not. Though I do get the impression, that if I click the button on the Pokit Pro, it seems to emit it's beacon quicker. But I haven't tested that - it's just an impression I've formed (when impatiently pressing it to test code changes 😅).
Yep. You're probably already aware, but just in case, you can override that with the BTW, what OS are you on? All OS's have slightly different Bluetooth stack behaviours, I might be able to suggest other tips specific to the OS, in conjunction with the Cheers. |
Uh oh!
There was an error while loading. Please reload this page.
Just trying this out (built from latest, 0.6.1-pre) and
and it takes about 15 seconds before any data shows up (and samples come at default 1 Hz) ... it seems to be spending most of the time looking for the Pokit, are there any ways to get it more responsive ?
Thx.
All reactions