riot_sys

Function ble_gap_adv_set_data

Source
pub unsafe extern "C" fn ble_gap_adv_set_data(
    data: *const u8,
    data_len: c_int,
) -> c_int
Expand description

Configures the data to include in subsequent advertisements.

@param data Buffer containing the advertising data. @param data_len The size of the advertising data, in bytes.

@return 0 on succes, BLE_HS_EBUSY if advertising is in progress, other error code on failure.