Hi, Changes since v1: - remove fd parameter from handler proptotype - this is only needed by one callback in health HAL and getter function can be addded later on if needed - improve comments - each handler has comment with opcode define for easier code reading - some bugfixes -- BR Szymon Janc Szymon Janc (6): android/hal: Add initial code for IPC message handlers android/hal-bluetooth: Register IPC message handlers android/hal-hidhost: Use generic IPC message handling for events android/hal-pan: Use generic IPC message handling for events android/hal-a2dp: Use generic IPC message handling for events android/hal: Check if command socket was shutdown by peer android/hal-a2dp.c | 41 ++++----- android/hal-bluetooth.c | 218 +++++++++++++++++++++++++++++++----------------- android/hal-hidhost.c | 76 ++++++++++------- android/hal-ipc.c | 123 ++++++++++++++++++--------- android/hal-ipc.h | 10 +++ android/hal-pan.c | 40 ++++----- android/hal.h | 4 - 7 files changed, 321 insertions(+), 191 deletions(-) -- 1.8.4.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