WiSnap User Manual 2.21 04112011-JF
Page
2
of
66
5.2 BROADCAST Parameters ............................................................................................. 15
5.3 COMM Parameters ..................................................................................................... 15
5.4 DNS Parameters ......................................................................................................... 16
5.5 FTP Parameters ......................................................................................................... 17
5.6 IP Parameters ............................................................................................................ 17
5.7 OPTIONAL Parameters ................................................................................................. 19
5.8 SYSTEM Parameters .................................................................................................... 20
5.9 TIME Server Parameters .............................................................................................. 20
5.10 UART Parameters ..................................................................................................... 21
5.11 WLAN Parameters .................................................................................................... 22
6 GET Commands ................................................................................................................ 25
7 STATUS Commands ....................................................................................................... 26
8 ACTION Commands ....................................................................................................... 27
9 FILE IO Commands .......................................................................................................... 29
10 Advanced Features and Settings ...................................................................................... 30
10.1 System Timers and Auto Connect Timers .................................................................... 31
10.1.1 UDP Sleep and Connection Timers......................................................................32
10.1.2 TCP Connection Timers.....................................................................................33
10.2 Wake on Sensor Input .............................................................................................. 33
10.3 Wake on UART ......................................................................................................... 34
10.4 UART Receiver, RTS/CTS Hardware Flow Control .......................................................... 34
10.5 Setting GPIO direction, Alternate Functions and Disabling LEDs ...................................... 35
10.5.1 Setting the alternate GPIO functions...................................................................36
10.5.2 Controlling connections with GPIO......................................................................37
10.6 Setting Debug Print levels .......................................................................................... 37
10.7 Using the Real Time Clock Function ............................................................................. 38
10.8 Time Stamping Packets..............................................................................................39
11 Sending data using UDP...................................................................................................40
11.1 Overview..................................................................................................................40
11.2 UDP Auto Pairing........................................................................................................40
11.3 UDP Retry.................................................................................................................41
11.4 Using the UDP Broadcast function................................................................................41
12 Joining Networks and Making Connections ......................................................................... 43
12.1 Associate with a network access point ........................................................................ 43
12.2 Making Connections ................................................................................................. 44
12.3 Setting up Automatic Connections .............................................................................. 44
12.4 Controlling Connections using PIO5 and PIO6 ............................................................... 45
12.5 Using DNS settings .................................................................................................. 45
12.6 Utilizing the Backup IP address/connect function .......................................................... 45
13 Using HTML Client Feature ................................................................................................ 46
13.1 Built-in HTML Client Modes........................................................................................46
13.2 Automatically periodically connect to web server .......................................................... 47
13.3 Automatically connect to web server on UART data.......................................................47
13.4 Posting binary data...................................................................................................47
13.5 Auto posting sensor data...........................................................................................48
13.6 Examples using the HTML client.................................................................................48
14 Firmware Upgrade over FTP .............................................................................................. 51
14.1 FTP Upload and Upgrade...........................................................................................51
15 Ad-hoc Networking Mode.................................................................................................53
15.1 Infrastructure and ad-hoc comparison ........................................................................ 53
15.2 Configuring ad-hoc mode..........................................................................................53
16 Analog Sensor Capability..................................................................................................55
16.1 Automatic sampling of sensor pins..............................................................................55
16.2 Using the Built-In Sensor Power.................................................................................56
17 Default Configuration Settings .......................................................................................... 57