lws-team / esplws Goto Github PK
View Code? Open in Web Editor NEWESP8266 application using lws
License: MIT License
ESP8266 application using lws
License: MIT License
Using Fedora 26, got the repositories on november 11, 2017. I get several compile errors. A few were simple to correct, but this one seems harder:
/home/***/esp8266/esplws/app/lws/libwebsockets/lib/service.c: In function 'lws_service_fd_tsi': /home/***/esp8266/esplws/app/lws/libwebsockets/lib/service.c:1258:3: error: passing argument 1 of 'read' makes integer from pointer without a cast [-Werror] n = read(wsi->desc.sockfd, s, sizeof(s)); ^ In file included from /home/***/esp8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/sys/types.h:20:0, from /home/***/esp8266/esplws/app/lws/libwebsockets/lib/private-libwebsockets.h:35, from /home/***/esp8266/esplws/app/lws/libwebsockets/lib/service.c:22: /home/***/esp8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/sys/unistd.h:144:25: note: expected 'int' but argument is of type 'lws_sockfd_type' _READ_WRITE_RETURN_TYPE _EXFUN(read, (int __fd, void *__buf, size_t __nbyte )); ^
Can you help?
Marcel
Hi,
Have you had any joy getting things to work with the ESP8266 Free RTOS SDK?
BR
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.