riot_sys::bindgen

Function ble_gap_adv_rsp_set_fields

Source
pub unsafe extern "C" fn ble_gap_adv_rsp_set_fields(
    rsp_fields: *const ble_hs_adv_fields,
) -> c_int
Expand description

Configures the fields to include in subsequent scan responses. This is a convenience wrapper for ble_gap_adv_rsp_set_data().

@param adv_fields Specifies the scan response data.

@return 0 on success, BLE_HS_EBUSY if advertising is in progress, BLE_HS_EMSGSIZE if the specified data is too large to fit in a scan response, other error code on failure.