Hi, This implements initial support for bluez to be able to act as handover agent for neard NFC daemon. Neard Handover Agent API is still experimental and under development. It is subject to change so this plugin should be considered experimental as well. Currently only pairing is handled - no profile connection or any other action is taken as this still needs to be clarified on API level. Also I'm not sure if selecting oob plugin during configure is correct way. Those are separate plugins, not backends like e.g. sap. Bute nabling both will result in conflicts in runtime so they need to be mutually excluded (yet both should be compiled with bootstrap-configure). Comments are welcome. -- BR Szymon Janc Szymon Janc (18): Add initial neard plugin implementation eir: Add support for parsing SSP hash and randomizer eir: Store class in struct eir_data as uint32_t eir: Add eir_parse_oob function oob: Allow to register pairing complete callback adapter: Handle missing randomizer in btd_adapter_add_remote_oob_data neard: Implement PushOOB function eir: Add support creating EIR with hash and randomizer fields eir: Add support for creating EIR with CoD field eir: Rename eir_create to eir_create_oob eir: Remove support for creating EIR with tx_power fields eir: Return number of bytes written by eir_create_oob eir: Remove struct uuid_info eir: Add support for creating proper OOB EIR adapter: Add btd_adapter_get_services function adapter: Rename btd_adapter_get_class to btd_adapter_read_class adapter: Add btd_adapter_get_class function neard: Implement RequestOOB function Makefile.am | 11 +- acinclude.m4 | 19 +- bootstrap-configure | 3 +- plugins/dbusoob.c | 14 +- plugins/neard.c | 534 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/adapter.c | 30 ++- src/adapter.h | 5 +- src/eir.c | 154 ++++++++++++--- src/eir.h | 21 +- src/event.c | 11 +- src/event.h | 2 +- src/mgmt.c | 5 +- src/oob.c | 22 ++- src/oob.h | 15 +- 14 files changed, 760 insertions(+), 86 deletions(-) create mode 100644 plugins/neard.c -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html