From c1f33130d9d2100e6232f8f3c782949c75205be6 Mon Sep 17 00:00:00 2001 From: Daniel Tomas Date: Thu, 21 Apr 2011 14:11:28 -0700 Subject: Patch to enable low level traces. This patch permit to display the NFC frames exchanged through the I2C line. To enable that, you just need to enable LOW_LEVEL_TRACES macro. Change-Id: Ica2ff2e6d111b76c056161ec557346f23d21ada0 --- src/phOsalNfc.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/phOsalNfc.h b/src/phOsalNfc.h index ad55066..246c2e6 100644 --- a/src/phOsalNfc.h +++ b/src/phOsalNfc.h @@ -154,6 +154,19 @@ void phOsalNfc_DbgTrace(uint8_t data[], uint32_t size); */ void phOsalNfc_DbgString(const char *pString); +/*! + * \ingroup grp_osal_nfc + * \brief Print data buffer + * + * Outputs given string to debug port. + * + * \param[in] pString pointer to string to be displayed. + * \param[in] length number of bytes to be displayed. + * \param[in] pBuffer pointer to data bytes to be displayed. + * + * \retval None + */ +void phOsalNfc_PrintData(const char *pString, uint32_t length, uint8_t *pBuffer); /*! * \ingroup grp_osal_nfc -- cgit v1.1