I'm loving my Espruino Wifi. However, I'm currently trying to do something very simple but can't see why it's not working. I'm simply trying to create a server and listen on port 80. I've written a simple script based on the examples:
But get this error when I try to connect to the device from Chrome:
>
_____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|_____|___| _|_| |___|_|_|_|___|
|_| http://espruino.com
1v91 Copyright 2016 G.Williams
>
=undefined
Connected: {
"Title": "Test Piece",
"Network": "Kraken",
"macaddress": "5c:cf:7f:c0:f4:85",
"ipaddress": "192.168.1.111"
}
>Uncaught Error: CIPSERVER failed (Timeout)
at line 1 col 53
throw Error("CIPSERVER failed ("+(a?a:"Timeout")+")");
^
in function called from system
You'll see it's connecting to wifi OK. I did discover that the examples I were using needed to be modified to work with the Espruino Wifi chip, but what else am I missing?
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.
I'm loving my Espruino Wifi. However, I'm currently trying to do something very simple but can't see why it's not working. I'm simply trying to create a server and listen on port 80. I've written a simple script based on the examples:
But get this error when I try to connect to the device from Chrome:
You'll see it's connecting to wifi OK. I did discover that the examples I were using needed to be modified to work with the Espruino Wifi chip, but what else am I missing?
Thanks,
Sean