add nfc_device_name() routine to allow external languages to extract device name

This commit is contained in:
Adam Laurie 2009-12-14 19:18:29 +00:00
parent 6a97e694ec
commit 51854f508c
2 changed files with 15 additions and 0 deletions

View file

@ -251,6 +251,14 @@ bool nfc_target_send_dep_bytes(const nfc_device_t* pnd, const byte_t* pbtTx, con
*/
const char* nfc_version(void);
/**
* @fn const char*nfc_device_name(nfc_device_t* pnd)
* @brief Returns the device name
* @return Returns a string with the device name
*/
const char* nfc_device_name(nfc_device_t* pnd);
#ifdef __cplusplus
}
#endif // __cplusplus