Skip to content

Instantly share code, notes, and snippets.

@dholstius
Created June 22, 2012 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dholstius/2975419 to your computer and use it in GitHub Desktop.
Save dholstius/2975419 to your computer and use it in GitHub Desktop.
Configure WiFly RN-XV as a serial-to-http bridge
// Join the wireless network
set wlan ssid WIFI_NETWORK
set wlan phrase WIFI_PASSWORD
set wlan join 1
join
// Set the real-time clock
set time
show time
set time enable 1
set ip flags 0x87
// Set timeout for UART input
set comm time 1000
// Send RTC, MAC, ID and other goodies too
set option format 0x19
// Transmit on UART input
set ip proto 18
set ip host 0
set ip address 0
set ip remote 80
set dns name your.webserver.com
set comm remote GET$/your_script.php?DATA=
set uart mode 2
save
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment