OMESH Networks Inc. OPM15E1 Manuale Utente
www.omeshnet.com
•
Tel:
1-416-837-8980
•
Fax:
1-416-977-2796
•
Email:
info@omeshnet.com
OMESH
Networks Inc. © 2011
5
11 – Single channel operation on Channel 3;
Default Configuration on Reset: 00.
3.4 Command GETSTATE
Write COMMAND_GETSTATE (0x02) to the serial interface of the Module. On receiving
the command, the Module will return its current state | RSP_SUCCESS. The command
does not have a failure response. State IDLE is denoted by 0x01 for normal operation; and
the command, the Module will return its current state | RSP_SUCCESS. The command
does not have a failure response. State IDLE is denoted by 0x01 for normal operation; and
State TEST (Section 3.24) is denoted by 0x11 for a special radio test mode.
3.5 Command BROADCAST
Write COMMAND_BROADCAST (0x03) to the serial interface of the Module. On
receiving the command, the Module will return COMMAND_BROADCAST |
RSP_SUCCESS (0x83) if there is available TX buffer space in the Module and the network
address is valid. Otherwise the Module will return COMMAND_BROADCAST |
3.5 Command BROADCAST
Write COMMAND_BROADCAST (0x03) to the serial interface of the Module. On
receiving the command, the Module will return COMMAND_BROADCAST |
RSP_SUCCESS (0x83) if there is available TX buffer space in the Module and the network
address is valid. Otherwise the Module will return COMMAND_BROADCAST |
RSP_FAIL (0x03).
On receiving the COMMAND_BROADCAST | RSP_SUCCESS (0x83), the Host must
On receiving the COMMAND_BROADCAST | RSP_SUCCESS (0x83), the Host must
write the packet for broadcasting to the Module serial interface.
BYTE 0: Length of Transferring N (N must be: > 0 and < 122)
BYTE 1: Broadcast Sequence Number
BYTE 2 –N: Payload of Broadcasting Packet
BYTE 1: Broadcast Sequence Number
BYTE 2 –N: Payload of Broadcasting Packet
Broadcast packets do not have an ACK mechanism in the protocol, therefore successful
packet delivery is not guaranteed at the wireless link level.
3.6 Command UNICAST
Write COMMAND_UNICAST (0x04) to the serial interface of the Module. On receiving
the command, the Module will return COMMAND_UNICAST | RSP_SUCCESS (0x84) if
there is available TX buffer space in the Module and the network address is valid. Otherwise
the Module will return COMMAND_UNICAST | RSP_FAIL (0x04).
On receiving the COMMAND_UNICAST | RSP_SUCCESS (0x84), the Host must write
the packet for unicasting to the Module serial interface.
the command, the Module will return COMMAND_UNICAST | RSP_SUCCESS (0x84) if
there is available TX buffer space in the Module and the network address is valid. Otherwise
the Module will return COMMAND_UNICAST | RSP_FAIL (0x04).
On receiving the COMMAND_UNICAST | RSP_SUCCESS (0x84), the Host must write
the packet for unicasting to the Module serial interface.
BYTE 0: Length of Transferring N (N must be: > 2 and < 116)
BYTE 1-3: Address of the Unicast Destination
BYTE 4: Unicast Sequence Number
BYTE 5 –N: Payload of Unicasting Packet
BYTE 1-3: Address of the Unicast Destination
BYTE 4: Unicast Sequence Number
BYTE 5 –N: Payload of Unicasting Packet