ble/Gap.h
ble_error_t startAdvertising(void) {
        ble_error_t rc;
        if ((rc = startAdvertising(_advParams)) == BLE_ERROR_NONE) {
            state.advertising = 1;
        }
        return rc;
    }
/**
     * Start advertising.
     *
     * @return BLE_ERROR_NONE if the device started advertising successfully.
     */
Start advertising.
@return BLE_ERROR_NONE if the device started advertising successfully.
Start advertising . @return BLE_ERROR_NONE if the device started advertising successfully .
ble_error_t startAdvertising(void) {
        ble_error_t rc;
        if ((rc = startAdvertising(_advParams)) == BLE_ERROR_NONE) {
            state.advertising = 1;
        }
        return rc;
    }
ble_error_t startAdvertising ( void ) { ble_error_t rc ; if ( ( rc = startAdvertising ( _advParams ) ) == BLE_ERROR_NONE ) { state . advertising = 1 ; } return rc ; }
Start advertising.
Start advertising .