summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-11 12:32:41 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-11 12:32:41 +0000
commitb89766bedaa4143db4aa54496cc3ad459fc6996c (patch)
tree91e00b70309fab5542bd51d35a361e209f286702 /HACKING
parentd56e47611cb5d2966bd7eb923dcb51bd8c66fcd0 (diff)
downloadgpsd-b89766bedaa4143db4aa54496cc3ad459fc6996c.tar.gz
Architecture extension; handle variable sample rates.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING6
1 files changed, 6 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index d75181cb..a626ce81 100644
--- a/HACKING
+++ b/HACKING
@@ -650,6 +650,12 @@ baud rate.
A typical budget is GGA, RMC, GSA, 3*GSV = 82+75+67+(3*60) = 404.
+When you write a driver that includes the capability to change
+sampling rates, you must fill in the cycle_chars member with
+a maximum character length so the daemon framework code will
+be able to compute when a sample-rate change will work. If
+you have to estimate this number, err on the high side.
+
** Blind alleys
Things we've considered doing and rejected.