-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bluetooth.btcommon.BluetoothError: [Errno 14] Bad address #200
Comments
Do you have more details? What’s your program? What parameters did you use? Does Can you run |
This is my program
bluetoothctl connects to brick, then after a few seconds it disconnects :
output of
While that is running, bluetoothctl reports that it connects, then immediatly disconnects:
NOTE: Those are not the real MAC addresses, I replaced them with that random one. |
Does your address starts with 00:16:53? Make sure there is no NXT-Python program still running in the background (reboot if not sure). Here is what I do to make it work:
Now I can run a nxt-python script using the 00:16:53:AA:BB:CC address. If I keep bluetoothctl open, during the script run, I can see:
So this part is normal. If it does not work, try to remove the NXT from known devices and start again. |
I did the steps and got the same exact error |
There is an open ticket about this: pybluez/pybluez#473 Could you do this test, replacing the address with your NXT address:
Thanks. |
There is another option, using the devfile backend:
|
|
rfcomm doesn't work, it just hangs until i kill it :
tio just connects and disconnects:
|
Hey, Booting my arch linux install and installing python-nxt via |
Locking at the strace output, the connection failed with EACCES (Permission denied)… so there is something forbidding the connection. You can try with the btsocket branch (see #199), but I think the result will be the same. Thank you very much for your tests results. If you can find what is blocking on the Fedora install, this would make an interesting addition to the manual. Maybe there is something interesting in the machine log files. |
Actually, on pybluez/pybluez#473, the reporter said that it works using direct sockets, so testing with the btsocket branch could be interesting too. Thanks. |
@Zackariyya could you look at Fedora log files to see if there is some useful information there? Did you had the opportunity to try the btsocket branch? |
The text was updated successfully, but these errors were encountered: