I had some good experiences with many devices of sending Data to the ubidots cloud, many thanks to all Ubidots supporter! Now i wanted to start with a Software client which updates Datas to Ubidots, the only thing is, that there is no example code for this type of software. The Software is from a german supplier cald IASNT which is a Soft PLC automation system. There are some HTTP PUT/Get Fuction already provided, which i only have to complete with some parameters, and there is the point where i need some help:
The Code which i want to change is from a Ubidots Example of the
Linkitone-board. The Upload part is as the folow:
Now i would like to Upload these structure from this new software Client.
The problem is, that the client i want to use is written in SCL (structered control language) so there is no example for that language.
There is a HTTP Upload function in this client which looks like that:
_HOST_ADDR := '192.168.0.101', // IP-Adresse der IP-CAM_
_REQ_RES_NAME := 'camera-cgi/com/ptz.cgi?move=left', //_
_USERNAME := 'Admin', // Benutzername_
_PASSWORD := 'Admin', // Passwort_
_REQ_METHOD := 1, // Request-Methode: 0 = GET, 1 = POST_
_SEND_REQ := bHttpReqSend,_
_STATUS => diStatus,_
_RESP_HDR_DATA => strRespHeaderData_
Now my qestion is that could it be a solution to replace the "REQ_RES_NAME" ->Sttring to the string which is combinated by the client.print(F)- structure?
I am also in contact with the other company, there is no online help available at the moment.
Thanks for any help and BR from switzerland!