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

point to multipoint with UART (multilink on the S120)

I'm interested in using BT LE to collect data from a number of serial based devices -- a point-to-multipoint configuration. I'm familiar with the UART examples and have seen the multilink example.

The "devices" would be connected to a BT "remote" via the UART (+ level shifter etc), any serial traffic needs to be sent over the BT LE link to a single master BT device connected to a PC which can read the data (probably via the UART again).

However, I'm not 100% sure of the model, maybe it's just the terminology. In the multipoint example, there is a central (Softdevice 120) and peripheral (Softdevice 110). The central connects to the peripheral(s) to collect data, which is the opposite to how I need it to work (or is this just convention and can either end initiate the xfer?).

Finally, what are the limitations, I think the multipoint allows up to 8 simultaneous connections, can I have more "parked" connections? i.e. how many device+BTLE "remotes" combinations can I associate with a single BT LE master? (even if only 8 can communicate concurrently).

Thanks!

Parents
  • In the SDK, I found a set of multilink app examples in Board/nrf6310/s120/experimental for both central and peripheral. It looks like this is exactly what I need, except that I need to (as Ole suggests):

    1. Configure the peripherals to only advertise when they have data to send (or to change the advertisement payload to indicate how much data is available)
    2. disconnect each peripheral after they are done with the data transfer

    Presumably, if I want to "ping" a peripheral outside of when the peripheral has data to send, I can simply make a direct connection to it? Or does the peripheral have to always be advertising ...

  • It is not possible to establish a BLE connection if the Peripheral is not advertising. If you want such pinging, I suggest that you make your Peripherals start advertising periodically, no matter if they have data to send or not. You could also keep them always advertising, but just change a field in the advertising data when they have new data to transmit. In the latter way, the Central would always be able to see them, but can choose to not connect if there isn't new data.

Reply
  • It is not possible to establish a BLE connection if the Peripheral is not advertising. If you want such pinging, I suggest that you make your Peripherals start advertising periodically, no matter if they have data to send or not. You could also keep them always advertising, but just change a field in the advertising data when they have new data to transmit. In the latter way, the Central would always be able to see them, but can choose to not connect if there isn't new data.

Children
No Data
Related