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

multilink uart peripheral - how to choose which to connect

I am using an example from Nordic that enables a central to connect to several peripherals via UART. The connection is automatic (the key is if they all share the same NRF_UART UUID). There is an indication of which peripheral was connected, but there is no indication which was disconnected. Only a general indication that some peripheral did (one or more)

I want to change the automatic selection to less strict way:

The central will scan the area and list all the peripherals 

The central will have a white list (MACID) and connect to each peripheral that is within that list

A flag of connection or disconnection will be set

Is it possible to modify the current multilink uart example? 

Related