Version 2 (modified by 14 years ago) (diff) | ,
---|
Resource Access Interface
There is no single resource access interface in the SENSEI architecture, instead each resource description published by a REP includes information about the interface(s) available to access it, for example the URL and interface description. In order for Resource Users to easily access resources, a set of well-known resource interfaces have been defined for sensor, parameter, actuator and code-update resource types.
How to connect to these URLs using REST is described in the Connecting a Resource User section. A short example of how a response looks like is this:
<rdf:RDF> <nmib:Location mo:direction="" mo:hasTimeStamp="" mo:latitude="" mo:line="24" mo:longitude="" mo:nextStationDistance="" mo:nextStationID="" mo:nextStationName="" rdf:about="http://www.resource-provider-456.com/resources#location"/> </rdf:RDF>
All responses are in the XML-RDF format so that the Semantic Query Analyser can work with them. How a Resource User gets this reference is by either querying an SQR or an RD.