Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time is Transmitted without local offset #52

Closed
EndlessEden opened this issue Jul 22, 2022 · 2 comments
Closed

Time is Transmitted without local offset #52

EndlessEden opened this issue Jul 22, 2022 · 2 comments

Comments

@EndlessEden
Copy link

dabmod is transmitting the timesync in RTC of the host, on linux this is typically UTC as offsets for local time are done in software.
However, Hardware DAB Receivers expect Local Time Offset as is normally transmitted by DAB Broadcasters, not UTC, causing receiver to desync.

@mpbraendli
Copy link
Member

ODR-DabMod does not change the time information it receives from ODR-DabMux. The timezone setting of the machine running ODR-DabMod is irrelevant.

ODR-DabMux sets LTO either according to its configuration file, or derives it from the TZ environment variable. See https://github.com/Opendigitalradio/ODR-DabMux/blob/master/doc/example.mux#L108

You may keep your system in UTC, but launch odr-dabmux with the TZ environment variable set to your local timezone and your DAB receivers will show correct time.

@EndlessEden
Copy link
Author

i was unaware it was getting it from dabmux, will look into it. ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants