This patch set makes the following additions/changes: - The opcode + param structure semantics are no longer used. bt_att_send now takes in the PDU as it will be sent over the physical link and it won't perform any explicit encoding or decoding of PDUs between host order and BT order. Any packed structs that get passed to bt_att_send need to be formatted according to the correct endianness. - bt_att_register and bt_att_unregister* functions are implemented. Callbacks are registered for a particular opcode and they get invoked when an incoming PDU of type "request", "indication", or "notification" is received. This provides the basic functionality needed to implement a GATT client layer, except for PDU signing and verifications of incoming signed PDUs. This isn't immediately needed to implement a functioning client and could be left to the upper layer. Arman Uguray (2): shared/att: Remove parameters structures. shared/att: Implement bt_att_register. src/shared/att-types.h | 153 +------------------- src/shared/att.c | 383 ++++++++++++++++++++++++++++++++----------------- src/shared/att.h | 19 +-- 3 files changed, 267 insertions(+), 288 deletions(-) -- 2.0.0.526.g5318336 -- 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