User's Manual

16
Sales Engineering
support@xirgotech.com
pcr Breakdown
A pcr is a list of fields that will be used to create a message to be sent from the XT6360 to the server.
Each packet recipe can contain up to 40 fields
The device can store 128 packet recipes
pcr[<slot_index>] "<recipe_hex_string>"
<slot_index> is in the range 0 - 127
"<recipe_hex_string>" is a quoted string of hexadecimal bytes (represented by two ascii characters)
String format: "<packet_id><num_fields><field_0><field_1>...<field_N>"
Example:
pcr 1 will contain a 5 fields : PacketID, DeviceID, Latitude, Longitude, and Altitude
pcr[1] "01050103070809"
RecipeID 01
Number of fields 05
Field 0 is Packet ID 01
Field 1 is DeviceID 03
Field 2 is Latitude 07
Field 3 is Longitude 08
Field 4 is Altitude 09
Below is an example of a packet recipe that is partially decoded.
EXAMPLE:
pcr[1] "010E01040305060708090a0b12131415"
(all values below are in Hex)
Recipe ID 01
Number of fields 0E
Field HEX ID Value Parsed Comment
PacketID 01 01 01
ReasonCode 04 03 03 (IGN. OFF MESSAGE)
Serial # 03 088c1c72 143400050 Unit Serial Number
PacketSerialNum 05 205a 8282
Etc..
DATA FROM DEVICE CONVERTED FROM BINARY TO HEX USED IN TABLE ABOVE
datagram: 4 from 75.255.159.0:3000 (size: 31 bytes)