Retrieve one of the NFC user settings that is available from the device.
NFC_API nfc_result_t nfc_get_setting(nfc_settings_t setting, bool *enabled)
The setting whose value you want to retrieve. Valid settings must be of type nfc_settings_t.
The current value of the specified user setting.
Library:libnfc (For the qcc command, use the -l nfc option to link against this library)
This function retrieves the current value for the specified user setting.
- NFC_RESULT_SERVICE_CONNECTION_ERROR: The application is not connected to the NFC system.
- NFC_RESULT_LOCKED: The activation request could not be completed as a mode change was already in progress. It is recommended to try calling nfc_get_setting() again.
- NFC_RESULT_INVALID_PARAMETER: A parameter is invalid.
Last modified: 2014-05-14