Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
4.3- Presence detection principle between WAVECARD
Before establishing a data exchange with a distant equipment, it can be useful to check the presence and the
link budget of this device.
The Get_Type Command sent like a « Service Command » allows the distant Wavecard to process an
answer independently of the host equipment connected.
Data frame description is as follow :
➢
Service request
REQ_SEND_SERVICE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
1 byte
2 bytes
1 byte
0xFF ; 0x02 ; 0x0B
0x80
Radio address of distant radio equipment
0x20
GET_TYPE
0x03
➢
Response to the service request
SERVICE_RESPONSE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
1 byte
4 bytes
2 bytes
1 byte
0xFF ; 0x02 ; 0x0F
0x82
Radio address
of distant radio
equipment
0xA0
Paramètres :
1st byte
: Type corresponding to Wavecard
radio board = 0x12
2nd byte
: RSSI Level
3rd byte
: Distant Wavecard Wake Up period (in
second)
4th byte
: Equipment Type connecting to
Wavecard ( default = 0x12)
0x03
WaveCard user handbook
page 35 of 67