Open suoko opened 5 months ago
Also tried: sudo setcap 'cap_net_raw,cap_net_admin+eip' /home/user/.local/bin/bluepy_helper_cap scratch_link -r 2 -s 3
I found this node project which works https://github.com/zdila/scratch-link-ble-linux
What do you mean "works"? Last year I tried the zdila/scratch-link-ble-linux project with a WeDo 2.0 and all I managed to do was to connect and change the color of the led light. It was impossible to get the motor to work or a sensor to work. What did you manage to do? Pyscrlink works fine for me on Ubuntu 22.04
I'm trying connecting wedo 2.0 but have this error:
I started bluepy_helper_cap, I tried "hciconfig hci0 down" and "hciconfig hci0 up", I tried connecting the device with the OS BT pairing first (it does connect), I tried the dev version, but nothing
Can anybody suggest a solution ?
I got this when running with -d
Failed to execute management command 'le on' (code: 20, error: Permission Denied)
but can't run scratch_link with sudo. How do I give correct permissions ?