Moxa EPM-3112 [48/88] Installing the epm dk03 module

Moxa V2426A-C7-T [48/88] Installing the epm dk03 module
V2400A Series Expansion Modules Software Installation and Programming Guide
4-28
sim_status
Gives the SIM card status [READY, LOCKED, FAILED]
m_info
Shows information on the cellular module.
Installing the EPM-DK03 Module
The EPM-DK03 provides a combination GPS/GPRS card with an extra card slot where a second Wi-Fi, GPS, or
GPRS card may be installed. The kernel module for the GPS card bundled with the EPM-DK03 is precompiled
into the Linux kernel binary, so there is no need to install another one. The GPS card may be accessed and
controlled using the GPS daemon (GPSd), over the ports /dev/ttyACM0, or /dev/ttyACM1 (if a 2nd GPS
module is installed). To set up the kernel module:
1. First check if the GPS card is transmitting raw data by issuing the following command to the device node,
/dev/ttyACM0. If no data is being returned by the card, first try adjusting the GPS antenna to troubleshoot
the problem. If there is no way of establishing reception, contact Moxa technical support at the phone
number provided in the title plate of this manual.
Moxa:~# cat /dev/ttyACM0
$GPGSV,1,1,04,24,28,123,37,21,09,054,31,19,52,213,,23,47,270,*74
$GPGGA,061824.0,2458.835139,N,12133.055835,E,1,05,19.7,-103.5,M,,,,*14
$GPRMC,061824.0,A,2458.835139,N,12133.055835,E,,,290710,,,A*68
$GPGSA,A,3,24,21,06,31,16,,,,,,,,,25.5,19.7,18.5*29
$GPVTG,,T,,M,0.0,N,0.0,K*4E
2. Next, install the Linux GPS daemon from public repositories. GPSd is the GPS background interface that will
communicate with the raw GPS device. First, terminate the cat process you have just initiated using
Moxa:~# killall cat
and then install the GPS daemon as follows:
Moxa:~# apt-get install gpsd
ATTENTION
If you do not wish to expose the computer to the open Internet, then you may prepare a software CD in
advance and use that, instead. This will require an alteration of your
apt.source list, however. For more
information on how to do this, consult this web page:
http://answers.oreilly.com/topic/19-how-to-install-debian-packages-from-cd-rom/
3. Start the GPS daemon:
Moxa:~# /etc/init.d/gpsd start

Содержание

Скачать