mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-23 18:50:05 +00:00
Make pn53x_transceive() a public API function
This should unbreak examples build on Windows.
This commit is contained in:
parent
14f48d0122
commit
83df8c40b4
@ -131,6 +131,8 @@ NFC_EXPORT int nfc_device_get_supported_baud_rate_target_mode(nfc_device *pnd, c
|
||||
NFC_EXPORT int nfc_device_set_property_int(nfc_device *pnd, const nfc_property property, const int value);
|
||||
NFC_EXPORT int nfc_device_set_property_bool(nfc_device *pnd, const nfc_property property, const bool bEnable);
|
||||
|
||||
NFC_EXPORT int pn53x_transceive(struct nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRxLen, int timeout);
|
||||
|
||||
/* Misc. functions */
|
||||
NFC_EXPORT void iso14443a_crc(uint8_t *pbtData, size_t szLen, uint8_t *pbtCrc);
|
||||
NFC_EXPORT void iso14443a_crc_append(uint8_t *pbtData, size_t szLen);
|
||||
|
||||
@ -302,7 +302,6 @@ extern const uint8_t pn53x_ack_frame[PN53x_ACK_FRAME__LEN];
|
||||
extern const uint8_t pn53x_nack_frame[PN53x_ACK_FRAME__LEN];
|
||||
|
||||
int pn53x_init(struct nfc_device *pnd);
|
||||
int pn53x_transceive(struct nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRxLen, int timeout);
|
||||
|
||||
int pn53x_set_parameters(struct nfc_device *pnd, const uint8_t ui8Value, const bool bEnable);
|
||||
int pn53x_set_tx_bits(struct nfc_device *pnd, const uint8_t ui8Bits);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user