nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Connectivity scenarios

The IETF draft Transmission of IPv6 Packets over Bluetooth Low Energy defines how IPv6 packets are transmitted over BLE.

RFC 6775 defines 6LoWPAN terminology, which is applicable to Bluetooth low energy as well. The RFC distinguishes three types of 6LoWPAN devices with respect to interconnectivity and internet connectivity:

  • 6LoWPAN border router (6LBR)

    A border router located at the junction of separate 6LoWPAN networks or between a 6LoWPAN (here BLE) network and another IP network, connecting isolated 6LoWPAN networks to a wider IP network or, typically, to the internet.

    For Bluetooth low energy, the master is assigned the role of a 6LoWPAN border router.

  • 6LoWPAN router (6LR)

    An intermediate router in the 6LoWPAN network that can send and receive Router Advertisement (RA) messages and Router Solicitation (RS) message and forward and route IPv6 packets. This router does not participate in an IP network outside of the 6LoWPAN network. Therefore, it has limited routing capability.

    Bluetooth low energy supports a star topology, therefore this role is not used here. There could be BLE devices that serve as master and slave at the same time, but how these devices should route or behave has not been defined in the current IETF draft and is therefore not part of the standard.

  • 6LoWPAN node (6LN)

    A host or router participating in a 6LoWPAN network that is not required to forward any packets.

    Devices that connect as peripheral devices to a master are defined to be 6LoWPAN nodes by the IETF draft.

Figure 1 shows the star topology of a typical isolated BLE 6LoWPAN network.

IoT_overview_network.svg
Figure 1. BLE 6LoWPAN network

Figure 2 shows a typical use case, which connects an isolated BLE 6LoWPAN network to the internet.

IoT_overview_abstraction.svg
Figure 2. BLE 6LoWPAN network connected to the internet through a border router

Figure 3 is a more concrete depiction of the network in Figure 2. The nRF51 IoT SDK provides necessary modules to implement the 6LoWPAN node role on nRF51 devices. The 6LoWPAN border router role is filled by a Linux system that supports 6LoWPAN and runs a BLE 6LoWPAN router implementation as described in Distributing a global IPv6 prefix. For example, this can be a Raspberry Pi.

IoT_overview_hw.svg
Figure 3. Concrete example of a BLE 6LoWPAN network with border router as implemented with the nRF51 IoT SDK