Hello everyone,
After using IPSP intiator and IPSP Acceptor BLE Examples on 2 different kits and connecting them through this profile, how do i send IPv6 packets between them?
Hello everyone,
After using IPSP intiator and IPSP Acceptor BLE Examples on 2 different kits and connecting them through this profile, how do i send IPv6 packets between them?
Hi,
IPSP is a support profile for bridging IPv6 and bluetooth LE. This requires a gateway/router to perform the translation from BT into IP via 6lowpan. If you connect two devices together, you are essentially creating a bluetooth connection (on L2CAP layer).
You can read more about the setup in the SDK documentation: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/iot_getting_started.html?cp=4_0_0_5_4
Kind regards,
Håkon
Hi,
IPSP is a support profile for bridging IPv6 and bluetooth LE. This requires a gateway/router to perform the translation from BT into IP via 6lowpan. If you connect two devices together, you are essentially creating a bluetooth connection (on L2CAP layer).
You can read more about the setup in the SDK documentation: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/iot_getting_started.html?cp=4_0_0_5_4
Kind regards,
Håkon
Can i use lwIP instead of 6lowpan?
I think you're mixing up the terms a bit.
lwIP (lightweight IP) is a IP stack implementation, while 6lowpan is a generic term for ipv6 low power wireless personal area networks.
The IPSP implementation on the host side (ie. PC/router linux side) will use a kernel module named bluetooth_6lowpan, which will then be routed through a dedicated ethernet interface normally named btX (where X is a number).
Kind regards,
Håkon
Well I got things mixed up in my question sorry, I meant if i had 2 kits connected through IPSP and both had an IPv6/lwIP stack will i should be able to send IPv6 packets between them, right?
The IPSP will communicate over the L2CAP layer in bluetooth LE, where as a normal BTLE application has a higher level interface (GATT/GAP).
Even if you connect two devices running IPSP together, they'll still talk bluetooth to each other, although the user payload may contain IP related commands, depending on the application itself. The translation into ipv6 is done by the PC side, where the bluetooth address is directly translated into a /64 delegated IPv6 prefix.
Kind regards,
Håkon