When the HTML code size, is smaller than 1070 byte conn.send() works perfectly!
But why?
Search found 14 matches
- Thu Aug 10, 2017 6:28 pm
- Forum: ESP8266 boards
- Topic: Problem with webserver socket send function
- Replies: 1
- Views: 1713
- Thu Aug 10, 2017 7:36 am
- Forum: ESP8266 boards
- Topic: Problem with webserver socket send function
- Replies: 1
- Views: 1713
Problem with webserver socket send function
I use d1 mini with esp8266-20170612-v1.9.1.bin. import time from machine import Pin import usocket as socket import network sta_if = network.WLAN(network.STA_IF) while not sta_if.isconnected(): print ('csatlakozás') time.sleep(1) ipadress = sta_if.ifconfig() ipcim = tuple(ipadress) print (ipcim[0]) ...
- Sun Jul 30, 2017 5:27 pm
- Forum: ESP8266 boards
- Topic: How can I edit the main.py file, when deepsleep mode is enabled?
- Replies: 2
- Views: 2546
Re: How can I edit the main.py file, when deepsleep mode is enabled?
[quote="pythoncoder"]Perhaps someone will pop up with a less destructive idea but this is what I'd do. Firstly erase the flash and re-install the firmware; check that you have a REPL. If your application is in main.py I'd rename it (for example myapp.py) and copy it to the board. Then I'd create a m...
- Thu Jul 27, 2017 12:24 pm
- Forum: ESP8266 boards
- Topic: How can I edit the main.py file, when deepsleep mode is enabled?
- Replies: 2
- Views: 2546
How can I edit the main.py file, when deepsleep mode is enabled?
Hello! I am new in Esp8266 programing. I have a D1 mini board. I created a simple code to a Washer. The code send a notification when the Washer finished or begin. The Board sleep 3mins, and then run my code, and then again sleeping. But i want some changes with my code. I have Ubuntu Linux os. Scre...