Yes, Cc3000 is very shakey. Sadly it's a known issue with the CC3000 - Espruino does it's best to work around it by power cycling if there's an issue, but the chip itself and the drivers TI supply are horrific.
The CC3000 will hold connections for as long as it can, yes - so you can kick off something with setInterval. For example: http://www.espruino.com/wifi_humidity
And yes, you should be able to stream, and no - no TCP at the moment - just HTTP. There was talk of implementing websockets at some point - but I doubt anyone will actually contribute that so it's something I'll have to find time for.
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.
Yes, Cc3000 is very shakey. Sadly it's a known issue with the CC3000 - Espruino does it's best to work around it by power cycling if there's an issue, but the chip itself and the drivers TI supply are horrific.
The CC3000 will hold connections for as long as it can, yes - so you can kick off something with
setInterval
. For example: http://www.espruino.com/wifi_humidityAnd yes, you should be able to stream, and no - no TCP at the moment - just HTTP. There was talk of implementing websockets at some point - but I doubt anyone will actually contribute that so it's something I'll have to find time for.