User's Manual

Table Of Contents
Interfaces
M1310-1 MOTE DATASHEET DUST NETWORKS 15
CONFIDENTIAL
7.3.3.4 Command 0x84 Time/State Packet
Time data packets use the command type 0x84. The time packet includes the network time and the current real time relative to
the Manager. The mote sends this response when it receives a Get Parameter request with time as the parameter (described
later) or when the
TIME pin is strobed high to low for minimum of min_strobe_length, as defined in Table 12. Usage of the
TIME pin is described in section 7.1.
7.3.3.5 Commands 0x87 and 0x88 Set Parameter Request/Response
The Set Parameter command allows the setting of a number of configuration parameters in the mote. When the Set Parameter
Request command is sent, the response to the request is sent within the diag_ack_timeout (see
Table 12). The command
structure for individual Parameter Types and can be found in section 7.3.4. The length of payload (n) depends on the Parameter
Type and is specified in the Parameter Data Packet section of this document.
.
Table 18 Command 0x84 Time/State Packet
Msg Byte Description Data Type Value
1 Cmd Type unsigned char 0x84
2-5 The sequential number of the
frame
unsigned longunsigned long Cycle
6-9 The offset from start of frame
in microseconds
unsigned long Offset
10-11 Frame length in timeslots unsigned short Frame Length
12-15 UTC time seconds unsigned long Real Time part1
16-19 UTC time microseconds unsigned long Real Time part2
20-23 Time from the last mote reset
in milliseconds
unsigned long Mote uptime
24 Mote state (see Table 33) unsigned char Mote state
25 Mote diagnostics status (see
Table 34)
unsigned char Mote diagnostics status
Table 19 Command 0x87 Set Parameter Request
Msg Byte Description Data Type Value
1 Cmd Type unsigned char 0x87
2 unsigned char Parameter Type
3 Data First byte of data
...3+n Data Up to n–1 additional bytes of
data
Table 20 Command 0x88 Set Parameter Response
Msg Byte Description Data Type Value
1 Cmd Type unsigned char 0x88
2 unsigned char Parameter Type
3 Error code unsigned char Error code (see Table 28)
4 Data Length unsigned char 0x00
ADVANCED INFORMATION