-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Can not make multiple BLE IPSP connection to the same host #29684
Comments
@Vudentz any comments for the issue? or any walk around to make this 1:n connection works? Thanks! |
Well the nodes still only have 1 connection so Im afraid your problem is actually on the Linux side which acts as the router, if I recall correctly there was a problem with the address resolution on the Linux side but I though we had it fixed some time ago but perhaps not in the kernel you are using. |
Thanks for this info, so may I know which version of the kernel fixed this issue? or can I have that patch to make it works on current kernel(4.19.97)? I tried to upgrade to latest RPI OS which has newer kernel but it will have the #29683 issue... |
@hguomin8 could you please report this to the Linux BlueZ mailing list, since this looks like a BlueZ issue? I will close this issue but feel free to reopen it if you find out this to be a Zephyr issue instead. |
@vcgomes I am not sure where the issue would be, because I am not a expert in linux kernel side, so could you please help to forward this issue to them and check if they can help or not? And I just found somebody had post similar issue almost 3 years ago in nordic semi devzone: https://devzone.nordicsemi.com/f/nordic-q-a/34042/multi-connection-of-ble-6lowpan-border-router, I know you are firmware developer from Nordic Semi, appreciate if you can help to find some resources from kernel or nrf team to make it fixed...much thanks. |
@carlescufi I do more tests with "tcpdump -i bt0" for this issue at the weekend, it looks like the issue come from zephyr but not Bluez, please check below. IPv6 address for each devices:
Connect node1 with 'echo "connect F2:F0:01:C6:C1:2E 2" > /sys/kernel/debug/bluetooth/6lowpan_control', ping from node1 to rpi works fine: and ping from rpi to node1 also works fine: Keep the ping from rpi to node1 running, then connect node2 with 'echo "connect C3:87:EC:E8:E7:9A 2" > /sys/kernel/debug/bluetooth/6lowpan_control', at this time rpi is keep sending ping but didn't get any reply from node1: at this point ping from rpi to node1 or node2, rpi is keep sending ping message, but didn't get any reply from node1/node2 Although can't ping each other with global ipv6 address, but it's ok to ping with the link local address: So it looks like the some issues from zephyr, could you please help to check it again? thanks. |
I am using a RPI 3B+ running Raspberry OS(Kernel 4.19.97) as gateway, and two nrf52840_mdk board as ble ipsp nodes running Zephyr v2.3.0, each of above devices' static ipv6 address is as below:
the IPSP sample code is used as ipsp nodes program.
the issue is that, when I only connect any of 1 ipsp node with RPI, the ipsp connection work fine, then after connect the other one ipsp node to RPI at the same time, both of connections between ipsp node and RPI will lost.
My questions is that, why the ble ipsp can only make 1:1 connection? but not works in 1:n connection scenarios? and how to implement 1:n connection? is it a bug?
Thanks.
The text was updated successfully, but these errors were encountered: