Hi, This RFC is mostly to gather some comments about the idea, and see if anyone can see any problem with it. As we are starting to have devices that support multiple profiles, something like this is inevitable, if we want to avoid having every profile getting notified for each notification/indication received. Cheers, -- Vinicius Costa Gomes (5): gattrib: Add support for listening for events for specific handles scan: Use the per handle GATT event notifier hog: Use the per handle GATT event notifier heartrate: Use the per handle GATT event notifier gas: Add the per handle GATT event notifier attrib/client.c | 4 +- attrib/gattrib.c | 33 ++++- attrib/gattrib.h | 7 +- attrib/gatttool.c | 8 +- attrib/interactive.c | 8 +- profiles/gatt/gas.c | 71 +++++---- profiles/heartrate/heartrate.c | 287 +++++++++++++++++++------------------ profiles/input/hog_device.c | 65 +++++---- profiles/scanparam/scan.c | 15 +- profiles/thermometer/thermometer.c | 2 + src/attrib-server.c | 2 +- 11 files changed, 262 insertions(+), 240 deletions(-) -- 1.7.12.2 -- 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