Okay, I published it. Sorry no real documentation included. As described, it is a _very_ simple wrapper for a WiFly over serial port. Here is a very simple test program that uses it:
#include "mbed.h"
#include "wifly.h"
// USB serial in/out
Serial pc(USBTX, USBRX);
// WiFly
WiFly fly(p13, p14);
void passthru()
{
// we also would like a way to escape out of the passthru, and back again
while (true)
{
if (pc.readable())
{
fly.putc(pc.getc());
}
if (fly.readable())
{
pc.putc(fly.getc());
}
}
}
int main()
{
pc.baud(115200);
pc.printf("starting...\n\r");
// quick way to test WiFly, Maestro or other serial device on the mbed
passthru();
return 0;
}
This example will forward all WiFly comms to the USB comms, allowing you to configure the WiFly for your situation (SSID, passphrase, etc.)
Feel free to let me know if you have any questions, suggestions, issues, etc.
- Tyler
Hello !
I need to connect my mbed to a Wi-Fi router.
Would you please suggest a model that would allow me to to run my http sessions wirelessly ?
Thank you for your help.
Regards,
René-Jean