Skip to content

Commit 9a7b8e6

Browse files
maje-embcarlescufi
authored andcommitted
nfc: rev: b833a52ec59f87c6d59752f02fed5f903354ca74
CHANGELOG.rst contains the list of changes. Signed-off-by: Marcin Jelinski <[email protected]>
1 parent 799977e commit 9a7b8e6

File tree

6 files changed

+14
-2
lines changed

6 files changed

+14
-2
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: 5 additions & 2 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.
@@ -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
*
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)