• Home
  • Raw
  • Download

Lines Matching refs:p_msg

360 BOOLEAN bta_gattc_hdl_event(BT_HDR *p_msg)  in bta_gattc_hdl_event()  argument
367 APPL_TRACE_DEBUG("bta_gattc_hdl_event: Event [%s]", gattc_evt_code(p_msg->event)); in bta_gattc_hdl_event()
369 switch (p_msg->event) in bta_gattc_hdl_event()
376 bta_gattc_register(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
380 bta_gattc_start_if(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
384 p_clreg = bta_gattc_cl_get_regcb(((tBTA_GATTC_DATA *)p_msg)->api_dereg.client_if); in bta_gattc_hdl_event()
389 bta_gattc_process_api_open(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
393 bta_gattc_process_api_open_cancel(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
397 bta_gattc_process_api_refresh(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
402 bta_gattc_listen(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
405 bta_gattc_broadcast(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
410 bta_gattc_process_enc_cmpl(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
414 if (p_msg->event == BTA_GATTC_INT_CONN_EVT) in bta_gattc_hdl_event()
415 p_clcb = bta_gattc_find_int_conn_clcb((tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
416 else if (p_msg->event == BTA_GATTC_INT_DISCONN_EVT) in bta_gattc_hdl_event()
417 p_clcb = bta_gattc_find_int_disconn_clcb((tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
419 p_clcb = bta_gattc_find_clcb_by_conn_id(p_msg->layer_specific); in bta_gattc_hdl_event()
423 rt = bta_gattc_sm_execute(p_clcb, p_msg->event, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event()
427 APPL_TRACE_DEBUG("Ignore unknown conn ID: %d", p_msg->layer_specific); in bta_gattc_hdl_event()