Home
last modified time | relevance | path

Searched refs:tGATT_STATUS (Results 1 – 22 of 22) sorted by relevance

/external/bluetooth/bluedroid/stack/include/
Dgatt_api.h70 typedef UINT8 tGATT_STATUS; typedef
563 typedef void (tGATT_DISC_CMPL_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
566 typedef void (tGATT_CMPL_CBACK) (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
830 GATT_API extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
862 GATT_API extern tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id,
880 GATT_API extern tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle,
898 GATT_API extern tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id,
899 tGATT_STATUS status, tGATTS_RSP *p_msg);
919 GATT_API extern tGATT_STATUS GATTC_ConfigureMTU (UINT16 conn_id, UINT16 mtu);
934 GATT_API extern tGATT_STATUS GATTC_Discover (UINT16 conn_id,
[all …]
Dsrvc_api.h144 GATT_API extern tGATT_STATUS srvc_eng_init (void);
201 …GATT_API extern void Battery_Rsp (UINT8 app_id, tGATT_STATUS st, UINT8 event, tBA_RSP_DATA *p_rsp);
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_api.c464 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle, in GATTS_StartService()
596 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT… in GATTS_HandleValueIndication()
598 tGATT_STATUS cmd_status = GATT_NO_RESOURCES; in GATTS_HandleValueIndication()
613 return(tGATT_STATUS) GATT_INVALID_CONN_ID; in GATTS_HandleValueIndication()
668 tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, in GATTS_HandleValueNotification()
671 tGATT_STATUS cmd_sent = GATT_ILLEGAL_PARAMETER; in GATTS_HandleValueNotification()
684 return(tGATT_STATUS) GATT_INVALID_CONN_ID; in GATTS_HandleValueNotification()
719 tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in GATTS_SendRsp()
720 tGATT_STATUS status, tGATTS_RSP *p_msg) in GATTS_SendRsp()
722 tGATT_STATUS cmd_sent = GATT_ILLEGAL_PARAMETER; in GATTS_SendRsp()
[all …]
Dgatt_db.c47 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
116 static tGATT_STATUS gatts_check_attr_readability(tGATT_ATTR16 *p_attr, in gatts_check_attr_readability()
205 static tGATT_STATUS read_attr_value (void *p_attr, in read_attr_value()
216 tGATT_STATUS status; in read_attr_value()
326 tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, in gatts_db_read_attr_value_by_type()
339 tGATT_STATUS status = GATT_NOT_FOUND; in gatts_db_read_attr_value_by_type()
638 tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, in gatts_read_attr_value_by_handle()
648 tGATT_STATUS status = GATT_NOT_FOUND; in gatts_read_attr_value_by_handle()
696 tGATT_STATUS gatts_read_attr_perm_check(tGATT_SVC_DB *p_db, in gatts_read_attr_perm_check()
702 tGATT_STATUS status = GATT_NOT_FOUND; in gatts_read_attr_perm_check()
[all …]
Dgatt_int.h565 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MS…
567 extern tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg);
568 extern tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP);
583 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 han…
628 extern tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, U…
665 extern void gatt_end_operation(tGATT_CLCB *p_clcb, tGATT_STATUS status, void *p_data);
682 extern tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB *p_tcb);
691 extern tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 o…
693 extern tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb,tGATT_SVC_DB *p_db, UINT8 op_c…
695 extern tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code,UINT16 handle, U…
[all …]
Datt_protocol.c355 tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP) in attp_send_msg_to_l2cap()
454 tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg) in attp_send_sr_msg()
456 tGATT_STATUS cmd_sent = GATT_NO_RESOURCES; in attp_send_sr_msg()
481 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) in attp_cl_send_cmd()
483 tGATT_STATUS att_ret = GATT_SUCCESS; in attp_cl_send_cmd()
533 tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_ms… in attp_send_cl_msg()
535 tGATT_STATUS status = GATT_NO_RESOURCES; in attp_send_cl_msg()
Dgatt_sr.c123 static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status, in process_read_multi_rsp()
261 tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, in gatt_sr_process_app_rsp()
263 tGATT_STATUS status, tGATTS_RSP *p_msg) in gatt_sr_process_app_rsp()
265 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp()
401 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req()
525 static tGATT_STATUS gatt_build_primary_service_rsp (BT_HDR *p_msg, tGATT_TCB *p_tcb, in gatt_build_primary_service_rsp()
529 tGATT_STATUS status = GATT_NOT_FOUND; in gatt_build_primary_service_rsp()
618 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SR_REG *p_rcb, BT_HDR *p_msg, UINT16 *p_len, in gatt_build_find_info_rsp()
621 tGATT_STATUS status = GATT_NOT_FOUND; in gatt_build_find_info_rsp()
699 static tGATT_STATUS gatts_validate_packet_format(UINT8 op_code, UINT16 *p_len, in gatts_validate_packet_format()
[all …]
Dgatt_cl.c84 tGATT_STATUS st; in gatt_act_discovery()
520 tGATT_STATUS status = (tGATT_STATUS) reason; in gatt_proc_disc_error_rsp()
664 tGATT_STATUS encrypt_status; in gatt_process_notification()
1053 tGATT_STATUS status = GATT_SUCCESS; in gatt_process_mtu_rsp()
1105 tGATT_STATUS att_ret = GATT_SUCCESS; in gatt_cl_send_next_cmd_inq()
Dgatt_auth.c417 tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB *p_tcb) in gatt_get_link_encrypt_status()
419 tGATT_STATUS encrypt_status = GATT_NOT_ENCRYPTED; in gatt_get_link_encrypt_status()
Dgatt_attr.c258 tGATT_STATUS status; in gatt_profile_db_init()
Dgatt_utils.c1438 tGATT_STATUS gatt_send_error_rsp (tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, in gatt_send_error_rsp()
1442 tGATT_STATUS status; in gatt_send_error_rsp()
2112 void gatt_end_operation(tGATT_CLCB *p_clcb, tGATT_STATUS status, void *p_data) in gatt_end_operation()
/external/bluetooth/bluedroid/stack/srvc/
Dsrvc_dis_int.h74 BOOLEAN is_long, tGATT_STATUS *p_status);
75 extern UINT8 dis_write_attr_value(tGATT_WRITE_REQ * p_data, tGATT_STATUS *p_status);
78 tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
Dsrvc_eng.c37 static void srvc_eng_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_…
51 tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
217 …rocess_read_req (UINT8 clcb_idx, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status) in srvc_eng_process_read_req()
219 tGATT_STATUS status = GATT_NOT_FOUND; in srvc_eng_process_read_req()
240 …cess_write_req (UINT8 clcb_idx, tGATT_WRITE_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status) in srvc_eng_process_write_req()
325 static void srvc_eng_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, in srvc_eng_c_cmpl_cback()
432 tGATT_STATUS srvc_eng_init (void) in srvc_eng_init()
458 void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp) in srvc_sr_rsp()
Dsrvc_battery.c71 tGATT_STATUS *p_status) in battery_s_write_attr_value()
76 tGATT_STATUS st = GATT_NOT_FOUND; in battery_s_write_attr_value()
112 …alue (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long, tGATT_STATUS* p_status) in battery_s_read_attr_value()
116 tGATT_STATUS st = GATT_NOT_FOUND; in battery_s_read_attr_value()
182 tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) in battery_c_cmpl_cback()
202 tGATT_STATUS status = GATT_ERROR; in Battery_Instantiate()
307 void Battery_Rsp (UINT8 app_id, tGATT_STATUS st, UINT8 event, tBA_RSP_DATA *p_rsp) in Battery_Rsp()
Dsrvc_battery_int.h73 tGATT_STATUS *p_status);
74 …lue (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long, tGATT_STATUS* p_status);
Dsrvc_dis.c103 UINT8 dis_write_attr_value(tGATT_WRITE_REQ * p_data, tGATT_STATUS *p_status) in dis_write_attr_value()
114 BOOLEAN is_long, tGATT_STATUS *p_status) in dis_read_attr_value()
120 tGATT_STATUS st = GATT_NOT_FOUND; in dis_read_attr_value()
270 tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) in dis_c_cmpl_cback()
352 tGATT_STATUS status; in DIS_SrInit()
Dsrvc_eng_int.h81 extern void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp);
/external/bluetooth/bluedroid/stack/gap/
Dgap_ble.c62 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_…
222 tGATT_STATUS gap_read_attr_value (UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long) in gap_read_attr_value()
279 tGATT_STATUS gap_proc_read (tGATTS_REQ_TYPE type, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp) in gap_proc_read()
281 tGATT_STATUS status = GATT_NO_RESOURCES; in gap_proc_read()
387 tGATT_STATUS status; in gap_attr_db_init()
600 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_C… in gap_ble_c_cmpl_cback()
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_test.c116 tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) in btif_test_command_complete_cback()
195 tGATT_STATUS status) in btif_test_discovery_complete_cback()
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_int.h167 tGATT_STATUS status;
537 extern void bta_gattc_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS stat…
Dbta_gattc_act.c51 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
2102 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, in bta_gattc_cmpl_cback()
Dbta_gattc_cache.c1012 void bta_gattc_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status) in bta_gattc_disc_cmpl_cback()