dc42 / duetwifiserver Goto Github PK
View Code? Open in Web Editor NEWHTTP and related server code for Duet WiFi 3D printer electronics
HTTP and related server code for Duet WiFi 3D printer electronics
Hi, Mr dc42!
Thanks for your share first! I down your DuetSiFiServer and CoreESP8266 project, however, when I import them to eclipse, there is no "Makefile" in both of them.
Do you miss upload them ? Or I should write them by myself ?
Currently, DuetWiFiServer does not support WPA2-Enterprise. The ESP8266 used for WiFi supports this now, so it can be implemented.
An issue, Duet3D/RepRapFirmware#153 has been made, but this repository seems more fitting to me.
EDIT: For reference, the relevant header file.
Hi, David!
I found that your esp8266 was configured to be the slave in the spi communication. But the spi "cs" pin was controled by esp8266 as well. In my experience, the "clk" and the "cs" pin should be outputed by the master.
I just want to make sure of the way of spi communication.
Mr dc42,
Sorry to trouble you again!
According to your guide, I use the webControl files at : https://github.com/dc42/DuetWebControl. And I use the arduino tools(esp8266fs.jar) to upload the "DuetWebControl.bin" file, but there was an issue as followed:
"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 921600, 4M (3M SPIFFS), ck, Disabled, None"
......
[SPIFFS] data : E:\RepRapWiFi\data
[SPIFFS] size : 3052
[SPIFFS] page : 256
[SPIFFS] block : 8192
/DuetWebControl.binSPIFFS_write error(-10001): File system is full.
It hinted that my file system is full ,but I had configure the spiffs to occupy 3M size. And I can upload the small size file successfully.
So I suspect it's not the correct way to upload.
I wonder how to upload the "DuetWebControl.bin" file.
Thank you very much!
Mr dc42,
I come again.
Yesterday I could not visit the web ui because I had not load the ".html" file to the file system. But I found there's no "reprap.html" in your project.
void fsHandler() { String path = server.uri(); if (path.endsWith("/")) { path += F("reprap.htm"); // default to reprap.htm as the index page } bool addedGz = false; File dataFile = SPIFFS.open(path, "r");
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.