Function esp_idf_sys::ble_gap_read_sugg_def_data_len

source ·
pub unsafe extern "C" fn ble_gap_read_sugg_def_data_len(
    out_sugg_max_tx_octets: *mut u16,
    out_sugg_max_tx_time: *mut u16,
) -> c_int
Expand description

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

@param out_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 out_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.