This must not happen because the transfers are totally binary and there are lots of 0x00 inside. In the discussions I have seen on the web it seems like methods stop at the first NULL character (0x00) in the data stream. One thing I really should have said more clearly is that the serial port server must handle all bytes without exception. I looked at the TelnetStream but was none the wiser… My main issue is making settings changes persistent. I have seen examples of actions like toggling LED:s etc, but none thta saves data into some permanent location and applies the data to the running process.Īlso I have not seen any webserver sketch that can handle both a config page and an active serial port server. Is there some good example of a basic webpage with entry boxes and a button for activation requiring some kind of activation code? Should give much better performance than interpreted solutions. I have found one for the NodeMCU interface but I'd much rather use the Arduino IDE and compile a complete image. If someone has a good sketch to start from I would be happy to get a link to the source-code to which I can add the web interface. Same for the baud rate (1920 are the alternatives). If this is not possible then the ESP-07S cannot be used because the system is frequently power cycled and the AP should stay at the same SSID/Passwrd all the time. ESP8266 SERIAL PORT ARDUINO HOW TOMain issue for me is how to save and read back the modified data entered on the config webpage. But now the module is discontinued and I felt that rather than get into trouble with another supplier we should do it ourselves using readily available IoT WiFi modules. We already did this back in 2013 using a commercial WiFi module pre-programmed with the serial server etc. ESP8266 SERIAL PORT ARDUINO ANDROIDPC:s and Android devices shall be able to talk to the instrument via TCP rather than RS232 with this adapter. This solution is in order to expose the serial connection for a data collection instrument onto a WiFi network interface. ESP8266 SERIAL PORT ARDUINO PASSWORDChanges saved using a password protected button.The configuration page shall contain the following configurable items: Simple configuration web page on TCP port 80 (or maybe another more obscure port.).Serial port server (completely transparent) on TCP port 2001, binary data in/out.ESP-07S acting as a WiFi AP with protected login.I need to design an application for the ESP8266 (the ESP-07S module) in order to deliver the following functions: This is my first post on this forum, I just joined, so please excuse me if the questions are already answered! I have tried googling a lot and spent a few complete days worth of reading for this project, but now I need somewhere to ask too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |