[ltp] X301 Ericsson Modul f3507g AT Command reference
Nickolai Zeldovich
linux-thinkpad@linux-thinkpad.org
Sun, 26 Oct 2008 09:56:22 -0700 (PDT)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--1085000002-256741367-1225040182=:16535
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Apologies for the earlier base64-encoded message; I'm not sure why gmail=20
decided to encode it that way.
> Anyone out there has working GPS under Linux with an Ericsson f3507g?
Yes. The f3507g has a number of serial interfaces, which come up as
/dev/ttyACM0 through /dev/ttyACM2 on my machine (Thinkpad W500). I
believe the last one (USB interface# 9, /dev/ttyACM2) is used to emit
GPS NMEA sentences. You can get a list of special commands the card
supports by sending it "AT*". To activate NMEA on /dev/ttyACM2, send
it the following commands:
AT+CFUN=3D1
AT*E2GPSCTL=3D1,10,1
AT*E2GPSNPD
After the last command, the port stops responding to any subsequent
commands, and starts emitting NMEA sentences, at which point you can
run gpsd on /dev/ttyACM2. (You can still reconfigure the GPS
parameters via /dev/ttyACM0, as far as I can tell.) In my case, I run
the following expect script before running gpsd:
spawn cu -l /dev/ttyACM2
expect "Connected."
sleep 1
send "AT+CFUN=3D1\r"
expect "+PACSP0=E2=80=B3
sleep 1
send "AT*E2GPSCTL=3D1,10,1\r"
expect "OK"
sleep 1
send "AT*E2GPSNPD\r"
expect "GPGGA"
Nickolai.
--1085000002-256741367-1225040182=:16535--