replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / connectivity / inc / canfcinterface.h
index 8cbd642..3a906ee 100644 (file)
@@ -52,9 +52,10 @@ typedef enum
  * @param[in]  endpoint    network endpoint description\r
  * @param[in]  data        Data received from remote OIC device.\r
  * @param[in]  dataLength  Length of data in bytes.\r
+ * @return ::CA_STATUS_OK or ERROR CODES (::CAResult_t error codes in cacommon.h).\r
  */\r
-typedef void (*CANFCPacketReceivedCallback)(const CASecureEndpoint_t *endpoint, const void *data,\r
-                                            uint32_t dataLength);\r
+typedef CAResult_t (*CANFCPacketReceivedCallback)(const CASecureEndpoint_t *endpoint,\r
+                                                  const void *data, uint32_t dataLength);\r
 \r
 /**\r
   * Callback to notify error in the NFC adapter.\r