bluetooth – Unable to ascertain a 6LoWPAN over BLE connection between laptop computer and Raspberry Pi B

I'm making an attempt to ascertain a 6LowPAN over BLE connection between my Ubuntu Laptop computer and Raspberry Pi 4B. My laptop computer is working Ubuntu 5.8.0-48-generic #54~20.04.1-Ubuntu and my RPi is working a customized Yocto-based Linux distro with kernel model 5.4.x model.

I'm going through an error of 0x12 when making an attempt to ascertain to Rpi from the laptop computer:

root@root1-Nitro-AN515-55:/residence/root1# lsmod | grep 6low
bluetooth_6lowpan      28672  0
6lowpan                40960  8 nhc_fragment,nhc_dest,nhc_ipv6,bluetooth_6lowpan,nhc_hop,nhc_udp,nhc_mobility,nhc_routing
bluetooth             581632  31 btrtl,bluetooth_6lowpan,btintel,btbcm,bnep,btusb
root@root1-Nitro-AN515-55:/residence/root1# echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
root@root1-Nitro-AN515-55:/residence/root1# dmesg
root@root1-Nitro-AN515-55:/residence/root1# echo "join DC:A6:32:F2:CB:46 1" > /sys/kernel/debug/bluetooth/6lowpan_control runn
root@root1-Nitro-AN515-55:/residence/root1# dmesg
[239155.542994] Bluetooth: hci0: request didn't create LE connection: standing 0x12

btmon output:

root1@root1-Nitro-AN515-55:~$ sudo btmon
[sudo] password for root1: 
Bluetooth monitor ver 5.41
= Observe: Linux model 5.8.0-48-generic (x86_64)                                                                                                                                                   0.409503
= Observe: Bluetooth subsystem model 2.22                                                                                                                                                          0.409508
= New Index: 6C:6A:77:48:40:08 (Major,USB,hci0)                                                                                                                                          [hci0] 0.409510
= Open Index: 6C:6A:77:48:40:08                                                                                                                                                            [hci0] 0.409511
= Index Data: 6C:6A:77:48:40:08 (Intel Corp.)                                                                                                                                              [hci0] 0.409512
* Unknown packet (code 14 len 30)                                                                                                                                                                 0.409513
        01 00 00 00 02 00 01 11 00 01 00 00 00 10 62 6c  ..............bl
        75 65 74 6f 6f 74 68 64 00 00 00 00 00 00        uetoothd......  
* Unknown packet (code 14 len 30)                                                                                                                                                                 0.409544
        02 00 00 00 02 00 01 11 00 01 00 00 00 10 62 74  ..............bt
        6d 6f 6e 00 00 00 00 00 00 00 00 00 00 00        mon...........  
< HCI Command: Unknown (0x08|0x0039) plen 2                                                                                                                                                [hci0] 7.266205
        00 00                                            ..              
> HCI Occasion: Command Full (0x0e) plen 4                                                                                                                                                [hci0] 7.381757
      Unknown (0x08|0x0039) ncmd 2
        Standing: Success (0x00)
< HCI Command: Unknown (0x08|0x003c) plen 1                                                                                                                                                [hci0] 7.381822
        00                                               .               
> HCI Occasion: Command Full (0x0e) plen 4                                                                                                                                                [hci0] 7.382757
      Unknown (0x08|0x003c) ncmd 1
        Standing: Success (0x00)
< HCI Command: Unknown (0x08|0x0036) plen 25                                                                                                                                               [hci0] 7.382842
        00 15 00 00 00 00 00 00 00 07 00 01 46 cb f2 32  ............F..2
        a6 dc 00 7f 01 00 01 00 00                       .........       
> HCI Occasion: Command Full (0x0e) plen 5                                                                                                                                                [hci0] 7.383757
      Unknown (0x08|0x0036) ncmd 1
        Standing: Invalid HCI Command Parameters (0x12)
        01                                               .               
* Unknown packet (code 17 len 14)                                                                                                                                                          [hci0] 7.383849
        02 00 00 00 0d 00 46 cb f2 32 a6 dc 02 0d        ......F..2....  
* Unknown packet (code 17 len 14)                                                                                                                                                          [hci0] 7.383849
        01 00 00 00 0d 00 46 cb f2 32 a6 dc 02 0d        ......F..2....  
@ Join Failed: DC:A6:32:F2:CB:46 (2) standing 0x0d
< HCI Command: Unknown (0x08|0x0036) plen 25                                                                                                                                               [hci0] 7.416604
        00 12 00 00 08 00 00 08 00 07 01 00 00 00 00 00  ................
        00 00 00 7f 01 00 01 00 00                       .........       
> HCI Occasion: Command Full (0x0e) plen 5                                                                                                                                                [hci0] 7.417804
      Unknown (0x08|0x0036) ncmd 1
        Standing: Success (0x00)
        07                                               .               
< HCI Command: Unknown (0x08|0x0035) plen 7                                                                                                                                                [hci0] 7.417902
        00 09 0b eb 40 75 3e                             ....@u>         
> HCI Occasion: Command Full (0x0e) plen 4                                                                                                                                                [hci0] 7.418806
      Unknown (0x08|0x0035) ncmd 1
        Standing: Success (0x00)
< HCI Command: Unknown (0x08|0x0039) plen 6                                                                                                                                                [hci0] 7.418904
        01 01 00 00 00 00                                ......          
> HCI Occasion: Command Full (0x0e) plen 4                                                                                                                                                [hci0] 7.419727
      Unknown (0x08|0x0039) ncmd 2
        Standing: Success (0x00)
< HCI Command: Unknown (0x08|0x0042) plen 6                                                                                                                                                [hci0] 7.419804
        00 00 00 00 00 00                                ......          
> HCI Occasion: Command Full (0x0e) plen 4                                                                                                                                                [hci0] 7.422804
      Unknown (0x08|0x0042) ncmd 2
        Standing: Success (0x00)

Utilizing bluetoothctl between my laptop computer and RPi is profitable, however 6LowPAN is unable to undergo.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *