This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

6LoWPAN over BLE dynamic connections

I want to set up a rPi3 as edge router for 6LowPAN over BLE. Ideally I would like to have random devices (users) come and go by dynamically connecting to the router. Same as you come back home with wifi enabled so your phone automatically connects to the network available. As explained here, one needs to establish a L2CAP channel before anything else in 6LowPAN. As I see it user has to broadcast connectable advertising so that router can connect to it and discover Internet Protocol Support Service. EDIT: I have seen this. Now, from BLE Specification I understand that device link layer has a state machine in which it can not be in both states at the same time (scanning, connection).

Here comes the question, how does a central device (edge router) detect new devices (advertisers) and maintain existing connections to it's nodes at the same time? Because from what I get know the network has to be set up once at the beginning and it can not be changed (nodes are static).

Related