Function esp_idf_sys::ble_gap_write_sugg_def_data_len

source ·
pub unsafe extern "C" fn ble_gap_write_sugg_def_data_len(
    sugg_max_tx_octets: u16,
    sugg_max_tx_time: u16,
) -> c_int
Expand description

Configure LE Suggested Default Data Length in controller (OGF = 0x08, OCF = 0x0024).

@param sugg_max_tx_octets The Host’s suggested value for the Controller’s maximum transmitted number of payload octets in LL Data PDUs to be used for new connections. (Range 0x001B-0x00FB). @param sugg_max_tx_time The Host’s suggested value for the Controller’s maximum packet transmission time for packets containing LL Data PDUs to be used for new connections. (Range 0x0148-0x4290).

@return 0 on success, other error code on failure.