Open Citrullin opened 4 years ago
I guess @haukepetersen could be familiar with this. Haven't tried it with other radios yet.
@haukepetersen @miri64 The goal of it is basically to use BLE instead of slip or something else. I am not sure, if this is even possible. I guess the header compression in linux is still missing and therefore it is not able to understand the header. But I am not that familiar with the status of it.
@haukepetersen @miri64 The goal of it is basically to use BLE instead of slip or something else. I am not sure, if this is even possible. I guess the header compression in linux is still missing and therefore it is not able to understand the header. But I am not that familiar with the status of it.
Have you the 6LoWPAN module loaded? Header compression should be possible with that. Most of what can be found in the nordic_softdevice_ble
regarding enabling BLE should still be correct.
@haukepetersen @miri64 The goal of it is basically to use BLE instead of slip or something else. I am not sure, if this is even possible. I guess the header compression in linux is still missing and therefore it is not able to understand the header. But I am not that familiar with the status of it.
Have you the 6LoWPAN module loaded? Header compression should be possible with that. Most of what can be found in the
nordic_softdevice_ble
regarding enabling BLE should still be correct.
Yes.
modprobe bluetooth_6lowpan
echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
In openwrt it was a bit different, as a I remember. Yes, but the connection changed. It's not 1 anymore. The last time I checked you needed to connect it with 2. But I don't have an idea what the difference is. Okay, then there is only the adding the IP address issue in RIOT. Hopefully it works then. :)
Which one is the router? For Linux as the router you need to install and run radvd to advertise the global prefix. See https://github.com/RIOT-Makers/wpan-raspbian/wiki/Setup-native-6LoWPAN-router-using-Raspbian-and-RADVD.
Which one is the router? For Linux as the router you need to install and run radvd to advertise the global prefix. See https://github.com/RIOT-Makers/wpan-raspbian/wiki/Setup-native-6LoWPAN-router-using-Raspbian-and-RADVD.
The Acher C7 (OpenWRT) is the router. It's already in OpenWRT. I don't think they use radvd for router advertisements.
I don't think they use radvd for router advertisements.
OpenWRT uses the odhcpd
as the default router advertisement daemon, afaik. At least mine does.
@Citrullin I am not 100% but I have an assumption where this might be coming from: in the default configuration, one can only set I think 1 additional address per interface. So when you add the first ULA, that memory spot is taken and the netif will not accept any additional addresses. But whats strange is, that ifconfig
should actually respond with an error message if that would be the case.
@miri64 could you quickly remind us what the config value is to increase the number of addresses per interface? Thx
Aside from that I don't have much experience connecting RIOT BLE nodes to Linux, thats something somewhere on my TODO list to explore this a little further...
@miri64 could you quickly remind us what the config value is to increase the number of addresses per interface? Thx
https://doc.riot-os.org/group__net__gnrc__netif__conf.html#ga366596e311b4a450887a1a180ae66fb3 Depending on the network and the address desired to be added, one might also need to increase the number of multicast groups https://doc.riot-os.org/group__net__gnrc__netif__conf.html#ga5dec745d3d45a5bdd2363120680b102e
Description
Not sure, if this is a bug or if I just configured it not correct. I already wrote an email, but I guess this setup is a bit too complicated for an email. Fritzbox cable acts as a Modem (bridge mode) and is connected to an Archer C7 v2. The Archer acts as the main router to the internet. The router gets an /56 range via prefix delegation. I compiled a fresh OpenWRT (v19.07.1) with all necessary 6lowpan_bluetooth modules. The Archer C7 uses a BLE USB Stick. After connecting the nrf52832 device to the router, I tried to add a global and ULA address to the interface. The issue also happens when Bluetooth is not connected.
and
Both don't work and the shell is not responding. Instead I can just execute the next command. After checking the interface with ifconfig again, the interface still has only the link local address.
The configured interface in OpenWRT looks like this and this.
Steps to reproduce the issue
ble info
on the RIOT shell.You should be able to reach the device. If not, something went already wrong.
2aaa:8aaa:baaa:b700::1/60
or2aaa:8aaa:baaa:b700::1/64
Give the nrf52 the suffix ::2. In this case:The same doesn't work the configured ULA:
You need to get the ID of your interface first with
ifconfig
. In this case 9.Expected results
A configured network interface with the ULA and global address. or Error message
Actual results
No response from the shell
Versions
OpenWRT 19.07.1 Compiles and flashed RIOT on commit c310bfbf75928339b308f310dce682412e4ca9a9