mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 16:54:38 +08:00
android/health: Add initial function for HAL_OP_HEALTH_MDEP command
This commit is contained in:
parent
7a588b4067
commit
dde7387c2a
@ -54,6 +54,14 @@ static void bt_health_register_app(const void *buf, uint16_t len)
|
|||||||
HAL_STATUS_UNSUPPORTED);
|
HAL_STATUS_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void bt_health_mdep_cfg_data(const void *buf, uint16_t len)
|
||||||
|
{
|
||||||
|
DBG("Not implemented");
|
||||||
|
|
||||||
|
ipc_send_rsp(hal_ipc, HAL_SERVICE_ID_HEALTH, HAL_OP_HEALTH_MDEP,
|
||||||
|
HAL_STATUS_UNSUPPORTED);
|
||||||
|
}
|
||||||
|
|
||||||
static void bt_health_unregister_app(const void *buf, uint16_t len)
|
static void bt_health_unregister_app(const void *buf, uint16_t len)
|
||||||
{
|
{
|
||||||
DBG("Not implemented");
|
DBG("Not implemented");
|
||||||
@ -82,6 +90,9 @@ static const struct ipc_handler cmd_handlers[] = {
|
|||||||
/* HAL_OP_HEALTH_REG_APP */
|
/* HAL_OP_HEALTH_REG_APP */
|
||||||
{ bt_health_register_app, true,
|
{ bt_health_register_app, true,
|
||||||
sizeof(struct hal_cmd_health_reg_app) },
|
sizeof(struct hal_cmd_health_reg_app) },
|
||||||
|
/* HAL_OP_HEALTH_MDEP */
|
||||||
|
{ bt_health_mdep_cfg_data, true,
|
||||||
|
sizeof(struct hal_cmd_health_mdep) },
|
||||||
/* HAL_OP_HEALTH_UNREG_APP */
|
/* HAL_OP_HEALTH_UNREG_APP */
|
||||||
{ bt_health_unregister_app, false,
|
{ bt_health_unregister_app, false,
|
||||||
sizeof(struct hal_cmd_health_unreg_app) },
|
sizeof(struct hal_cmd_health_unreg_app) },
|
||||||
|
Loading…
Reference in New Issue
Block a user