The named lines (1,2) should be also the same message as before. My conclusion is, that i still get that "unreadable" data, if i wait a little bit.
Start the WebSocket and send a Message -> OK
Send more messages -> OK
Wait a minute and send one message -> Unreadable Data
send more messages -> Sometimes OK, timesomes unreadable
send more messages -> everything OK
So always if i wait a little bit it seems that the next data package can't processed successfully.
If i wait for 5-10 Minutes and try to send a message from Chrome:
WebSocket is already in CLOSING or CLOSED state.
I would be really happy if you could check that again :)
I will also try the capacitor for the ESP8266.
Thank you!
Edit: I looked at the ws.js file. Why you don't allow to send data bigger then 125 character? How can i send more than 125? I need to send more than 300 characters.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Great to hear from you. Thank you for your response!
Now it seems to work 95% :)
Some of my tests:
The named lines (1,2) should be also the same message as before. My conclusion is, that i still get that "unreadable" data, if i wait a little bit.
Start the WebSocket and send a Message -> OK
Send more messages -> OK
Wait a minute and send one message -> Unreadable Data
send more messages -> Sometimes OK, timesomes unreadable
send more messages -> everything OK
So always if i wait a little bit it seems that the next data package can't processed successfully.
If i wait for 5-10 Minutes and try to send a message from Chrome:
I would be really happy if you could check that again :)
I will also try the capacitor for the ESP8266.
Thank you!
Edit: I looked at the ws.js file. Why you don't allow to send data bigger then 125 character? How can i send more than 125? I need to send more than 300 characters.