-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Description
I'm using:
- Ubuntu 21.10
- a nice!nano v2
- west v0.12.0 (installed via pip)
After "flashing" the nice!nano with the drag&drop method with an a priori valid UF2 (see below), I can see the nice!nano with the correct label in the Bluetooth devices list. But when trying to connect with btdevice
, I get this error :
$ btdevice -c QAZ
Connecting to: QAZ
Error: GDBus.Error:org.bluez.Error.AuthenticationFailed: Authentication Failed
Other attempt, this time with gatttool:
$ sudo gatttool -t random -b DD:F8:C9:79:79:25 -I
[DD:F8:C9:79:79:25][LE]> connect
Attempting to connect to DD:F8:C9:79:79:25
Connection successful
[DD:F8:C9:79:79:25][LE]>
(gatttool:4142): GLib-WARNING **: 11:26:15.134: Invalid file descriptor.
[DD:F8:C9:79:79:25][LE]>
In this case, the connection is announced as "successful", but it doesn't seem to do anything.
Any idea what's causing this?
Additional notes:
This problem arises regardless of how the UF2 is produced (GitHub Actions or local build with west) and no error has ever arisen when compiling with this command : $ west build -p -b nice_nano -- -DSHIELD=qaz