pub unsafe extern "C" fn ble_gap_adv_set_fields(
rsp_fields: *const ble_hs_adv_fields,
) -> c_int
Expand description
Configures the fields to include in subsequent advertisements. This is a convenience wrapper for ble_gap_adv_set_data().
@param adv_fields Specifies the advertisement 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 an advertisement, other error code on failure.