×

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

Bi-monthly release with minor bug fixes and improvements

How to set the frame type in the INdi C++ client?

  • Posts: 1
  • Thank you received: 0
Hello all, 

I have really tried to figure out the method for setting the INDI CCD client FRAME_TYPE but I can't. It is straightforward eough to set the other parameters like temperature (Number type), but I cannot figure out how to set a Switch type. Please assist. 

Thanks
Kgothatso 
2 years 5 months ago #77611

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

Can you show us what you're working on exactly? Once you have ISwitchVectorProperty or INDI::SwitchProperty, you can set it directly (e.g. FooS[0].s = ISS_ON), then call the client's sendNewSwitch(&FooSP) for example to send it to the server.
2 years 5 months ago #77612

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

Time to create page: 0.334 seconds