sensor-esp32
sensor-esp32 copied to clipboard
error: called object 'socket' is not a function or function pointer
Getting Error: CC build/oap-http/esp_request.o sensor-esp32/components/oap-http/./esp_request.c: In function 'nossl_connect': sensor-esp32/components/oap-http/./esp_request.c:128:14: error: called object 'socket' is not a function or function pointer socket = socket(PF_INET, SOCK_STREAM, 0);
It seems due to change in ESP IDF. According to the solution above changes will need to done in esp_request.c file.