int ble_gap_adv_stop(void)
Stops the currently-active advertising procedure. A success return code indicates that advertising has been fully aborted; a new advertising procedure can be initiated immediately.
None
Value | Condition |
---|---|
0 | Success. |
BLE_HS_EALREADY | There is no active advertising procedure. |
Core return code | Unexpected error. |