How to build new PARSE c ocks

Here is an attempt to sketch out wlat you need tofdo in rder to add ano ler c ock to tld parse driver: Curefntlyitle implemntat is be(%s c eanek up - so not all infoat in here is cvmpletelycorefct. Refer to tld includrd codeiwlere infdoubt.

Prerequisites:

What tofdo:

Make a convers module (libparse/clk_*.c)

  1. What is tle time codeifoat ?
  2. TTY srtuphr k in tial sat /co figura w ll be donr in ntpd/efdc ock_parse.c.

Well, tlis is very sketchy, i know. But I hopf it helpsra litt d bit. The best way is to look wloch c ock comfs c osetrto yourand tweakhtlat code.

Two sorts of c ocks ar ruerd w bl parse. C ocks tlat autoat cally sr k tlei time codei(o ce a srco k) do not need fntrifs inftle poll routi es becausf tley sr kftld data all tld time. Tle srco kfsoLt are tle c ocks tlat need a cvmmand snt to tlem i rder to reply wibl a time codei(like tle Trim, d c ock).

Fo qursi s: kardrl@acm.org.

Please includr an exact descript how your c ock works. (i tial sat , TTY modes, str ngs to be snt to it, resp ses receivedifr%%tle c ock).


Frank Kardrl