Getting Started with MTCDT-246L (using mLinux)

The MTCDT-246L is a GPS only version of the MultiConnect® Conduit (for mLinux).

The device includes GNSS (Global Navigation Satellite System). The GNSS provides geolocation (GPS) data in NMEA (National Marine Electronics Association) format. For an explanation of the NMEA format, refer to:

GPS data (GNSS)

Some technical details regarding the GPS setup:

  • The u-blox chip receives the GPS information. For details, see documentation on u-blox and GNSS.
  • The USB ports in software are numbered 0 through 3.
  • The GPS unit is on ttyXRUSB2 set as a full duplex serial port.

The GNSS output is on /dev/ttyXRUSB2.

To get longitude and latitude, use this command:

root@mtcdt:/# cat /dev/ttyXRUSB2 | grep ‘GPRMC’

The device displays GPS data in this format:


GPS Reset

With default configuration, the device resets the GPS on every reboot. After reset it takes some time to lock onto the satellites.

If you want to change this going forward, edit the file /etc/default/mts-io and set GPSGNSRESET to 0:

# GPS GNSS reset when loading driver
# 1 Reset the GPS on driver load (default)
# 0 Do not reset

# 0 is off
# 1 is on

To manually reset the GPS, use this command:

# cd /sys/devices/platform/mts-io
# echo 0 >gnss-reset; sleep 1 ; echo 1 >gnss-reset

After a reboot or reset, the GPS writes these first messages which includes the software level and time of the software build:

# head /dev/ttyXRUSB2

$GPTXT,01,01,02,u-blox ag –*50
$GPTXT,01,01,02,HW UBX-G70xx 00070000 FF7FFFFFo*69
$GPTXT,01,01,02,ROM CORE 1.00 (59842) Jun 27 2012 17:43:52*59
$GPTXT,01,01,02,PROTVER 14.00*1E

LoRa Configuration

If you use the MTAC-LORA accessory card, you need to configure LoRa on the device. For more information on LoRa , see Introduction to LoRa.

For more details about your LoRa card, see MTAC-LORA.

To configure LoRa:

  1. Install your LoRa card into the device. See Accessory Quick Start guide.
  2. Refer to Getting Started with LoRa for instructions.

MTAC-ETH Accessory Card

If you purchased an MTAC-ETH accessory card, you must setup the card on the device. For more details about your Ethernet card, see MTAC-ETH.

To configure and startup the Ethernet card:

  1. Install your Ethernet card into the device. See Accessory Quick Start guide.
  2. Refer to Getting Started with MTAC-ETH card for instructions.