Hi Andrzej, On Sat, Oct 13, 2012, Andrzej Kaczmarek wrote: > Notification handler is registered only when CCC is written during > descriptors discovery, i.e. at least one watcher is registered before > device is connected. This means there will be no handler registered in > case watcher is registered after device already connected. > This is side-effect of 74a9fc7. > > This patch registers handler immediately when measurement characteristic > is discovered so it does not matter when watcher is registered. > > ccc_write_cb() is reduntant in this case so it's removed. > --- > profiles/heartrate/heartrate.c | 24 ++++++++---------------- > 1 file changed, 8 insertions(+), 16 deletions(-) Both patches have been applied. Thanks. Johan -- 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