|
@@ -62,7 +62,7 @@ interface IBridgeService {
|
|
boolean requestGetProperties(in String device_uuid, in String resource_uri) ;
|
|
boolean requestGetProperties(in String device_uuid, in String resource_uri) ;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * request Posting/Putting the value of properties to the remote OCF device
|
|
|
|
|
|
+ * request Posting the value of properties to the remote OCF device
|
|
* @param device_uuid unique identity of ocf device (eg. 15ba3c25-8cdd-41f8-6f9e-fe49105dce0a)
|
|
* @param device_uuid unique identity of ocf device (eg. 15ba3c25-8cdd-41f8-6f9e-fe49105dce0a)
|
|
* @param resource_uri uri of ocf resource (eg. /a/light)
|
|
* @param resource_uri uri of ocf resource (eg. /a/light)
|
|
* @param prop_data the property values of the resource (eg. { "power" : true, "level" : 100 }
|
|
* @param prop_data the property values of the resource (eg. { "power" : true, "level" : 100 }
|
|
@@ -72,6 +72,17 @@ interface IBridgeService {
|
|
*/
|
|
*/
|
|
boolean requestPostProperties(in String device_uuid, in String resource_uri, in String prop_data) ;
|
|
boolean requestPostProperties(in String device_uuid, in String resource_uri, in String prop_data) ;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * request Putting the value of properties to the remote OCF device
|
|
|
|
+ * @param device_uuid unique identity of ocf device (eg. 15ba3c25-8cdd-41f8-6f9e-fe49105dce0a)
|
|
|
|
+ * @param resource_uri uri of ocf resource (eg. /a/light)
|
|
|
|
+ * @param prop_data the property values of the resource (eg. { "power" : true, "level" : 100 }
|
|
|
|
+ * @return
|
|
|
|
+ * - true : function call success,
|
|
|
|
+ * - false : function call fail
|
|
|
|
+ */
|
|
|
|
+ boolean requestPutProperties(String device_uuid, String resource_uri, String prop_data);
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* request Observing all properties of the resource to the remote OCF device
|
|
* request Observing all properties of the resource to the remote OCF device
|
|
* @param device_uuid unique identity of ocf device (eg. 15ba3c25-8cdd-41f8-6f9e-fe49105dce0a)
|
|
* @param device_uuid unique identity of ocf device (eg. 15ba3c25-8cdd-41f8-6f9e-fe49105dce0a)
|
|
@@ -108,6 +119,6 @@ interface IBridgeService {
|
|
* - true : function call success,
|
|
* - true : function call success,
|
|
* - false : function call fail
|
|
* - false : function call fail
|
|
*/
|
|
*/
|
|
- boolean requestStopObserveDeviceAllResources(in String device_uuid) ;
|
|
|
|
|
|
+ boolean requestStopObserveDeviceSpecificResources(in String device_uuid) ;
|
|
|
|
|
|
}
|
|
}
|