Hello,
we try to access our connect ports via sci tunneling rci. We already have the rci spec “90000569_d.pdf”, but we can’t find the SCI spec. Is there somebody with any hint for us?
Cheers,
Michael
Hello,
we try to access our connect ports via sci tunneling rci. We already have the rci spec “90000569_d.pdf”, but we can’t find the SCI spec. Is there somebody with any hint for us?
Cheers,
Michael
Hello,
If you take a look at http://www.idigi.com/resources.jsp you will find the document iDigi Web Services and Device Management Overview. Starting on page 9, this document contains some information on getting started with SCI.
Here is a typical SCI request:
[pre]
[/pre]
This would be posted to the device connectivity server you are using, to the path /ws/sci. For example: [i]http://sd1-na.idigi.com/ws/sci[/i]
In the targets element, you can specify one or multiple devices. If you want to send a request to all devices that you have connected, specify a single device under the targets element and set the id to all.
The RCI request can be whatever RCI request you would like to be tunneled to the device.
There are a couple optional attributes that can be specified for the send_message command.
cache=“false” - The server caches information such as device state, and by default will respond to requests from this cache. To force a request to be served by the device, this attribute can be added to the send_message element.
e.g. …
reply=“none” - By default, the web service call will wait for all of the requests to be processed and then return the results in the body of the response. Specifying this attribute indicates that you want the call to return immediately after submitting the request, and that you do not care about the responses.
e.g. …
Thanks,
Chris
Thanks for your reply, Chris.
I already saw this short examples in the mentioned PDF. But I expected a full spec for the SCI protocol, containing a description of all SCI commands (i.e. XML tags and attributes). E.g. for fetching device lists and data from the iDigi platform. And not only some few examples for tunneling RCI requests. Is there any document like this?
Thank you,
Michael
Hello,
Currently there isn’t a full specification written up for SCI on the same level as the RCI specification document. For the most part it’s a pretty thin wrapper around RCI.
There is also the temporary data store web services, but those are more REST based, so you just do GET and DELETE and such, rather than having to form XML.
There is another post in this forum how on how to retrieve a device list for instance, and it makes use of either the thin wrapping of SCI to send a query to available devices, and then see who responds back, or to try and infer similar information from the data web services.
If there is a particular format you’d like to see, or perhaps some more use cases covered, let me know and I’ll see what I can do.
Thanks,
Chris