User Manual Part 6

User Guide to Q4000/QPRO
Document Number 1135-4713 Rev G
THIS DOCUMENT CONTAINS CONFIDENTIAL AND PROPRIETARY INFORMATION OF QUAKE GLOBAL CORPORATION. IT MAY BE USED BY
RECIPIENT ONLY FOR THE PURPOSE FOR WHICH IT WAS TRANSMITTED AND WILL BE RETURNED UPON REQUEST OR WHEN NO LONGER NEEDED
BY RECIPIENT. DISCLOSURE TO UNAUTHORIZED THIRD PARTIES OR DUPLICATION WITHOUT THE EXPRESS WRITTEN PERMISSION OF QUAKE
GLOBAL IS PROHIBITED.
Page 141
CONFIDENTIAL
Information classified Confidential
-
Do not copy (See last page for obligations)
14.28 USER_CMD
An Over-The-Air command was received. The parameter [0-255] indicates which action to take.
This is currently supported for ORBCOMM and GSM/GPRS networks.
When a USER_CMD is sent, byte 0 of the data represents how many user commands will be
sent. This is based on User Data Bytes 1-4 content in conjunction with User Byte 0’s value.
For example, using:
USER DATA BYTES 0 1 2 3 4
Example. 1: If the data bytes sent were 0x01 0xFF 0x00 0x00 0x00
One USER_CMD event would be sent to the application.
It would be USER_CMD 255.
Notice that User Data Bytes 2-4 have no meaning.
Example. 2: If the data bytes sent were 0x02 0xFF 0x00 0x00 0x00
Two USER_CMD events would be sent to the application.
They would be USER_CMD 255 and USER_CMD 0.
In this case User Data Bytes 3 and 4 have no meaning.
Example. 3: If the data bytes sent were 0x03 0x01 0x02 0x03 0x00
Three USER_CMD events would be sent to the application.
They would be USER_CMD 0, USER_CMD 1 and USER_CMD 3.
In this case User Byte 4 has no meaning.
Example. 4: If the data bytes sent were 0x04 0x01 0x02 0x03 0x0A
Four USER_CMD events would be sent to the application.
They would be USER_CMD 1, USER_CMD 2, USER_CMD 3, and USER_CMD 10.