Open marrog86 opened 5 years ago
Most likely some API changed since esp-idf v3.x and you will have to change this library if you want to use it with esp-idf v4.x.
Is there any alternative to this for the esp32, as the snippets repo is becoming abandoned ware
You can fork repo and apply required changes in code and eventually create PR with new branch. Remember that esp-idf v3.3 is still last stable release.
Hello,
Wanted to try out your work, but i had problems compiling it. idf.py --version ESP-IDF v4.1-dev-281-g96b96ae24
cpp_utils/Socket.cpp:63:23: error: '::lwip_accept_r' has not been declared int clientSockFD = ::lwip_accept_r(m_sock, (struct sockaddr*) &client_addr, &sin_size);
and
WiFi.cpp:221:32: error: conversion from 'const ip_addr_t' {aka 'const ip_addr'} to non-scalar type 'ip_addr_t' {aka 'ip_addr'} requested ip_addr_t ip = ::dns_getserver(0);
any idea what i could try?