gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] GPSd with Broadcom bcm4752


From: amacias
Subject: Re: [gpsd-dev] GPSd with Broadcom bcm4752
Date: Wed, 18 May 2016 08:43:59 +0200
User-agent: Roundcube Webmail

Hi GPSD people,
The format of /dev/ttyMFD1 data is not known, but reverse engineering of Android's "gpsd" shows ASN1C files. So probably the data is ASN1 encoded or DER encoded.

Also the "gpsd" must send some kind of data to initialize the device. If you start the device and run a "cat /dev/ttyMFD1" command you will see that nothing appears.


And there is a control socket too /data/gps/glgpsctrl that recognizes "pglirm" commands. If you search in Google "gps pglirm" you will se a PDF called "i.MX27 PDK 1.0 Linux GPS-B User's Guide - Element14" that describes some of these commands.

https://www.google.es/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiN-vbxgOPMAhUDtBQKHdHHA1sQFgglMAA&url=https%3A%2F%2Fwww.element14.com%2Fcommunity%2Fservlet%2FJiveServlet%2FdownloadBody%2F32525-102-4-243814%2FFreescale-i.MX27-MCIMX27VOP4A-Learning%2520Centre%2520MCU-User%2520Manuals-Freescale.User_Guide_2.pdf&usg=AFQjCNGMvhUWXuad-Bw1HCzLwPkAAqURbQ&bvm=bv.122129774,d.d24

I use the attached "device-hook" file to activate and deactivate the GPS.

So, in order to send you a sample I have to start the Android's "gpsd", send a '$pglirm,req_pos,gpsd00,50' command to the control socket, and after that perform a "cat /dev/ttyMFD1". But that will be two different pieces of software ("gpsd" and "cat") accesing to the same /dev/ttyMFD1 at the same time. That would probably be a corrupted sample.

Best regards!


El 17-05-2016 20:17, Gary E. Miller escribió:
Yo amacias!

On Tue, 17 May 2016 12:54:18 +0200
amacias <address@hidden> wrote:

Is a software that reads binay data from /dev/ttyMFD1 and gives to
you NMEA data in a socket (similar to /tmp/nmeaNP in Gllin).

Is the format of the /dev/ttyMFD1 data known?  Can you send this
list a sample?  Maybe GPSD could read that directly with some work.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: device-hook
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]