This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IPv6 Compatible BLE dongle

FormerMember
FormerMember

I just started trying to get an IOT IPv6 application up and running. On the nrf51882 end, I have flashed the IPv6 COAP server. The LED on the device is happily flashing away, so it could be working. The next step is to set up the Linux end.

I'm using Ubuntu 15.04 which has the necessary modules 6lowpan and bluetooth_6lowpan. I believe I have set everything up correctly. One point troubles me:

In the directory

/sys/kernel/debug/bluetooth

I can see 6lowpan_control and 6lowpan_enable. I can't see the 6lowpan_psm file, which means the echo 35 > .... Command always fails. When I say fails, a permission denied error message appears regardless of using sudo or sudo us. I've tried different BLE dongles, with the same result. I have also read that a BLE dongle with a Broadcom chipset is necessary. I have ordered a Broadcom based dongle just to check this out. Hopefully I will receive it in the next couple of days.

Parents
  • Hi!

    I'm using LEDE for TP-Link TL-WR1043ND v4, latest version, running:

    Linux version 4.4.71 ([email protected]) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Wed Jun 7 19:24:41 2017
    

    I try to connect in every way, but can't.

    root@LEDE:~# echo "connect 00:46:5C:46:3D:11 1" > /sys/kernel/debug/bluetooth/6l
    owpan_control
    -ash: write error: Connection refused
    

    Here's leinfo:

    root@LEDE:~# hcitool leinfo 00:46:5C:46:3D:11
    Requesting information ...
            Handle: 18432 (0x4800)
            LMP Version: 4.2 (0x8) LMP Subversion: 0x6f
            Manufacturer: Nordic Semiconductor ASA (89)
            Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    

    But!!!

    root@LEDE:~# hcitool lecc 00:46:5C:46:3D:11
    Connection handle 18432
    root@LEDE:~# hcitool con
    Connections:
    root@LEDE:~#
    

    Can you help me please?

Reply
  • Hi!

    I'm using LEDE for TP-Link TL-WR1043ND v4, latest version, running:

    Linux version 4.4.71 ([email protected]) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Wed Jun 7 19:24:41 2017
    

    I try to connect in every way, but can't.

    root@LEDE:~# echo "connect 00:46:5C:46:3D:11 1" > /sys/kernel/debug/bluetooth/6l
    owpan_control
    -ash: write error: Connection refused
    

    Here's leinfo:

    root@LEDE:~# hcitool leinfo 00:46:5C:46:3D:11
    Requesting information ...
            Handle: 18432 (0x4800)
            LMP Version: 4.2 (0x8) LMP Subversion: 0x6f
            Manufacturer: Nordic Semiconductor ASA (89)
            Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    

    But!!!

    root@LEDE:~# hcitool lecc 00:46:5C:46:3D:11
    Connection handle 18432
    root@LEDE:~# hcitool con
    Connections:
    root@LEDE:~#
    

    Can you help me please?

Children
No Data
Related