rfcomm0 {bind no;device 00:11:22:33:44:55;channel 1;comment "Shearwater Petrel";}
[1.586049] ERROR: Failed to receive the response packet. [in shearwater_common.c:314 (shearwater_common_transfer)][1.586100] ERROR: Failed to read the serial number. [in shearwater_petrel.c:169 (shearwater_petrel_device_foreach)][1.586161] ERROR: In/ut-fel (5) [in serial_posix.c:655 (serial_write)][1.586175] ERROR: Failed to send the request packet. [in shearwater_common.c:297 (shearwater_common_transfer)][1.586189] ERROR: In/ut-fel (5) [in serial_posix.c:202 (serial_close)]
linus@guppy:~$ sudo rfcomm release 0linus@guppy:~$ sudo rfcommlinus@guppy:~$ sudo rfcomm connect 0Can't connect RFCOMM socket: Connection refused
Can't connect RFCOMM socket: Host is down
linus@guppy:~$ sudo rfcomm bind /dev/rfcomm0 00:13:43:0C:52:0Alinus@guppy:~$ sudo rfcomm
rfcomm0: 00:13:43:0C:52:0A channel 1 clean
Thank you. I'll try when I get back home from work.
Benjamin
How can one "reset" the bluetooth stack? Or should this be done automatically between system resets?
I'll look around for a dongle that does support LE... I've been trying with the dongle that came with my Petrel 2. It works using Shearwater Desktop in Windows on the same laptop, just not in Linux. The internal Bluetooth doesn't work with the Petrel 2 at all in Windows (Samsung and their Bluetooth garbage...), so I tend to keep it disabled both there and in Linux.
Benjamin