Skip to content

Commit 14754f9

Browse files
maje-embrlubos
authored andcommitted
nfc: rev: 7fe330f3d71c305b4b07e66e0ace0c5ed94abc12
CHANGELOG.rst contains the list of changes. Signed-off-by: Marcin Jelinski <[email protected]>
1 parent f847c69 commit 14754f9

File tree

8 files changed

+21
-8
lines changed

8 files changed

+21
-8
lines changed

nfc/CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Changelog
99

1010
All notable changes to this project are documented in this file.
1111

12+
Main branch
13+
***********
14+
15+
Bug fixes
16+
=========
17+
18+
* The allocated data buffer for Type 4 Tag is divided into separate areas for TX (transmit) data and RX (receive) data.
19+
This allows for data retransmission in response to R(NAK).
20+
1221
nRF Connect SDK v2.7.0
1322
**********************
1423

nfc/include/nfc_platform.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ typedef void (* nfc_lib_cb_resolve_t)(const void * p_ctx, const uint8_t * p_data
5454
*
5555
* This function sets up clock managing interface, interrupts, callback
5656
* and other platform-specific components that are required for correct operation of
57-
* the NFC library. The function should save the nfc_lib_cb_call function pointer and set
57+
* the NFC library. The function should save the nfc_lib_cb_resolve function pointer and set
5858
* the interrupt priority for NFC.
5959
*
6060
* @param[in] nfc_lib_cb_resolve Pointer to the callback resolution function.
@@ -77,9 +77,9 @@ nrfx_err_t nfc_platform_setup(nfc_lib_cb_resolve_t nfc_lib_cb_resolve, uint8_t *
7777
*
7878
* @retval NRFX_SUCCESS The operation was successful.
7979
* @retval NRFX_ERROR_INVALID_LENGTH Length of the NFCID buffer is different than
80-
* NRFX_NFCT_NFCID1_SINGLE_SIZE,
81-
* NRFX_NFCT_NFCID1_DOUBLE_SIZE, or
82-
* NRFX_NFCT_NFCID1_TRIPLE_SIZE.
80+
* @ref NRFX_NFCT_NFCID1_SINGLE_SIZE,
81+
* @ref NRFX_NFCT_NFCID1_DOUBLE_SIZE, or
82+
* @ref NRFX_NFCT_NFCID1_TRIPLE_SIZE.
8383
*/
8484
nrfx_err_t nfc_platform_nfcid1_default_bytes_get(uint8_t * const p_nfcid1_buff,
8585
uint32_t nfcid1_buff_len);
@@ -131,7 +131,10 @@ void nfc_platform_cb_request(const void * p_ctx,
131131
* The buffer size varies for different NFC tag types:
132132
*
133133
* - NFC Type 2 Tag: 16 bytes @ref NFC_PLATFORM_T2T_BUFFER_SIZE
134-
* - NFC Type 4 Tag: 259 bytes @ref NFC_PLATFORM_T4T_BUFFER_SIZE
134+
* - NFC Type 4 Tag: 2*259 bytes @ref NFC_PLATFORM_T4T_BUFFER_SIZE
135+
*
136+
* The allocated buffer for NFC Type 4 Tag has separate areas for TX (transmit) and RX (receive) data.
137+
* Therefore, the required size is doubled.
135138
*
136139
* @param[in] size Size of the requested buffer in bytes.
137140
*

nfc/include/nfc_t4t_lib.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ typedef enum
154154
*
155155
* @param data Pointer to the fragment of APDU.
156156
* @param data_length Length of data.
157-
* @param flags nfc_t4t_data_ind_flags.
157+
* @param flags @ref nfc_t4t_data_ind_flags.
158158
*/
159159
} nfc_t4t_event_t;
160160

@@ -216,13 +216,13 @@ typedef enum
216216
/** @brief Callback to pass events from NFCLib to application.
217217
*
218218
* @param context Application context for callback execution.
219-
* @param event The event that occurred. see nfc_t4t_event.
219+
* @param event The event that occurred. see @ref nfc_t4t_event.
220220
* @param data Data to send to the application (event specific).
221221
* @param data_length Length of the data. In case of @ref
222222
* NFC_T4T_EVENT_NDEF_UPDATED, this parameter contains the value of the 'NLEN'
223223
* field of the NDEF File; if the value is non-zero, it corresponds to the new
224224
* size of the NDEF Message in the updated NDEF File.
225-
* @param flags Some events deliver flags. see nfc_t4t_event for details.
225+
* @param flags Some events deliver flags. see @ref nfc_t4t_event for details.
226226
*/
227227
typedef void (*nfc_t4t_callback_t)(void *context,
228228
nfc_t4t_event_t event,

nfc/include/nrf_nfc_errno.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
/**
1111
* @defgroup nrf_nfc_errno Error codes for nRF NFC libraries.
1212
* @{
13+
* @ingroup nrf_nfc
1314
*
1415
* @brief Defines error codes that can be used in nRF NFC libraries.
1516
*/
4 Bytes
Binary file not shown.
4 Bytes
Binary file not shown.
4 Bytes
Binary file not shown.
4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)