using 6LBR (BLE-BorderRouter) to forward udp packets to other 6LN(BLE-Nodes)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using 6LBR (BLE-BorderRouter) to forward udp packets to other 6LN(BLE-Nodes)

877 Views
steffenjahnkepa
Contributor III

Hello,

im currently using three FRDM-KW41Z Boards from NXP. One of them as a Border Router (6LBR - ipv6Router) and the other two as simple BLE-Nodes (6LN - ipv6Node). Now im trying to send some data with the udp sockets implementation via the BorderRouter (6LBR) from BLE-Node1(6LN) to BLE-Node2(6LN). But i only can open a udp socket between one of the Nodes and the Border Route. I think the main Problem is, that the two Nodes has exaktly the same Global Address if i check this with ifconfig. Any Ideas how to solve this Problem? 

Labels (2)
Tags (4)
0 Kudos
2 Replies

485 Views
steffenjahnkepa
Contributor III

Hello estephania_martinez

I think the problem is not the socket. It is the same if I'm trying to switch the led on/off with  coap CON POST 2001:db8::260:37ff:fe00:c /led on/off on COAP. I guess the problem is, that both nodes have exact the same address, so the router can not distinguish between both nodes. And i have no idea why both nodes have the same address!?

Here you can see the output from the shell after ifconfig:

Router:

BLE IPv6 Router>ifconfig

Interface 0: 6LoBLE

Link local address (LL64): fe80::260:37ff:fe00:c

Global address: 2001:db8::260:37ff:fe00:c

Node1:

BLE IPv6 Node>ifconfig

Interface 0: 6LoBLE

Link local address (LL64): fe80::260:37ff:fe00:b

Global address: 2001:db8::260:37ff:fe00:b

Node2:

BLE IPv6 Node>ifconfig

Interface 0: 6LoBLE

Link local address (LL64): fe80::260:37ff:fe00:b

Global address: 2001:db8::260:37ff:fe00:b

I'm using the SDK_2.2_FRDM-KW41Z with the SDK-Examples wireless examples > bluetoth > ipv6_node and wireless examples > bluetoth > ipv6_router.

Thanks!

Best Regards

0 Kudos

485 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Could you please check this other thread that tell how to implement another socket. 

Best Regards, 

Estephania 

0 Kudos