Function esp_idf_sys::ble_gap_dtm_enh_tx_start
source ยท pub unsafe extern "C" fn ble_gap_dtm_enh_tx_start(
tx_chan: u8,
test_data_len: u8,
payload: u8,
phy: u8,
) -> c_int
Expand description
Start a test where the DUT generates reference packets at a fixed interval.
@param tx_chan Channel for sending test data, tx_channel = (Frequency -2402)/2, tx_channel range = 0x00-0x27, Frequency range: 2402 MHz to 2480 MHz
@param test_data_len Length in bytes of payload data in each packet @param payload Packet payload type. Valid range: 0x00 - 0x07 @param phy Phy used by transmitter 1M phy: 0x01, 2M phy:0x02, coded phy:0x03.
@return 0 on sucess; nonzero on failure