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

Add Clock set #851

Closed
mdblack98 opened this issue Nov 3, 2021 · 3 comments
Closed

Add Clock set #851

mdblack98 opened this issue Nov 3, 2021 · 3 comments

Comments

@mdblack98
Copy link
Contributor

mdblack98 commented Nov 3, 2021

rig_set_clock(rig,
Should work for these rigs on startup.
ic7100, ic7300, ic7600, ic7610, ic7700, ic7800, ic7851
UTC or local

Yaesu FT991A
Set Date: DT0yyyymmdd;
Set UTC Time: DT1HHMMSS;
Set Time Zone Offset: DT2[-]HHMM;

@mdblack98 mdblack98 added this to the 4.4 milestone Nov 3, 2021
@mdblack98 mdblack98 changed the title Add ICOM Clock set Add Clock set Nov 4, 2021
@mdblack98 mdblack98 modified the milestones: 4.4, 4.5 Nov 24, 2021
mdblack98 added a commit that referenced this issue Dec 1, 2021
@mdblack98 mdblack98 modified the milestones: 4.4, 4.5 Dec 2, 2021
@mdblack98
Copy link
Contributor Author

Icom rig routines could be normalize to an icom_set/get_clock with just the two added command bytes for the 1A05 command differences between rigs.
Need to check rest of Icom rigs
Yaesu rigs still needed

@mdblack98
Copy link
Contributor Author

Implemented local and utc set options
So this works now
rigctl set_clock utc
rigctl set_clock local
b11f2e4

@mdblack98 mdblack98 reopened this Dec 6, 2021
@mdblack98 mdblack98 added the bug label Dec 6, 2021
mdblack98 added a commit that referenced this issue Dec 6, 2021
Fix msys ISO8601 date time string -- hopefully portable everywhere
@mdblack98
Copy link
Contributor Author

Argghh...strftime does not work properly on msys build
Rig command: \set_clock utc
194129Central Standard Time: rigctl_parse: cmd=(5c)
194129Central Standard Time: rigctl_parse: cmd=set_clock
195109Central Standard Time: rigctl_parse: vfo_opt=0
195109Central Standard Time: rigctl_parse.c(5226):rigctl_set_clock entered
195109Central Standard Time: rigctl_set_clock: utc time set = 195109Central Standard Time
195109Central Standard Time: rigctl_set_clock: n=1, 1951-01-00T-1:-1:-1.0.000+00
195109Central Standard Time: rigctl_set_clock: utc_offset=0
195109Central Standard Time: rigctl_set_clock: utc_offset=0
195109Central Standard Time: dummy_set_clock: 1951-01-00T-1:-1:-1.0.000+00

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

No branches or pull requests

1 participant