|
libnfc 1.8.0
|
Functions | |
| const char * | nfc_device_get_name (nfc_device *pnd) |
| Returns the device name. | |
| const char * | nfc_device_get_connstring (nfc_device *pnd) |
| Returns the device connection string. | |
| int | nfc_device_get_supported_modulation (nfc_device *pnd, const nfc_mode mode, const nfc_modulation_type **const supported_mt) |
| Get supported modulations. | |
| int | nfc_device_get_supported_baud_rate (nfc_device *pnd, const nfc_modulation_type nmt, const nfc_baud_rate **const supported_br) |
| Get supported baud rates (initiator mode). | |
| int | nfc_device_get_supported_baud_rate_target_mode (nfc_device *pnd, const nfc_modulation_type nmt, const nfc_baud_rate **const supported_br) |
| Get supported baud rates for target mode. | |
| static int | nfc_device_validate_modulation (nfc_device *pnd, const nfc_mode mode, const nfc_modulation *nm) |
| Validate combination of modulation and baud rate on the currently used device. | |
The functionnality documented below allow to access to special data as device name or device connstring.
| const char * nfc_device_get_connstring | ( | nfc_device * | pnd | ) |
Returns the device connection string.
| pnd | nfc_device struct pointer that represent currently used device |
| const char * nfc_device_get_name | ( | nfc_device * | pnd | ) |
Returns the device name.
| pnd | nfc_device struct pointer that represent currently used device |
| int nfc_device_get_supported_baud_rate | ( | nfc_device * | pnd, |
| const nfc_modulation_type | nmt, | ||
| const nfc_baud_rate **const | supported_br ) |
Get supported baud rates (initiator mode).
| pnd | nfc_device struct pointer that represent currently used device |
| nmt | nfc_modulation_type. |
| supported_br | pointer of nfc_baud_rate array. |
| int nfc_device_get_supported_baud_rate_target_mode | ( | nfc_device * | pnd, |
| const nfc_modulation_type | nmt, | ||
| const nfc_baud_rate **const | supported_br ) |
Get supported baud rates for target mode.
| pnd | nfc_device struct pointer that represent currently used device |
| nmt | nfc_modulation_type. |
| supported_br | pointer of nfc_baud_rate array. |
| int nfc_device_get_supported_modulation | ( | nfc_device * | pnd, |
| const nfc_mode | mode, | ||
| const nfc_modulation_type **const | supported_mt ) |
Get supported modulations.
| pnd | nfc_device struct pointer that represent currently used device |
| mode | nfc_mode. |
| supported_mt | pointer of nfc_modulation_type array. |
|
static |
Validate combination of modulation and baud rate on the currently used device.
| pnd | nfc_device struct pointer that represent currently used device |
| mode | nfc_mode. |
| nm | nfc_modulation. |