Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
4. SERVICE COMMANDS
Services commands are used to configure the Wavecard or to read radio parameters independently of the
connected host equipment. When the wavecard recognizes Service command, no data are sent to the
connected host.
These commands are mainly used to :
Process detection of a distant RF equipment,
Process a link budget with a distant equipment (RSSI level detection),
Process the setting of parameters by RF way.
4.1- Description of the commands, and their formats
CMD
NAME
DESCRIPTION
0x80
REQ_SEND_SERVICE
Request to send a service frame with the waiting for the radio response.
0x81
RES_SEND_SERVICE
Response to the REQ_SEND_SERVICE.
0x82
SERVICE_RESPONSE
Received radio frame consecutive to a REQ_SEND_SERVICE transmission.
Service request
REQ_SEND_SERVICE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
1 byte
variable
2 bytes
1 byte
0xFF ; 0x02 ; 0xXX
0x80
radio address of distant
radio equipment
Service request
type
Possible parameter(s) related
to the request type
0x03
Acknowledgement of the service request
RES_SEND_SERVICE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
1 byte
2 bytes
1 byte
0xFF ; 0x02 ; 0x05
0x81
Status
0x00 : Frame transmission OK
0x01 : Error frame transmission
0x03
Response to the service request
SERVICE_RESPONSE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
6 bytes
1 byte
variable
2 bytes
1 byte
0xFF ; 0x02 ; 0xXX
0x82
radio address of distant
radio equipment
service
response type
Possible parameter(s) related
to the response type
0x03
WaveCard user handbook
page 33 of 67