New post
0

What Is The Connection Establishment Protocol When Interfacing With "Basic Encoder" Using DIY Arduino-Based System? (Workaround: Use Port 3000 - Read On!)

Hello,

Myself and other enthusiasts are using the wonderful SkySafari Plus to interface with a "Basic Encoder" DIY Arduino-based system described in the post below [1].

However the connection establishment is very failure prone with the "Connection Failure, SkySafari Plus can make a wireless connection to the scope, but the scope is not responding" message. We generally have to try several times before connection is successful, and once it is successful, everything works wonderfully.

In debugging this, I notice that SkySafari Plus immediately establishes a TCP connection to the telescope and issues a "GET /setserial?baud=9600&parity=N&data=8&stop=1 HTTP/1.1" http request. I have tried sending back HTTP responses but still have the intermittent problems.

Can SkySafari experts say a bit more about what SkySafari expects?

Thank you,
Papa

[1] https://www.cloudynights.com/topic/753765-diy-digital-setting-circles-wifi-bluetooth-with-2-encoders/

7 comments

  • Avatar
    Keiron Smith Official comment
  • 0
    Avatar
    Keiron Smith
  • 0
    Avatar
    Stuart Powell

    Did you ever get a response to this issue?  I'm having the same trouble.  I've had a couple of successful connections from SkySafari to my Digitial Setting Circles running on an ESP32 device, but most of the time it fails with this "GET /setserial?baud=9600&parity=N&data=8&stop=1 HTTP/1.1" error.  I would love to work out how to solve this.

  • 0
    Avatar
    Stuart Powell

    I eventually found a workaround for this.  If you use port 80 for the telescope WiFi connection, you receive the "GET..." string above.  I think this is just a bug, as there is no HTTP session established, so trying to respond to the GET doesn't work.  (Something for SkySafari to fix, I think.)

    However, if you use a different port (I used 3000), it works as expected, the "Q" character is sent and the telescope can respond with the digital setting circle readings.

  • 0
    Avatar
    Keiron Smith

    Excellent troubleshooting, Stuart!

    Developers will review your reports. - thank you!

  • 0
    Avatar
    Keiron Smith

    Please confirm are you using SS6 or SS7?

  • 0
    Avatar
    Stuart Powell

    Thanks - I'm using SS7

Please sign in to leave a comment.