From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/health.c | 8 ++++++-- android/health.h | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/android/health.c b/android/health.c index de67475..140afee 100644 --- a/android/health.c +++ b/android/health.c @@ -1098,15 +1098,19 @@ static void mcap_mdl_aborted_cb(struct mcap_mdl *mdl, void *data) DBG("Not Implemeneted"); } -static void mcap_mdl_conn_req_cb(struct mcap_mcl *mcl, uint8_t mdepid, +static uint8_t mcap_mdl_conn_req_cb(struct mcap_mcl *mcl, uint8_t mdepid, uint16_t mdlid, uint8_t *conf, void *data) { DBG("Not Implemeneted"); + + return MCAP_SUCCESS; } -static void mcap_mdl_reconn_req_cb(struct mcap_mdl *mdl, void *data) +static uint8_t mcap_mdl_reconn_req_cb(struct mcap_mdl *mdl, void *data) { DBG("Not Implemeneted"); + + return MCAP_SUCCESS; } static void connect_mdl_cb(struct mcap_mdl *mdl, GError *gerr, gpointer data) diff --git a/android/health.h b/android/health.h index 0b32fd3..ab7d478 100644 --- a/android/health.h +++ b/android/health.h @@ -21,5 +21,13 @@ * */ +#define HDP_MDEP_ECHO 0x00 +#define HDP_MDEP_INITIAL 0x01 +#define HDP_MDEP_FINAL 0x7F + +#define HDP_NO_PREFERENCE_DC 0x00 +#define HDP_RELIABLE_DC 0x01 +#define HDP_STREAMING_DC 0x02 + bool bt_health_register(struct ipc *ipc, const bdaddr_t *addr, uint8_t mode); void bt_health_unregister(void); -- 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