esp_phy_wifi_tx() function
Wi-Fi TX command
Arguments
chan
channel setting, 1~14;
backoff
Transmit power attenuation, unit is 0.25dB. For example, 4 means that the power is attenuated by 1dB;
length_byte
TX packet length configuration, indicating PSDU Length, unit is byte;
packet_delay
TX packet interval configuration, unit is us;
packet_num
The number of packets sent, 0 means sending packets continuously, other values represent the number of packets to send.
Examples
esp_phy_wifi_tx() is referenced by 1 libraries and example projects: