How to enable gps on Cinterion EHS8 | Telit Cinterion IoT Developer Community
February 3, 2016 - 8:31pm, 4289 views
Hello.
We have a Cinterion EHS8 module, and we can not have the gps working. We are working on linux based system, with cdc-acm driver that allow to present /dev/ttyACM0-ttyACM6 devices.
We expect to have the GPS working and sending NMEA sentences over /dev/ttyACM0. We have managed to enable it by means of AT commands, typing: at^sgpsc="Engine","3". Besides I can only start the gps engine using mode 3, mode 1 gives me an error.
At that moment we have /dev/ttyACM5 for a few minutes throwing up NMEA sentences, but after a that few minutes, /dev/ttyACM5 goes back to AT parsing mode...
Could please tell me what is the right method to enable stand-alone gps, and have NMEA sentences over serial device...
Thank you
Hello,
The NMEA output configuration should not depend on linux/windows.
Please check the AT^SGPSC? output - how is the NMEA output configured is it on and to which interface is it redirected? If it is set to “local“ which is the default setting, it is working in an unblocking mode, which means that this port is also allowed to input AT commands and output URCs. Please try some other setting to redirect NMEA to the desired interface.
Mode 3 is GPS standalone mode with no need for network connection and pre-configuration. Other modes are assisted modes which require PIN and network access.
Please also see this thread:
https://iot-developer.thalesgroup.com/threads/ehs8-gps-configuration
Best regards,
Bartłomiej
AT^SGPSC?
^SGPSC: "Engine","1"
^SGPSC: "Nmea/Output","on"
^SGPSC: "Nmea/Freq","1"
^SGPSC: "Nmea/Data","GGA,GSA,GSV,RMC,VTG"
^SGPSC: "Nmea/Interface","local"
^SGPSC: "Power/Antenna","auto"
^SGPSC: "Mode/Antenna","0"
^SGPSC: "Assist/Address","FQDN","supl.google.com","7276"
^SGPSC: "Assist/Data"
^SGPSC: "Assist/Connection"
OK
For me is ok to have the nmea output on the ttyACM5, I pretend to use that serial device for gps. And ttyACM0 for modem connections. The most embarrasing thing is the fact, that if there is not gps acquistion in at less 3-4 minutes, GPS engine, goes off, and I have to enable it again, and again..
What are valid values instead of local for ^SGPSC: "Nmea/Interface","local"?
Hello,
You can configure the following ports: “asc0“, “usb0“, “usb3“, “usb4“, “usb5“.
When you do so the port will be reserved for NMEA output exclusively and no AT commands or URC presentation will be possible on that port. Please try.
The GPS engine should not stop by itself.
In “local“ mode the NMEA goes to the interface that was used for starting the engine and AT commands or URC's are still possible on that port.
You can find more in the AT commands specification document.
In case there still is a problem please post the ATI1 reply to check the firmware version.
Regards,
Bartłomiej
I have the same problem as Francisra. And I tried all the solution you recommended, but the Gps engine still stop after few minutes.
That is my ATI1 reply:
ATI1
A
Cinterion
EHS8
REVISION 03.001
A-REVISION 00.000.14
eHS
OK
---------------------------------------
Thank you
Hello,
Please see this thread:
https://iot-developer.thalesgroup.com/threads/ehs8-and-gps-configuration...
We had similar problems there.
The engine stops if it is not able to get a fix. Different problems may contribute to this. First you should start with making sure that the configuration is correct and if it's appropriate for the antenna type that you have (active or passive), and if the antenna has a skye visibility.
Best regards,
Bartłomiej
You were right. After I configurate my antenna, the engine does not stop anymore.
Thank you