Download WiSnap User Guide.
Transcript
WiSnap User Manual 2.36, 2.45 11122012-RW 5.4 DNS Parameters ........................................................................................................................ 16 5.5 FTP Parameters ......................................................................................................................... 16 5.6 IP Parameters............................................................................................................................ 16 5.7 OPTIONAL Parameters ................................................................................................................ 18 5.8 SYSTEM Parameters ................................................................................................................... 19 5.9 TIME Server Parameters ............................................................................................................. 22 5.10 UART Parameters .................................................................................................................. 22 5.11 WLAN Parameters .................................................................................................................. 24 6 GET Commands .............................................................................................................................. 28 7 STATUS Commands ........................................................................................................................ 29 8 ACTION Commands ........................................................................................................................ 30 9 FILE IO Commands ......................................................................................................................... 32 10 Advanced Features and Settings ....................................................................................................... 33 10.1 System Timers and Auto Connect Timers .................................................................................. 34 10.2 Wake on Sensor Input ........................................................................................................... 36 10.3 Wake on UART ...................................................................................................................... 37 10.4 UART Receiver, RTS/CTS Hardware Flow Control ....................................................................... 37 10.5 Setting GPIO direction, Alternate Functions and Disabling LEDs ................................................... 38 10.6 Setting Debug Print levels....................................................................................................... 41 10.7 Scan Output Format ............................................................................................................... 41 Firmware Version 2.36 & 2.45 ................................................................................. 41 Firmware Version 2.22 through 2.30 ........................................................................ 43 10.8 UART Heartbeat Messages ...................................................................................................... 43 10.9 Using the Real Time Clock Function .......................................................................................... 44 11 Sending data using UDP .................................................................................................................. 45 11.1 Overview .............................................................................................................................. 45 11.2 UDP Auto Pairing ................................................................................................................... 46 11.3 UDP Retry............................................................................................................................. 46 11.4 Using the UDP Broadcast function ............................................................................................ 46 12 Joining Networks and Making Connections ......................................................................................... 47 12.1 Associate with a network access point ...................................................................................... 48 12.2 Making Connections ............................................................................................................... 49 12.3 Setting up Automatic Connections ........................................................................................... 49 12.4 Controlling Connections using PIO5 and PIO6 ............................................................................ 49 12.5 Using DNS settings ................................................................................................................ 50 12.6 Utilizing the Backup IP address/connect function ....................................................................... 50 13 Using HTML Client Feature ............................................................................................................... 50 13.1 Built-in HTML Client Modes ..................................................................................................... 51 13.2 Automatically periodically connect to web server ....................................................................... 51 13.3 Automatically connect to web server on UART data .................................................................... 52 13.4 Posting binary data: ............................................................................................................... 52 13.5 Auto posting sensor data: ....................................................................................................... 53 13.6 Examples using the HTML client............................................................................................... 53 14 Firmware Upgrade over FTP ............................................................................................................. 55 15 Ad-hoc Networking Mode ................................................................................................................. 57 15.1 Infrastructure and ad-hoc comparison ...................................................................................... 57 15.2 Configuring ad-hoc mode ........................................................................................................ 57 15.3 Scanning for Access Points in Ad Hoc Mode ............................................................................... 58 16 Access Point Networking Mode ......................................................................................................... 59 17 WI-FI Protected Setup (WPS) ........................................................................................................... 62 18 Analog Sensor Capability ................................................................................................................. 64 Automatic sampling of sensor pins: ....................................................................................................... 65 Using the Built-In Sensor Power ............................................................................................................ 66 19 Default Configuration Settings .......................................................................................................... 67 19.1 Restoring Default configuration settings: .................................................................................. 69 20 Boot-up Timing Values .................................................................................................................... 70 21 Supported 3rd Party Access Points ..................................................................................................... 71 22 Command List ................................................................................................................................ 72 23 Release Notes ................................................................................................................................ 76 23.1 Known problems .................................................................................................................... 76 23.2 Current Firmware features and fixes ........................................................................................ 76 Page 2 of 83