New post
0

SkySafari 5 Plus | Which Is The Correct Or Expected Celestron Programming Reply For Answering To "Set Comm Open 0"? (Answer: "AOK")

Hello!
I am trying to develope a wifi interface board for a Celestron AS-GT mount. When I try to connect Safary 5 Plus with the interface, after the initial "$$$" answered by "CMD", I receive the command "set comm open 0", so I try to answer to this with "AOK". The connection stops and I find an error -13 on the log. I tried many others answers without success. I was thinking that Celestron WiFi was using the same protocol of WiFly.
Which is the correct or expected word for answering to "set comm open 0" ? 
Thanks and best regards
Fabio Pescatori
Rome - Italy

8 comments

  • 0
    Avatar
    Bill Tschumy

    Fabio,

    Are you actually talking about the Celestron WiFi scope type that bypasses the hand controller.  This is a Celestron proprietary protocol that would be pretty much impossible for a 3rd party to implement.

    Our are you talking about the standard Celestron protocol for talking through the hand controller?

  • 0
    Avatar
    Fabio Pescatori

    Hi Bill,

    Thank you for answering me so quickly.

    I have developed a board based on Arduino with GPS, RTC and WiFi that is able to communicate with the CG5 AS-GT mount that has none of these features. Yes, I am bypassing the hand controller. The HC can still be used but is now connected to the board. By using the SkyQLink and NexRemote I can already manage the mount. To complete my work I would like that SkySafari could control the telescope. SkySafari is expecting one particular aknowledgement word to the "set comm open 0" but I don't know what it is. Could you help me to obtain this information? 

    Thank you, best regards

    Fabio

  • 0
    Avatar
    Bill Tschumy

    Fabio,

    I looks like it is expecting the response:

    "AOK"

    I really cannot give you much more support on this project.  I am scrambling to get the new Android version out.

  • 0
    Avatar
    Fabio Pescatori

    Bill,

    I have tried to use the "AOK" but until now I have obtained "error -13" into the log.

    Anyway, thank you very much for answering me. I like very much SkySafari so that I will do some more attempts.

    All these things are about my hobbies and my work so I'm very excited to get results.

    Best regards

    Fabio

  • 0
    Avatar
    Bill Tschumy

    Error -13 is a timeout error.  It means we didn't get a response in the allotted time (2 seconds I think).  I don't believe you would get this if the wrong value is being returned.

  • 0
    Avatar
    Fabio Pescatori

    Thank you! A good information to let me to continue.

    /Fabio

  • 0
    Avatar
    Fabio Pescatori

    Hi Bill,

    just to say that I have solved the timeout errors by echoing the "set comm ... 0" commands before sending the "AOK".

    Now I am pleased to say that I am enjoying to use SkySafari to control my "Celestron CG5 mount", enhanced with GPS and Wifi.

    Best regards,

    Fabio

  • 0
    Avatar
    Bill Tschumy

    Glad to hear it is working for you.

Please sign in to leave a comment.