
TReX User Manual v2.14 Firmware
CAP
- the field is parsed into the cap code to use (match string ignored).
LEVEL
- the field is parsed into the priority of beep level (match string ignored).
MSG
- the field is parsed into the message field (match string ignored).
BAUD_512
- the field is parsed and if matches 512 baud is set for outgoing message.
BAUD_1200
- the field is parsed and if matches 1200 baud is set for outgoing message.
MODE_A
- the field is parsed and if matches, Transport method (POCSAG
Alphanumeric) is set for outgoing message.
MODE_N
- the field is parsed and if matches, Transport method (POCSAG Numeric)
is set for outgoing message.
UNUSED
- the field is unused.
Full Example:
To support a serial input of:
ET1234567-1-TEST<CR>
In this example (from an unspecified third party) the number 1234567 is a POCSAG CAP
code. The 1 between the ‘-’ characters specifies the beep level and “TEST” is the message
payload. If the “ET” at the start is in capitals, then the message is transmitted at 512 baud. If
the message starts with “et” then the message is transmitted at 1200 baud.
Implementation:
•
Set match field 1, start index 0 for a length of 2 characters. If the match string is found,
then BAUD rate of 1200 is used.
*CUST_FIELD=1:0,2,”et”,, BAUD_1200<CR>
•
Set match field 2, start index 0 for a length of 2 characters. If the match string is found,
then BAUD rate of 512 is used.
*CUST_FIELD=2:0,2,”ET”,,BAUD_512<CR>
•
Set match field 3, start index 2 for a length of 7 characters. This field is parsed into the
capcode
*CUST_FIELD=3:2,7,””,,CAP<CR>
•
Set match field 4, start index 10 for a length of 1 characters. This field is parsed into
the priority
*CUST_FIELD=4:10,1,””,,LEVEL<CR>
•
Set match field 5, start index 12 for a length of 0 characters. This field is parsed into
the message payload. Note that a length of 0 means that parsing will continue until a
non printable character is found.
© WTE Limited, 2018 – Christchurch New Zealand
Page 93 of 158