This patch series is the first step to cleanup the device discovery procedure. The main changes are: - Unify advertising reports and inquiry results: mgmt sends one device found event - Logic improvement/cleanup: device found - Move EIR functions to a new file - Add BDADDR type constants: necessary L2CAP connections and bonding Bruna Moreira (3): Remove btd_event_advertising_report Replace EIR_DATA_LENGTH with HCI_MAX_EIR_LENGTH Drop variable EIR length Claudio Takahasi (10): Move EIR related functions to a new file Add Bluetooth address type definition Initial device found cleanup Move legacy verification to a new function Cleanup read name and alias from storage Don't resolve name if the name is in the storage Unify inquiry results and advertises Fix memory leak of EIR data Change the order to write/read the remote's name Cleanup inserting new device found entry Makefile.am | 2 +- lib/bluetooth.h | 4 + plugins/hciops.c | 202 +++++---------------------------- plugins/mgmtops.c | 3 +- src/adapter.c | 182 +++++++++++++++++++----------- src/adapter.h | 9 +- src/eir.c | 328 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/eir.h | 41 +++++++ src/event.c | 224 +----------------------------------- src/event.h | 5 +- src/sdpd.h | 14 --- 11 files changed, 530 insertions(+), 484 deletions(-) create mode 100644 src/eir.c create mode 100644 src/eir.h -- 1.7.5.rc3 -- 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