|
smartnfc 2.2.0
|
Smart NFC Click Example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Smart NFC Click Example.
This example demonstrates the use of the Smart NFC Click board for detecting and reading NFC tags. The application resets the NFC module, retrieves the firmware version, and continuously scans for nearby NFC tags, displaying their UID and type.
The demo application is composed of two sections:
Initializes the logger and configures the Smart NFC Click board. It establishes UART communication, resets the NFC module, and retrieves the firmware version to verify proper operation.
Continuously scans for NFC tags and retrieves their unique identifiers (UID). If tags are detected, it logs their type, parameters, and UID values. The process repeats at 1-second intervals.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |