The functionnality documented below allow to retreive some information in text format.
More...
The functionnality documented below allow to retreive some information in text format.
◆ str_nfc_baud_rate()
Convert nfc_baud_rate value to string.
- Returns
- Returns nfc baud rate
- Parameters
-
Definition at line 1258 of file nfc.c.
◆ str_nfc_modulation_type()
Convert nfc_modulation_type value to string.
- Returns
- Returns nfc modulation type
- Parameters
-
Definition at line 1287 of file nfc.c.
◆ str_nfc_target()
int str_nfc_target |
( |
char ** |
buf, |
|
|
const nfc_target * |
pnt, |
|
|
bool |
verbose |
|
) |
| |
Convert nfc_modulation_type value to string.
- Returns
- Upon successful return, this function returns the number of characters printed (excluding the null byte used to end output to strings), otherwise returns libnfc's error code (negative value)
- Parameters
-
nt | nfc_target struct to print |
buf | pointer where string will be allocated, then nfc target information printed |
- Warning
- *buf must be freed using nfc_free()
Definition at line 1328 of file nfc.c.