Routed (QMASS) Binary Forward Messages - Type 607
Routed (QMASS) Binary Forward Messages (Type 607)
Routed binary forward messages are obtained by QTRACS as a result of periodic polling of the NMC by the Communications Manager process. Each of them is delivered to the appropriate external application via this Routed Binary Forward Message transaction. This transaction may only be received in systems that are running with the QMASS feature enabled.
Routed Binary Forward Messages are routed via binary data type and subtype. The subtype is defined to be the first byte of the binary information contained in the message body. Subtypes are in the range 0 through 255. The QTRACS Router can be instructed to route all subtypes of a single binary data type by setting *ALL as the subtype in the binary message routing database.
Routed Binary Forward Message transaction format
From | To | Size | Type | Field Description |
1 | 5 | 9 | Packed | Global Message Handle |
6 | 8 | 3 | Character | Transaction Type = 607 |
9 | 9 | 1 | Character | Destination Entity Type |
10 | 19 | 10 | Character | Destination Entity Identifier |
20 | 24 | 9 | Packed | Reserved - returned as zero |
25 | 25 | 1 | Character | Reserved - returned as blank |
26 | 26 | 1 | Character | Forward Message Priority |
27 | 30 | 7 | Packed | Reserved - returned as zero |
31 | 31 | 1 | Binary | Reserved - returned as binary zero - all 8 bits are off |
32 | 32 | 1 | Character | QMASS Routed Copy |
33 | 42 | 10 | Character | QMASS Auxiliary ID of Sender |
43 | 73 | 31 | Character | QMASS Return Auxiliary ID String |
74 | 173 | 100 | Character | Reserved - returned as blanks |
174 | 176 | 3 | Zoned | Binary Data Type |
177 | 179 | 3 | Zoned | Reserved - returned as zero |
180 | 186 | 13 | Packed | Message Time |
187 | 190 | 4 | Zoned | Message Length |
191 | 1615 | 1425 | Character | Message Body |
Routed Binary Forward Message transaction field descriptions
Field | Description |
Global Message Handle (GMH) | This packed decimal field contains the global message handle. The global message handle (GMH) is a universal handle that can be used to reference a specific message. Each return message is assigned a global message handle by QTRACS. |
Transaction Type | This is the code that identifies the transaction as a routed copy of a binary forward message. It is a 3-character numeric field that will contain 607. |
Destination Entity Type | This is a one-character code that identifies the entity type of the destination of the message, where: V the message was sent to an owned vehicle T the message was sent to an auxiliary vehicle. |
Destination Entity Identifier | This is the 10-character destination identifier. It identifies the destination entity of the message. This should always be a registered QTRACS vehicle identifier. |
Forward Message Priority | This is the priority of the forward message; where: 0 normal service 1 important (activates driver paging system if installed) 2 sleepy service 3 important sleepy 4 low priority 9 emergency service (highest priority forward message). |
QMASS Copy | This single byte character value indicates whether this is a routed copy of the message, where: 0 original 1 copyThis field will always be set to '1' in this transaction. |
QMASS Auxiliary ID of Sender | This 10-character field contains the QTRACS auxiliary identifier of the sender of this binary message. This is a QTRACS Type 'B' entity. |
QMASS Return Auxiliary String | This 31-character string contains the text included in routed return messages from the vehicle to the auxiliary account. This text is specified by the owner of the vehicle at the time the vehicle is made available through QMASS. |
Binary Data Type | This field indicates the type of data that is contained in the binary message body, where: 004 SensorTRACS data 006 JTRACS data 007 TrailerTRACS data |
Message Time | This 13-digit packed decimal numeric field contains the time and date that the message was received by the NMC. This field is in the QTRACS GMT seconds format and may be converted for display using the QTRACS date/time APIs. |
Length | This is the length (in bytes) of the message as it is stored in the message body field. |
Message Body | This field contains the body of the binary message. It is a variable length field. The length of the field (in bytes) is indicated in the message length field described above. This field can contain a maximum of 1425 bytes of binary data. The content of the message body depends on the binary data type. This is not described in this document. |