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

enable more Meade commands #2121

Merged
merged 1 commit into from
Sep 26, 2024
Merged

enable more Meade commands #2121

merged 1 commit into from
Sep 26, 2024

Conversation

peteasa
Copy link
Contributor

@peteasa peteasa commented Sep 23, 2024

We have found it convenient to be able to send more Meade commands via the INDI Control Panel
The following commands are added

:XSRn.n# :XSDn.n# :XS... these command do not return values:
WARNING 564.754999 sec : Executed Meade Command error: -4 :XSD317.2# -> ''
WARNING 530.018348 sec : Executed Meade Command error: -4 :XSR315.5# -> ''

:Mgnxxxx# these commands do not return values:
WARNING 1022.177341 sec : Executed Meade Command error: -4 :Mgn0200# -> ''
WARNING 2372.737374 sec : Executed Meade Command error: -4 :MGN0200# -> ''

:MXxnnnnn# these commands return a character:
WARNING 509.919341 sec : Executed Meade Command error: -4 :MXd00100# -> '1'

:SCMM/DD/YY# these commands return a string. Other :Sxxx# commands return a character

@knro
Copy link
Contributor

knro commented Sep 24, 2024

Thanks, are the warnings in the log present now?

@peteasa
Copy link
Contributor Author

peteasa commented Sep 25, 2024

with my code fixes these commands now work and produce no warnings in the debug log. Here are a set of the commands that I have tested today with the OpenAstroTracker version 1.13.6

Executed Meade Command Immediate: :XSR315.5#
Executed Meade Command: 1 :XGR# -> '315.5'
Executed Meade Command Immediate: :XSD317#
Executed Meade Command: 1 :XGD# -> '317.0'
Executed Meade Command Immediate: :Mgn0200#
Executed Meade Command: 1 :SC09/25/24# -> '1Updating Planetary Data'
Executed Meade Command: 1 :SL10:23:05# -> '1'
Executed Meade Command: 1 :Gr# -> '09:34:52'
Executed Meade Command: 1 :Gd# -> '+9000'00'
Executed Meade Command: 1 :GX# -> 'Tracking,--T---,0,0,3123,093933,+900000,,'
getCommandChar 3: :Sg000
33# -> '1'
getCommandChar 3: :St+05145# -> '1'
Executed Meade Command: 1 :St+051
45# -> '1'

@knro knro merged commit bae648e into indilib:master Sep 26, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants