Re: Issue connecting laptop and RPi via 6LoWPAN over BLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Group,
    My earlier issue of getting 0x12 error got solved after upgrading
my kernel version to "5.11.13-051113-generic" on my ubuntu laptop, but
 bt0 doesn't seem to be established. unable to figure out what could
be the issue here.

Following are the commands i have run with no errors (even no logs in dmesg)

#modprobe bluetooth_6lowpan
#echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
#echo "connect RPi4B_BD_Address 1 " >
/sys/kernel/debug/bluetooth/6lowpan_control

but bt0 is not created when checked ifconfig -a

btmon log is as below:
"
< HCI Command: Unknown (0x08|0x0041) plen 8

                                           [hci0] 143.040756
        00 01 01 00 60 00 60 00                          ....`.`.
> HCI Event: Command Complete (0x0e) plen 4                                                                                                                                              [hci0] 143.155668
      Unknown (0x08|0x0041) ncmd 1
        Status: Success (0x00)
< HCI Command: Unknown (0x08|0x0042) plen 6

                                           [hci0] 143.155720
        01 01 00 00 00 00                                ......
> HCI Event: Command Complete (0x0e) plen 4                                                                                                                                              [hci0] 143.157661
      Unknown (0x08|0x0042) ncmd 2
        Status: Success (0x00)
< HCI Command: Unknown (0x08|0x0042) plen 6

                                           [hci0] 183.177988
        00 00 00 00 00 00                                ......
> HCI Event: Command Complete (0x0e) plen 4                                                                                                                                              [hci0] 183.345709
      Unknown (0x08|0x0042) ncmd 2
        Status: Success (0x00)
"

On Mon, Apr 12, 2021 at 4:41 PM nagesh shamnur <nagesh.shamnur@xxxxxxxxx> wrote:
>
> Hi Group,
>      I am trying to establish a 6LowPAN over BLE connection between my
> Ubuntu Laptop and Raspberry Pi 4B. Laptop is running Ubuntu
> 5.8.0-48-generic #54~20.04.1-Ubuntu and my RPi is running custom
> yocto-based Linux distro with kernel version 5.4.x version.
>
> I am facing an error of 0x12 when trying to establish to Rpi from the
> laptop as below:
>
> root@root1-Nitro-AN515-55:/home/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:/home/root1# echo 1 >
> /sys/kernel/debug/bluetooth/6lowpan_enable
> root@root1-Nitro-AN515-55:/home/root1# dmesg
> root@root1-Nitro-AN515-55:/home/root1# echo "connect DC:A6:32:F2:CB:46
> 1" > /sys/kernel/debug/bluetooth/6lowpan_control runn
> root@root1-Nitro-AN515-55:/home/root1# dmesg
> [239155.542994] Bluetooth: hci0: request failed to create LE
> connection: status 0x12
>
> Running btmon in another shell resulted in the following log as attached.
>
> Additional Info: using bluetoothctl between my Laptop and RPi s
> successful but 6LowPAN is unable to go through.
>
> Any missing from my end?
>
> Thanks,
> Nagesh.



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux