Skip to content

Commit 0ec4017

Browse files
committed
Add examples: HelloWorld and SimpleWrite
1 parent bfcccb3 commit 0ec4017

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,30 @@ It is then possible to read/write NFC URI:
2727
```
2828
2929
30+
## Examples
31+
32+
There are 2 examples with the ST25DV library:
33+
* ST25DV_HelloWorld: This application writes a URI tag on the device. It records an URI.
34+
35+
When the NFC module is started and ready, the message "Sytstem init done!" is displayed on the monitor window.
36+
Next, the tag is written, we wait few seconds, we read the same tag and print it on the monitor window.
37+
38+
You can test this application by connecting it with your smartphone.
39+
On Android, download a NFC Tools. Then start the app, check if NFC is activated
40+
on your smartphone. Put your smartphone near the tag, you can read it. You can
41+
write a tag with this app.
42+
43+
* ST25DV_SimpleWrite: This application writes a NDEF message, containing a URI record, to the tag.
44+
45+
When the NFC module is started and ready, the message "System init done!" is displayed on the monitor window.
46+
Next, the tag is written with a URI.
47+
48+
You can test this application by tapping the tag with your smartphone.
49+
On Android, check if NFC is activated on your smartphone.
50+
Put your smartphone near the tag to read it.
51+
The preferred Internet Browser is automatically opened with the provided URI.
52+
53+
3054
## Documentation
3155
3256
You can find the source files at

0 commit comments

Comments
 (0)