summaryrefslogtreecommitdiffstats
path: root/binding/afm-nfc-binding.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17binding: nfc: use cached json_object for eventsMatt Ranostay1-10/+29
Cache the json_object for event response for detect for future subscribers Bug-AGL: SPEC-1554 Change-Id: I4dfeb7f157a872db96c8c5fabae9c26547815baa Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-17binding: nfc: convert binding to afb version 3Matt Ranostay1-6/+6
In order to use some of the features of v3 we need to update the data structures naming, and function parameters. Change-Id: I6c217a8f4c28053c838af9f324b1504a3e1cbf71 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-13binding: nfc: move libnfc checks from threadMatt Ranostay1-24/+45
To allow runtime detection of libnfc vs neard devices in the future libnfc check needs to be moved out of nfc_thread_loop Bug-AGL: SPEC-1554 Change-Id: I53854838a2fcab7eefbed3ed8d165a14e2bdc9db Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-13binding: nfc: split out common functionsMatt Ranostay1-17/+2
Put common functions that libnfc and neard will use in a common header Bug-AGL: SPEC-1554 Change-Id: I723cee58a2265bf0574f54cb0b9ff4af5647da73 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-04binding: nfc: new initial bindingMatt Ranostay1-0/+200
Slight rewrite to use libnfc initially for getting tag uid's for user settings. Bug-AGL: SPEC-1554 Change-Id: I7b8c30102b82e86a92c89909bcbfba9ab7164c1f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>