OMESH Networks Inc. OPM15E1 Manuale Utente

Pagina di 24
www.omeshnet.com
 
 
Tel:
 
1-416-837-8980
 
• 
Fax:
 
1-416-977-2796
 
 
Email:
 
info@omeshnet.com 
OMESH
 
Networks Inc. © 2011
 
 
3
On receiving the RSP_SUCCESS | COMMAND_RESET (0x80), the Host must write to 
the Module a special combination of 4 bytes in sequence 0xFD 0xDE 0xED 0xAB, and then 
the Module will reset itself after about 1.6ms. Reset will cause configurable parameters of the 
module to revert to their default settings, including those specified in Sections 3.3, 3.7, 3.10, 
3.16, 3.31, 3.32, 3.34, and 3.36. 
 
3.2  Command SLEEP 
Write COMMAND_SLEEP (0x01) to the serial interface of the Module. If the Module is in 
IDLE (0x01) state, the command will be successful; and the Module will return a 
RSP_SUCCESS | COMMAND_SLEEP (0x81). Otherwise, the Module will return 
RSP_FAIL | COMMAND_SLEEP (0x01). 
On receiving the RSP_SUCCESS | COMMAND_SLEEP (0x81), the Host must write to 
the Module a special combination of 4 bytes in sequence 0xFD 0xDE 0xED 0xAB, followed 
by another unsigned word (3 bytes little Endian) to specify the time (in 32KHz) that the 
Module should sleep. The Module will enter low-power sleep mode on receiving the time 
information. The time should be set to be longer than 2ms (or 64 – 0x40 0x00 0x00). 
 
3.3  Command CONFIG 
Write COMMAND_CONFIG (0x0B) to the serial interface of the Module. The Module will 
always return a RSP_SUCCESS | COMMAND_CONFIG (0x8B). This command does not 
have a failure response. 
On receiving the RSP_SUCCESS | COMMAND_CONFIG (0x8B), the Host must write to 
the Module a special combination of 4 bytes in sequence 0xFD 0xDE 0xED 0xAB, followed 
by one configuration byte: 
 
RESERVED 
(bits 7-6) 00  
RT/CT 
(bit 5) 
STATE    
(bit 4) 
ADDRESS 
(bit 3) 
BACKOFF 
(bit 2) 
CHANNEL 
(bits 1-0) 
 
 
RT/CT (1 bit): 0- Disable RT/CT lines of the serial port; 1- Enable RT/CT lines of the 
serial port. (Note: RT/CT is only used in OPM15-E series radios). 
 
Default Configuration on Reset: 0. 
 
STATE (1 bit): 0 – State lines configuration 1; 1- State lines configuration 2.   
Default Configuration on Reset: 0. 
 
 
State lines configuration 1:  
o  STATE_A (STA1): 1- Power on, and Calibration Completed; 0- Sleep; 
o  STATE_B (STA2): 1- Join to Receive; 0 - IDLE;