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

Peripheral device: non-connectable advertisement while in a connected state

I want my peripheral device to act as a beacon while it is in a connected state with a master device. Is it possible to start not-connectable advertising in parallel with maintaining connected state with a central device without disconnecting it? Are there any references or examples on how to implement this functionality? Thanks!

Parents
  • This is allowed in the S110 stack (at least from v7.0 and later). You simply have to reset the Advertising Data to Non-connectable and start advertising. Its quite simple to set up.

    ble_gap_adv_params_t * adv_params

    adv_params->type = BLE_GAP_ADV_TYPE_ADV_NONCONN_IND

    However just make sure on Disconnect you trigger to set Advertising to Connectable or else you essentially Connect Brick the peripheral

Reply
  • This is allowed in the S110 stack (at least from v7.0 and later). You simply have to reset the Advertising Data to Non-connectable and start advertising. Its quite simple to set up.

    ble_gap_adv_params_t * adv_params

    adv_params->type = BLE_GAP_ADV_TYPE_ADV_NONCONN_IND

    However just make sure on Disconnect you trigger to set Advertising to Connectable or else you essentially Connect Brick the peripheral

Children
No Data
Related