3 cmd packet classifi cation – PATLITE WDR-LE User Manual

Page 46

Advertising
background image

44

Wireless Data Aquisition System Comprehensive User's Manual

8.3 Cmd Packet Classifi cation

Transmission command between Transmitter and Receiver

Two diff erent packets for data transmissions are necessary for the Transmitter and Receiver. Details are

determined by the command.

< Data Transmission Request >

SOP

Cmd

Len

Data

FCS

0x02

0x00

0x0A

Short Address

Packet

Number

Special

Command

Special

Data

1 byte

2 bytes

1 byte

2 bytes

1 byte

1 byte

Undefi ned

1 byte

① Short Address

: Transmitter header network address.

This value is already assigned an undefi ned 2 byte value when connecting to

the network address destination.

The short address of the reciever is fi xed at 0x0000.

② Packet Number

: An arbitrary value is added when data is transmitted.

The value changes when its determined that data has been missing.

It is recommend to start from 0 and increment by a value of 1.

③ Special Command : Special command to exchange data between Transmitter and Receiver.

④ Special Data

: Data value specifi ed by special command.

< Data Reception Notifi cation >

SOP

Cmd

Len

Data

FCS

0x02 0x20 0x0B

Short

Address

Packet

Number

0x00

LQI

0x010106

Transmission

MAC Address

Special

Command

Special

Data

1 byte

2 bytes

1 byte

2 bytes

1 byte 1 byte 1 byte

3 bytes

8 bytes

1 byte Undetermined 1 byte

① Short Address

: Transmitter header network address.

This value is already assigned an undefi ned 2 byte value when

connecting to the network address destination.

② Packet Number

: Matches data transmission packet number during data transmission.

③ LQI

: Quality of communication between transmitter unit and fi nal stage of

wireless receiver.

Displays from 0x00(Minimum)to 0xFF(Maximum)for the range.

See the formula below to convert to dBm:

dBm= − (190 − LQI ч 1.625) ч 2

④ Transmission MAC Address : Transmission from Transmitter MAC Address.

⑤ Special Command

: Special command to exchange data between Transmitter and Receiver.

⑥ Special Data

: Data value specifi ed by special command.

Advertising
This manual is related to the following products: