esp_wifi_internal
Posted: Sat Nov 26, 2016 8:32 pm
Hallo erveryone
I finally recieved my ESP32 today! I waited really long and now I wanna test it out.
So I had this project with my ESP8266 where I send beacon packets. I searched for a function similar to the wifi_send_pkt_freedom() in the SDK.
I found this esp_wifi_internal.h file and looked into it.
This is what I've found:
So ok this is an internal file. I get this, buuuut.... I really want to use these specified APIs ! So @Espressif: can I use this to send my own packets? I tried it out with my beacon packets, but it gave me a WiFi driver error
Hope you guys can help me with this.
I finally recieved my ESP32 today! I waited really long and now I wanna test it out.
So I had this project with my ESP8266 where I send beacon packets. I searched for a function similar to the wifi_send_pkt_freedom() in the SDK.
I found this esp_wifi_internal.h file and looked into it.
This is what I've found:
Code: Select all
/**
/*
* All the APIs declared here are internal only APIs, it can only be used by
* espressif internal modules, such as SSC, LWIP, TCPIP adapter etc, espressif
* customers are not recommended to use them.
*
* If someone really want to use specified APIs declared in here, please contact
* espressif AE/developer to make sure you know the limitations or risk of
* the API, otherwise you may get unexpected behavior!!!
*
*/
Code: Select all
* @brief transmit the buffer via wifi driver
*
* @param wifi_interface_t wifi_if : wifi interface id
* @param void *buffer : the buffer to be tansmit
* @param u16_t len : the length of buffer
*
* @return
* - ERR_OK : Successfully transmit the buffer to wifi driver
* - ERR_MEM : Out of memory
* - ERR_IF : WiFi driver error
* - ERR_ARG : Invalid argument
*/
int esp_wifi_internal_tx(wifi_interface_t wifi_if, void *buffer, u16_t len);
Hope you guys can help me with this.