Справочник Пользователя для Murata Electronics North America 5811M

Скачать
Страница из 40
 
© 2003 Cirronet
 Incorporated 
14 
M-5811-0008 Rev -
 
 
 
Protocol Modes Definitions 
 
mode 00
  
Transparent mode used for point-to-point networks or 
multipoint remotes; does not support any packet types. 
 
 
 
mode 03 
This mode includes notification when remotes are 
registered or dropped through 
CONNECT
 and 
DISCONNECT
 packets that are sent to the user application 
at the base station and at the remote.  No sequence numbers 
are provided. 
  
packet 
types 
supported: Data 
 
 
 
 
 
 
CONNECT 
 
 
 
 
 
 
DISCONNECT  
 
 
 
 
 
 
 
 
 
3.1.  Packet Formats 
 
The byte formats for each packet type are shown in the table below.  Packet fields are 
organized to fall on byte boundaries.  In the case of bit-level fields, most-significant bits are 
on the left. 
 
 
WIT5811
 packet types (
mode-03
): 
 
Transmit and Receive: 
Base
 DATA
 
      
1110 1001
    
1100 0101
   
00HH HHHH 00SS SSSS LLLL LLLL LLLL LLLL  
<0-65536 bytes data> 
Remote 
DATA 
1110 1001  1100 0101 0000 0000 00SS SSSS LLLL LLLL LLLL LLLL  
<0-65536 bytes data>
 
 
 
 Receive 
only: 
 
CONNECT 
1110 1001   1100 0101 10HH HHHH   RRRR TTTT   00NN NNNN   
<3 byte 
remote ID>  
 
 
DISCONNECT 
1110 1001   1100 0101 11HH HHHH   0111 1111    
 
 
 
 
:  handle number (0-63) 
 
 
:  packet sequence number (0-63) 
 
 
L  
:  data length (0-65536) 
 
 
:  remote's previous network number (if roamed) 
 
 
:  receive sequence number (from previous cell) 
 
 
:  transmit sequence number (from previous cell) 
 
Note that while the packet length can be set to 65536, the maximum number of bytes 
transmitted per hop is limited to the lesser of 65536 or the length specified by maximum data 
length. Packets with a data length longer than that will be discarded and not sent. See Get 
Maximum Data Length for more details. 
 
Handle 63 (3FH) is reserved for broadcast packets from the base to all remotes.  
Acknowledgment requests are not supported for broadcasts.  For this reason, it is a good idea 
to send broadcast messages several times to increase the odds of reaching all remotes.