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

S110 role switching

Is possible to put S110 in observer role (as peripheral) , waiting for a specific advertising (or waiting for an active scanning) and then switch to advertiser role (always as peripheral) ?

Thank all.

Update : Nordic has released S130 softdevice.

Parents
  • If the aim is to connect to a specific Central device, with which you have already bonded, you should look into whitelisting. This is the exact functionality this offers. For an example of how this can be implemented, I'd recommend you to take a look on the ble_app_proximity. It uses a bond manager API function to get a whitelist, which it then uses when advertising.

    The S110 can do the Peripheral and Broadcaster roles only, and can not behave as an Observer. Also, an Observer would not normally be able to see other Central devices, so I'm not sure how useful that would have been.

  • No, this isn't possible with the S110, and not actually with any BLE Peripheral or Central device as far as I can see.

    You have to be advertising to be able to receive a connection request, since a Peripheral will only listen for packets right after having sent an advertisement. Also, a Scanner will not send any packets but only listen passively if it doesn't first receive any advertisement packages, so unfortunately I don't see how your suggested scheme could work with any BLE device.

Reply
  • No, this isn't possible with the S110, and not actually with any BLE Peripheral or Central device as far as I can see.

    You have to be advertising to be able to receive a connection request, since a Peripheral will only listen for packets right after having sent an advertisement. Also, a Scanner will not send any packets but only listen passively if it doesn't first receive any advertisement packages, so unfortunately I don't see how your suggested scheme could work with any BLE device.

Children
No Data
Related