summaryrefslogtreecommitdiffstats
path: root/binding/afm-nfc-common.h
AgeCommit message (Collapse)AuthorFilesLines
2018-11-13binding: nfc: remove dependencies on libnfcRaquel Medina1-9/+0
Bug-AGL: SPEC-1921 - remove dependencies on libnfc - remove unused code (binding/afm-nfc-common.c) Change-Id: I824094f5d7a409739c479904662e21c900cc8509 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-07-17binding: nfc: add neardal support for reading NDEF encoded tagsMatt Ranostay1-0/+4
Read RFID tags via neardal helper library that are NDEF encoded Bug-AGL: SPEC-1544 Change-Id: I90c0e8b4dec705ef56c7303ec2a592ca6ab9054c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-17binding: nfc: use cached json_object for eventsMatt Ranostay1-0/+4
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-13binding: nfc: move libnfc checks from threadMatt Ranostay1-0/+8
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-0/+26
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>