EV3 to Spike Prime Bluetooth #2234
Replies: 2 comments
-
|
@JorgePe, any ideas? |
Beta Was this translation helpful? Give feedback.
-
|
Lots of ideas but not so much results. I've been "documenting" my achievements here: https://github.com/JorgePe/EV3-Pybricks-Messaging (as usual it's not fully updated, I remember some minor tweaks I still need to add to the end of this page) Observing (i.e. read bluetooth BLE advertisements) is very demanding for the EV3, even with a decent USB BLE dongle (my best results were with a CSR chipset, its somewhat old and not so easy to find it these days). I did try "bluepy" somewhere in my attempts but I can't find anything about it in my notes. Probably because it is one of those libraries that are no longer mantained. I was about to give up when I found a custom ev3dev image with a more recent kernel and a more recent python. After compilling a more recent bluez I discovered that I could install "bleak" and that gave me some hope (last 6 or 7 years, whenever I google for something related to my own BLE problems, I always find some comment from David Lechner... ev3dev, bleak, pybricks... this man is everywhere :D ) But even "bleak" is evolving and I believe last versions will no longer be possible to use with ev3dev unless someone creates a new image. So my "ideas":
or... use something like a Raspberry Pi / Pico / ESP32 as a gateway (BLE to Wi-Fi or BLE to USB). You will sleep much better :D
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I just completed a fresh install of ev3dev. I'm attempting to install "bluepy". But getting all sorts of errors. My end goal is to read bluetooth advertisements from a LEGO Spike Prime device. Has anyone written code to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions