* @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