hzeller / txtempus

A DCF77, WWVB, JJY and MSF clock LF-band signal transmitter using the Raspberry Pi
GNU General Public License v3.0
415 stars 67 forks source link

Is it possible to add BPC signal support? #16

Closed Koukotsukan closed 3 years ago

Koukotsukan commented 3 years ago

Reference: https://en.wikipedia.org/wiki/BPC_(time_signal) https://github.com/zenboss/BPC.js/blob/master/bpc.js

hzeller commented 3 years ago

It should be fairly straightforward in general, but looks like documentation is not really available.

If you want, you can try starting from the JavaScript code you mentioned and extract what the format is from there. Have a look at the interface to implement: https://github.com/hzeller/txtempus/blob/master/time-signal-source.h

If you have such a watch or clock to receive the signal, you can verify if it works. The, please send a pull request with a new file bpc-source.cc and the necessary changes in main to wire it up.

Koukotsukan commented 3 years ago

Thank you