gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] gpsd-dev Digest, Vol 94, Issue 13 (Gary E. Miller)


From: Sharmila
Subject: Re: [gpsd-dev] gpsd-dev Digest, Vol 94, Issue 13 (Gary E. Miller)
Date: Tue, 24 Sep 2019 12:23:19 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Hi gary,

I am using gpsd deamon for getting the gps data. I have to get the software and hardware version in my client application. After digging into the gpsd source code I got to know that devconfig_t structure in gps.h file is having subtype field which is actually software and hardware version. But when I print the same in my client application it is not displaying any data.

Steps I followed:

1. query UBX-MON command

2. read the data

According to my observation ubx_msg_mon_ver function is calculating the version and copying to server side subtype field as shown below

/* save what we can */
    (void)strlcpy(session->subtype, obuf, sizeof(session->subtype));

The json_devicelist_read and json_device_dump is for copying to client json buffer.

But as I told before I am not receiving any data in client side ie gps_data_t.devices.list[0].subtype

Can you please help me on this.

Thank you,

Regards,

Sharmila


On 17/07/19 09:24, Sharmila wrote:
Hi gary,

Can you please tell the procedure to change the CFG-NAV5 Dynmode using gpsd without using any tool. In my case it is set to portable mode.

Regards,

Sharmila


On Saturday 13 July 2019 10:45 AM, Sharmila wrote:
Re: gpsd-dev Digest, Vol 94, Issue 13 (Gary E. Miller)


reply via email to

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