Hi all,
i'm trying to write indi drivers for a domotic server called "IPX800"...
I don't understand how to get IP adress and port from Connection Tab...(from a class derived from Dome)
Also how can I send special http request....which procedure should I use ?
I don't found example...
My C++ is a bit "rusty"...
Well...I've found this to know Address and port...but that means that user should have previously saved his configuration...not satisfaying...
Reading API and codes...I don't understand how to use Standard Properties in other way than reading config files...
Well ...some news.
I've found the tcpConnection member and his two procedures...port() and host()...I didn't saw them...
I'm facing another problem. I try to run my proto-driver as 3rd party...I've compiled it alone, with last 3rd party sources...produced without problem
but...
sudo indiserver -vvv indi_ipx800_v4
give me :
2019-10-16T23:08:57: startup: indiserver -vvv indi_ipx800_v4
2019-10-16T23:08:57: Driver indi_ipx800_v4: pid=28113 rfd=3 wfd=6 efd=72019-10-16T23:08:57: listening to port 7624 on fd 42019-10-16T23:08:57: Driver indi_ipx800_v4: sending msg copy 1 nq 1:
<getProperties version='1.7'/>
2019-10-16T23:08:57: Driver indi_ipx800_v4: stderr EOF
Child process 28113 died
and so on...10 times...
Anyone ...knows what's the problem or where I should take a look...
Thanks.