
61
Wireless Products Division
CONFIDENTIAL
Lab 4: Add Device Name &
RTC to Sensor Data
Append Device ID & RTC Value to Sensor
Data so Server Can Identify It
Device String: Appends &id=<value>, where
<value> is device ID string set with set opt
device <string> command
Real-Time Clock: Appends &rtc=<time>, where
<time> is real-time clock value in message as
32-bit HEX value in format aabbccddeeff
Turn Off Auto Connect
Go into command mode
Set sys auto 0
Save & reboot
Append Device Name & RTC
Go into command mode
set option device <string>
time // Get network
time
set option format 31
save & reboot
Post Data
Go into command mode
open
Tera Term Output
*OPEN*SEND-WEBPOST
HTTP/1.1 200 OK
Date: Mon, 06 Dec 2010 17:56:28 GMT
Server: Apache
X-Powered-By: PHP/5.2.13
Connection: close
Content-Type: text/html
Server accepted values <br /> Device ID
ID: servertest<br />
VALUE: 0D16CF2908043E854020080108043236323A
RTC: 3ad82
*CLOS* Real Time Clock
Komentáře k této Příručce