Skip to content

Commit 36e6a47

Browse files
author
Donatien Garnier
committed
add 'message' to NFCRemoteInitiator NDEF callbacks
1 parent 6837d03 commit 36e6a47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/nfc/doc/nfc_design.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ virtual void on_selected();
256256
virtual void on_deselected();
257257
```
258258

259-
Some phones/readers 'park' a target and re-select it later - these events let the user know if the what state the local target is being put in.
259+
Some phones/readers 'park' a target and re-select it later - these events let the user know what state the local target is being put in.
260260

261261
```cpp
262-
virtual void on_before_ndef_read();
263-
virtual void on_after_ndef_write();
262+
virtual void on_before_ndef_message_read();
263+
virtual void on_after_ndef_message_write();
264264
```
265265

266266
When emulating a NFC tag, it can be useful to generate a NDEF message dynamically just before a read by the initiator. Conversly if the initiator updates the NDEF message, it can be processed immediately afterwards.

0 commit comments

Comments
 (0)