ble_gap_adv_stop

int
ble_gap_adv_stop(void)

Description

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.

Parameters

None

Returned values

ValueCondition
0Success.
BLE_HS_EALREADYThere is no active advertising procedure.
Core return codeUnexpected error.