According to BT spec, CCC is persistent for bonded devices only. If the device is NOT bonded, CCC entry is removed from the storage when the connection is established. This approach is simpler than keep different list/storage(and logic) for bonded and non-bonded devices. Dependency: [PATCH BlueZ 0/7] CCC persistence Claudio Takahasi (2): Add storage function to remove CCC of a device Remove CCC if the device is not bonded src/attrib-server.c | 15 +++++++++++++++ src/storage.c | 11 +++++++++++ src/storage.h | 1 + 3 files changed, 27 insertions(+), 0 deletions(-) -- 1.7.7 -- 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