Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6LoWPAN over BLE: Device not pingable #11147

Closed
Citrullin opened this issue Mar 8, 2019 · 8 comments
Closed

6LoWPAN over BLE: Device not pingable #11147

Citrullin opened this issue Mar 8, 2019 · 8 comments
Assignees
Labels
Area: BLE Area: Bluetooth Low Energy support Area: network Area: Networking Area: pkg Area: External package ports Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Comments

@Citrullin
Copy link
Contributor

Citrullin commented Mar 8, 2019

Description

I am not able to ping my device with 6LoWPAN on BLE from my linux machine.
Possible issue: As @miri64 mentioned in an issue, the header compression might be the issue. So, I added USEMODULE += gnrc_sixlowpan_iphc to my Makefile.

Steps to reproduce the issue

  1. Since gnrc networking with BLE does not work at the moment. You need to checkout the commit 60008cb.
  2. Flash the gnrc_networking example
  3. Follow the 6LoWPAN BLE guide
  4. The ping ping6 [DEVICE_LOCAL_ADDRESS]%bt0 responds with address unreachable.
    In my case:
    From fe80::1a:7dff:feda:7113%bt0 icmp_seq=1 Destination unreachable: Address unreachable

Expected results

Device to be pinagble.

Actual results

The device doesn't respond on pings.

Versions

Linux kernel

4.15.0-45-generic

Distro

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic
Installed compiler toolchains 
-----------------------------
             native gcc: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
                avr-gcc: missing
       mips-mti-elf-gcc: missing
             msp430-gcc: missing
   riscv-none-embed-gcc: missing
                  clang: missing

Installed compiler libs
-----------------------
   arm-none-eabi-newlib: "3.0.0"
    mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
               avr-libc: missing (missing)

Installed development tools
---------------------------
                  cmake: cmake version 3.13.3
               cppcheck: missing
                doxygen: missing
                 flake8: missing
                    git: git version 2.17.1
             coccinelle: missing
@miri64
Copy link
Member

miri64 commented Mar 8, 2019

Can you also post the OS version you are using? Given that the Nordic Softdevice only works with certain kernel versions this is kind of important.

@miri64 miri64 added Area: network Area: Networking Area: BLE Area: Bluetooth Low Energy support labels Mar 8, 2019
@miri64
Copy link
Member

miri64 commented Mar 8, 2019

Possible issue: As @miri64 mentioned in an issue, the header compression might be the issue. So, I added USEMODULE += gnrc_sixlowpan_iphc to my Makefile.

As you are using gnrc_networking (which includes gnrc_sixlowpan_iphc) and the referenced issue is about gnrc_minimal (which does not include it), I highly doubt that.

@miri64 miri64 added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Mar 8, 2019
@Citrullin
Copy link
Contributor Author

Can you also post the OS version you are using? Given that the Nordic Softdevice only works with certain kernel versions this is kind of important.

"but newer kernel versions than 4.12 definitely don't work"
Shit... Thanks.

@miri64 miri64 added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation and removed Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Mar 8, 2019
@miri64
Copy link
Member

miri64 commented Mar 8, 2019

@haukepetersen is currently working on a GNRC-integration for nimBLE which should be ready soon™, so the boards currently using the softdevices could hopefully use nimBLE in the future instead. Alternatively, (if possible) the softdevice needs to be ported to a newer version.

@Citrullin
Copy link
Contributor Author

@miri64 I would be really happy with nimBLE. I always prefer the open source solution. So does that mean @haukepetersen is implementing the IPSP characteristics for Bluetooth in nimBLE?

@miri64 miri64 added the Area: pkg Area: External package ports label Mar 8, 2019
@Citrullin
Copy link
Contributor Author

Citrullin commented Mar 9, 2019

@miri64
Kernel version 4.12 does not work.

4.12.14-041214-generic

and same distro

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic

But 4.10 works fine. :)

@haukepetersen
Copy link
Contributor

@haukepetersen is implementing the IPSP characteristics for Bluetooth in nimBLE?

Yes, thats exactly what I am doing right now. PR should be coming up 2nd week of April (I am on holiday next week...).

@miri64
Copy link
Member

miri64 commented Mar 28, 2019

As #10816 was merged now, I think we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BLE Area: Bluetooth Low Energy support Area: network Area: Networking Area: pkg Area: External package ports Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

No branches or pull requests

4 participants