--- android/hal-msg.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/android/hal-msg.h b/android/hal-msg.h index 0abbbe6..b1942de 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -383,6 +383,27 @@ struct hal_cmd_pan_disconnect { uint8_t bdaddr[6]; } __attribute__((packed)); +#define HAL_OP_HEALTH_REG_APP 0x01 +struct hal_cmd_health_reg_app { + uint8_t app_name[255]; + uint8_t provider_name[255]; + uint8_t service_name[255]; + uint8_t service_descr[200]; + uint8_t num_of_mdep; + + struct { + uint8_t role; + uint8_t data_type; + uint8_t channel_type; + uint8_t descr[255]; + } mdep_cfg[20]; +} __attribute__((packed)); + +struct hal_rsp_health_reg_app { + uint16_t app_id; +} __attribute__((packed)); + + /* Handsfree HAL API */ #define HAL_MODE_HANDSFREE_HSP_ONLY 0x01 -- 1.8.3.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