but it is not compiling:
CallSDK-v2.ino: In function 'void setup()':
CallSDK-v2:35: error: expected unqualified-id before string constant
CallSDK-v2:111: error: expected '}' at end of input
expected unqualified-id before string constant
void setup() {
Serial.begin(115200);
#ifdef ESP8266
extern "C" {
void ICACHE_FLASH_ATTR user_ping_recv(void *arg, void *pdata){
you can not create a function in a function
extern "C" {
in this case.
Setup.setDebugOutput(true);