Skip to main content

MT — MDT Mode

Configures the serial port for MDT (Mobile Data Terminal) operation. When active, the serial port receives text messages and routes them to the configured destination.

Format

  • Query config: >QMT<
  • Set config: >SMT{A}[{BBB}[{CCC}{D}[{\EE}[{\FF}[{\GG}[\{HH}]]]]]][;ROUTE={I}][;POS_FLAG={J}][;BAUD_RATE={KKKKKK}][;EXT_INFO={L}]<
  • Response: >RMT{A}{BBB}{CCC}{D}\{EE}\{FF}\{GG}\{HH};ROUTE={I};POS_FLAG={J};BAUD_RATE={KKKKKK};EXT_INFO={L}<
  • Query escape char: >QMTE<
  • Set escape char: >SMTE{A}<
  • Response escape char: >RMTE{A}<

Fields

FieldValuesDescription
AN,P,HMDT mode: N=Normal, P=PAD, H=Hexadecimal
BBB3 digitsPacket timeout
CCC3 digits or FFFMax packet size (FFF = 1024 bytes)
DT,FInclude delimiter in packet: T=yes, F=no
\EE2 hex digitsDelimiter 1
\FF2 hex digitsDelimiter 2
\GG2 hex digits or **End pad character (** to disable)
\HH2 hex digitsReserved
ROUTE=I0F (hex), UDestination route index; U=unset
POS_FLAG=JT,F,NNPosition info: T=always, F=never, NN=event code
BAUD_RATE=KKKKKK6 digitsSerial port baud rate (e.g., 009600)
EXT_INFO=LA,B,C,FExtended info type included in message

Examples

Set MDT to Normal mode, route to destination 0, 9600 baud:

>SMTN;ROUTE=0;BAUD_RATE=009600<

Set MDT to PAD mode with packet config:

>SMTP030FFFT\0D\0A\FF\FF;ROUTE=0;POS_FLAG=T;BAUD_RATE=009600;EXT_INFO=F<

Query current config:

>QMT<
>RMTN030FFFT\0D\0A\FF\FF;ROUTE=0;POS_FLAG=T;BAUD_RATE=009600;EXT_INFO=F<

Query escape character:

>QMTE<
>RMTE0< ← escape character disabled

Enable escape character:

>SMTE1<
  • Use XABR to configure the RS-232 baud rate independently
  • MDT messages received are forwarded to the destination set in ROUTE