gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] gps_read () message buffer


From: Charles Curley
Subject: [gpsd-users] gps_read () message buffer
Date: Tue, 26 Feb 2019 16:01:08 -0700

Having done a bit of sleuthing in the gpsd source, I think I have some
additional documentation for gps_read. See the attached diff.

Please check it for accuracy!

One request....

* I found the value for the size of the buffer by reading the source for
  cgps, and tracking down where GPS_JSON_RESPONSE_MAX was defined, in
  gps_json.h. That value is likely to grow in the future. Would you
  please provide a suitable #define in gps.h?

Thank you

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com

Attachment: gps_read.txt
Description: Text document


reply via email to

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