Move CASetSecureEndpointUuid APIs
[platform/upstream/iotivity.git] / resource / csdk / connectivity / api / cautilinterface.h
index 1b14968..563c781 100644 (file)
@@ -435,6 +435,17 @@ CAResult_t CAUtilTCPDisconnectSession(const char *address,
  */
 void CAUtilSkipTCPCloseOnInterfaceDown(bool state);
 
+
+/**
+ * Set a secure endpoint identity with uuid.
+ *
+ * @param[in]   peer     peer information includs IP address and port.
+ * @param[in]   uuid     UUID of target device.
+ *
+ * @return  ::CA_STATUS_OK or ERROR CODES (::CAResult_t error codes in cacommon.h).
+ */
+CAResult_t CASetSecureEndpointUuid(const CAEndpoint_t *peer, const char *uuid);
+
 CAResult_t CAUtilStartGattServer();
 CAResult_t CAUtilStopGattServer();