This will allow for convenient access to payload. --- android/hal-msg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/android/hal-msg.h b/android/hal-msg.h index 9dcfbf6..a1b539f 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -29,6 +29,7 @@ struct hal_msg_hdr { uint8_t service_id; uint8_t opcode; uint16_t len; + uint8_t payload[0]; } __attribute__((packed)); #define HAL_SERVICE_ID_CORE 0 -- 1.8.4 -- 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