- ESP_OK : Successfully transmit the buffer to wifi driver - ESP_ERR_NO_MEM: out of memory - ESP_ERR_INVALID_ARG: invalid argument - ESP_ERR_WIFI_IF : WiFi interface is invalid - ESP_ERR_WIFI_CONN : WiFi interface is not created, e.g. send the data to STA while WiFi mode is AP mode - ESP_ERR_WIFI_NOT_STARTED : WiFi is not started - ESP_ERR_WIFI_STATE : WiFi internal state is not ready, e.g. WiFi is not started - ESP_ERR_WIFI_NOT_ASSOC : WiFi is not associated - ESP_ERR_WIFI_TX_DISALLOW : WiFi TX is disallowed, e.g. WiFi hasn't pass the authentication - ESP_ERR_WIFI_POST : caller fails to post event to WiFi task
Examples
esp_wifi_internal_tx() is referenced by 2 libraries and example projects: