×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

lx200 classic/skychart/indi over wifi

  • Posts: 276
  • Thank you received: 52
Hello all, first post here!

I am trying to use INDI/Skychart to control an lx200 classic running 3.4 roms across TCP/wifi to the scope

Every time I attempt a slew, IDNI starts reporting 'Error reading RA/DEC'

Two things:
1) The 3.4 roms upon receiving a ":D#" returns 33 bytes.
The code in lx200driver.cpp IsSlewComplete asks for 8 bytes not 33
I changed this to 33 but still have the same issue
// OLD error_type = tty_nread_section(fd, data, 8, '#', LX200_TIMEOUT, &nbytes_read);
error_type = tty_nread_section(fd, data, 33, '#', LX200_TIMEOUT, &nbytes_read);

2) Are scope commands thread safe?
Doing a tcpdump against the link port on the remote machine connected to the scope I see
multiple simultaneous commands issued prior to the first response being received.
I.E.
INDI sends :D#, remote starts sending but prior to all 33 bytes being received (only part of the 33) then :GR#:GD# is sent
the remote completes the 33 send and then the response to :GR#:GD# is sent.

Attached is a wireshark pcap of the tcp communications showing this.

Thanks for any insight!

Gene

File Attachment:

File Name: lx200snipit.zip
File Size:0 KB
4 years 11 months ago #38766
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Seems my ' : D # 's commands got replaced by emoji's :(

The indi_lx200_basic driver works, just no bells and whistles trying to readout the distance from target response
4 years 11 months ago #38773

Please Log in or Create an account to join the conversation.

Time to create page: 0.308 seconds