puckjs bleak python mac / read advertisements #4294
Replies: 1 comment
-
Posted at 2024-03-08 by @gfwilliams Try using the Espruino code from https://www.espruino.com/BLE+Advertising#python And then use:
(I'll update the above link with the Bleak example - previously it only included code for Python Bluepy). It should be pretty straightforward to modify it to output accelerometer data, but let me know if you have any issues Posted at 2024-03-08 by user155285 Thanks @gfwilliams, works great! Posted at 2024-03-08 by @gfwilliams Just use Posted at 2024-03-08 by user155285 I did: but still get the same result (or actually a tiny slower). I get a burst of 5 lines printed every second or so. Would I need to change something on the bleak side? Posted at 2024-03-11 by @gfwilliams You need:
It's meant to go in the second argument, not the third - then hopefully things will work better Posted at 2024-03-11 by @fanoush
and BTW, if you expect the Posted at 2024-03-11 by user155285 Thanks! here is the code:
Posted at 2024-03-13 by @gfwilliams Yes - looks like you're using
inside your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2024-03-07 by user155285
Hello,
is annoying out there managed to read accelerometer datas of the puckjs thru advertisement (manufacturer data) using the bleak python library?
I tried all the different tutorial on the subject but not luck :/
Beta Was this translation helpful? Give feedback.
All reactions