summaryrefslogtreecommitdiff
path: root/include/ndef.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-11-18 01:48:15 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-11-18 01:59:51 +0100
commitecc73a015d5670296febd3e07aae3301db3a4158 (patch)
tree891f5d0a683116ff58ab1ca61f5c194190a1cd10 /include/ndef.h
parentb7f624308f1b5f3169d23f8607c5821bc38ad673 (diff)
downloadneard-ecc73a015d5670296febd3e07aae3301db3a4158.tar.gz
neard-ecc73a015d5670296febd3e07aae3301db3a4158.tar.bz2
neard-ecc73a015d5670296febd3e07aae3301db3a4158.zip
adapter: Catch polling errors
Receiving a NFC_EVENT_TARGETS_FOUND with a NULL payload means the driver entered an error state. This is handled by checking if the devices and targets arrays are empty from the GET_TARGET finish handler. In the polling error case, neard resets the adapter and starts polling again. The polling error handler runs asynchrounously for the D-Bus properties toggle to be exported properly.
Diffstat (limited to 'include/ndef.h')
0 files changed, 0 insertions, 0 deletions