Function esp_idf_sys::ble_hs_hci_util_set_data_len
source ยท pub unsafe extern "C" fn ble_hs_hci_util_set_data_len(
conn_handle: u16,
tx_octets: u16,
tx_time: u16,
) -> c_int
Expand description
Configure LE Data Length in controller (OGF = 0x08, OCF = 0x0022).
@param conn_handle Connection handle. @param tx_octets The preferred value of payload octets that the Controller should use for a new connection (Range 0x001B-0x00FB). @param tx_time The preferred maximum number of microseconds that the local Controller should use to transmit a single link layer packet (Range 0x0148-0x4290).
@return 0 on success, other error code on failure.