Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

The default 

Include Page
OCSDK:_def_smip
OCSDK:_def_smip
 in running  mote running in "Master" mode runs an application called "OAP". Talking to that application allows one to have the mote sample temperature, set the LED, etc. The OapClient sample application allows you to do that over the command line. It does similar things as the TempMonitor and PkGen app, but over a command line interface.

...

Code Block
>  Received-Time = 1025666400.97 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2542
>  Received-Time = 1025666431.86 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2607
 Received-Time = 1025666510.99 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2564
 Received-Time = 1025666510.99 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2585
 
<one temperature reading every 30 s by default>
 
> temp 5 1 1000
>  Received-Time = 1025666551.28 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2585
 Received-Time = 1025666555.05 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2628
 Received-Time = 1025666555.22 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2585
 Received-Time = 1025666555.4 OAP notification from 00-17-0d-00-00-38-04-35: TEMP=2564


<one temperature reading every 1 s>
 
> temp 5 1 30000
 
<one temperature reading every 30 s>
 
> temp 5 0 30000
 
<no temperature readings>

Interact with the packet generator

...