Apologies, as this is not connected (yet) to Vera. But I have seen posts in these forums that suggest a few folks have considerable experience with the Roving Networks (now Microchip) Wifi to serial adapters.
I am attemptiong to use one to replace and Aircable BT-serial cable replacement to talk to a WGL Rain8. There was some learning involved, but I have the Wifly configured and socket code written that works perfectly with the device, with one caveat: the code only connects and writes (and reads) to the Wifly and serial device from a Mac.
Compiling the identical code on a Linux box (Ubuntu, Fedora Core, makes no matter) gets me the odd behavior that I get a connect on my socket, but writing to it gives me a SIGPIPE back. Every time. I can and will do more digging and will try to use tcpdump to analyze the traffic to see what is different, but thought I would ask here if any of the gurus have run into and worked around this sort of problem before.
It’s also a little confusing that I can do a telnet to the Wifly IP and port and connect to it 100% of the time from either Linux or MacOS.
A few Wifly config items:
static IP
no password
comm open, close, remote strings set to nil
Any thoughts much appreciated. If not, but anyone here cares, I can follow back up if and when I sort it out.
–Richard