This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

advertising during connection [SDK12 S132 nRF52]

hi all!

if I restarting advertising with BLE_GAP_ADV_TYPE_ADV_NONCONN_IND during CONNECTION occur sd_ble_gap_adv_start(..) returns error = 0x07 (NRF_ERROR_INVALID_PARAM)

if I restarting with any other during connection, it returns error=0x12 (NRF_ERROR_CONN_COUNT)

IS IT POSSIBLE to use Advertising during CONNECTION ?

Thanks!

Parents
  • Oleg,

    No it's not possible to use advertising during a connection unless you allow multiple simulations connections to your peripheral. The advertising state and connection state our mutually exclusive states.

    Darren

  • That's not correct. It is possible, and has been possible for many versions of the softdevice, to be in connection as a peripheral and advertise non-connectably. And non-connectable was what the original poster tried, however he must have another parameter wrong hence the error.

    it it not possible to be in connection and advertise connectably, but that wasn't what he was trying to do.

Reply
  • That's not correct. It is possible, and has been possible for many versions of the softdevice, to be in connection as a peripheral and advertise non-connectably. And non-connectable was what the original poster tried, however he must have another parameter wrong hence the error.

    it it not possible to be in connection and advertise connectably, but that wasn't what he was trying to do.

Children
No Data
Related