Skip to content

Instantly share code, notes, and snippets.

Created Jun 22, 2012
What would you like to do?
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
// 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
set comm remote GET$/your_script.php?DATA=
set uart mode 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment