Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By sfranzyshen
#56817
Rohit Rajapure wrote:Hey guys! I am interested in programming ESP8266, through arduino core using ESP SDK API and not the AT Commands. Is it possible? If yes, how?


the SDK API is exposed by including the SDK includes with a extern c ... like

Code: Select allextern "C" {
    #include "user_interface.h"
    #include "espconn.h"
}


then you can call the SDK API directly ... for example ...
Code: Select all    softap_config apConfig;
    wifi_softap_get_config( &apConfig );