×

INDI Library v2.0.1 Released (06 Apr 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements. An important feature for this release is the full support for XISF file format which is used by PixInsight. INDI cameras can now natively capture in XISF format.

INDI 1.9 protocol documentation

  • Posts: 62
  • Thank you received: 28
Hi everyone, I am trying to learn a bit more about the indi protocol and trying to build my own client to let it talk to the indiserver so I can get a better grasp on how the entire communication works.
The only official protocol document I find is still for the version 1.7, is there any place where I can found an updated document of the protocol?
Running Kstars/INDI on ArchLinux x64
Wanna try an alternative 64 bit distro for raspberry pis? Try AstroArch => github.com/devDucks/astroarch
Mantaining AUR packages for indi (libs and drivers) aur.archlinux.org/packages?O=0&SeB=nd&K=...SO=d&PP=50&submit=Go
1 year 7 months ago #76310

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

That is the last one released as far as the wire protocol is concerned. There is one minor adjustment that I don't believe made it to the protocol regarding IDSetBLOB having a len attribute.. that's pretty much it. Nothing changed since then.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 7 months ago #76311

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

  • Posts: 62
  • Thank you received: 28
Thanks Jasem!

I just started to send and receive messages, I have some more questions about the server response, not sure if this is the right place or not.
I ask for all devices properties sending a <getProperties version=1.9 /> to the server and I poll my socket to see if there is any data, I read the data and I get back some XML that looks like this gist.github.com/MattBlack85/d44f658a933cce4e15461b3b9f689ed9

Since I am polling the socket I get often a bunch of messages together and that's the reason why i see a lot of deleteProperty? every time the server fetches new properties from a device it sends back a deleteProperty of the given device plus the properties fetched until that moment?
I don't understand well why (what I think is) the final response with all the properties contains duplicate properties like
<setTextVector device="CCD Simulator" name="DRIVER_INFO" state="Idle" timeout="60" timestamp="2021-10-05T13:13:02">
  <oneText name="DRIVER_NAME">CCD Simulator</oneText>
  <oneText name="DRIVER_EXEC">indi_simulator_ccd</oneText>
  <oneText name="DRIVER_VERSION">1.0</oneText>
  <oneText name="DRIVER_INTERFACE">6</oneText>
</setTextVector>
<setTextVector device="CCD Simulator" name="DRIVER_INFO" state="Idle" timeout="60" timestamp="2021-10-05T13:13:02">
  <oneText name="DRIVER_NAME">CCD Simulator</oneText>
  <oneText name="DRIVER_EXEC">indi_simulator_ccd</oneText>
  <oneText name="DRIVER_VERSION">1.0</oneText>
  <oneText name="DRIVER_INTERFACE">6</oneText>
</setTextVector>

is this expected?
Running Kstars/INDI on ArchLinux x64
Wanna try an alternative 64 bit distro for raspberry pis? Try AstroArch => github.com/devDucks/astroarch
Mantaining AUR packages for indi (libs and drivers) aur.archlinux.org/packages?O=0&SeB=nd&K=...SO=d&PP=50&submit=Go
Last edit: 1 year 7 months ago by Mattia.
1 year 7 months ago #76362

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

Try this:
<getProperties version="1.7"/>

Remember wire protocol version 1.7, it's not the INDI library version (1.9.3 now).
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Mattia
1 year 7 months ago #76363

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

  • Posts: 62
  • Thank you received: 28
awesome, thanks so much Jasem, worked like a charm!
Running Kstars/INDI on ArchLinux x64
Wanna try an alternative 64 bit distro for raspberry pis? Try AstroArch => github.com/devDucks/astroarch
Mantaining AUR packages for indi (libs and drivers) aur.archlinux.org/packages?O=0&SeB=nd&K=...SO=d&PP=50&submit=Go
1 year 7 months ago #76364

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

Time to create page: 0.818 seconds