Home
last modified time | relevance | path

Searched refs:GATT_SUCCESS (Results 1 – 16 of 16) sorted by relevance

/system/bt/stack/gatt/
Dgatt_sr.c139 if (status == GATT_SUCCESS) in process_read_multi_rsp()
260 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp()
271 return(GATT_SUCCESS); in gatt_sr_process_app_rsp()
275 if (op_code == GATT_REQ_PREPARE_WRITE && status == GATT_SUCCESS) in gatt_sr_process_app_rsp()
278 if (op_code == GATT_REQ_EXEC_WRITE && status != GATT_SUCCESS) in gatt_sr_process_app_rsp()
284 && status == GATT_SUCCESS) in gatt_sr_process_app_rsp()
298 if ( (p_tcb->sr_cmd.status == GATT_SUCCESS) && (p_tcb->sr_cmd.p_rsp_msg) ) in gatt_sr_process_app_rsp()
395 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req()
433 != GATT_SUCCESS) in gatt_process_read_multi_req()
456 if (err == GATT_SUCCESS) in gatt_process_read_multi_req()
[all …]
Dgatt_cl.c119 if (st != GATT_SUCCESS && st != GATT_CMD_STARTED) in gatt_act_discovery()
125 gatt_end_operation(p_clcb, GATT_SUCCESS, NULL); in gatt_act_discovery()
210 if ( op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) in gatt_act_read()
228 UINT8 rt = GATT_SUCCESS, op_code = 0; in gatt_act_write()
279 if ((rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && rt != GATT_CONGESTED) in gatt_act_write()
282 if (rt != GATT_SUCCESS) in gatt_act_write()
306 if (rt != GATT_SUCCESS) in gatt_send_queue_write_cancel()
341 p_clcb->status = GATT_SUCCESS; in gatt_check_write_long_terminate()
367 UINT8 rt = GATT_SUCCESS; in gatt_send_prepare_write()
397 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED) in gatt_send_prepare_write()
[all …]
Dgatt_db.c186 return GATT_SUCCESS; in gatts_check_attr_readability()
230 if (status != GATT_SUCCESS) in read_attr_value()
244 status = GATT_SUCCESS; in read_attr_value()
270 status = GATT_SUCCESS; in read_attr_value()
290 status = GATT_SUCCESS; in read_attr_value()
381 else if (status == GATT_SUCCESS) in gatts_db_read_attr_value_by_type()
846 status = GATT_SUCCESS; in gatts_write_attr_perm_check()
853 status = GATT_SUCCESS; in gatts_write_attr_perm_check()
881 status = GATT_SUCCESS; in gatts_write_attr_perm_check()
Dgatt_api.c545 return GATT_SUCCESS; in GATTS_StartService()
629 cmd_status = GATT_SUCCESS; in GATTS_HandleValueIndication()
643 if (cmd_status == GATT_SUCCESS || cmd_status == GATT_CONGESTED) in GATTS_HandleValueIndication()
828 tGATT_STATUS status = GATT_SUCCESS; in GATTC_Discover()
896 tGATT_STATUS status = GATT_SUCCESS; in GATTC_Read()
984 tGATT_STATUS status = GATT_SUCCESS; in GATTC_Write()
1048 tGATT_STATUS status = GATT_SUCCESS; in GATTC_ExecuteWrite()
1120 ret = GATT_SUCCESS; in GATTC_SendHandleValueConfirm()
1497 ret = GATT_SUCCESS; in GATT_Disconnect()
Datt_protocol.c348 return GATT_SUCCESS; in attp_send_msg_to_l2cap()
455 tGATT_STATUS att_ret = GATT_SUCCESS; in attp_cl_send_cmd()
466 if (att_ret == GATT_CONGESTED || att_ret == GATT_SUCCESS) in attp_cl_send_cmd()
Dgatt_attr.c356 if (status == GATT_SUCCESS && p_clcb->ccc_result > 0) in gatt_disc_cmpl_cback()
/system/bt/stack/srvc/
Dsrvc_dis.c134 st = GATT_SUCCESS; in dis_read_attr_value()
245 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS) in dis_gatt_c_read_dis_req()
281 if (p_data != NULL && status == GATT_SUCCESS) in dis_c_cmpl_cback()
Dsrvc_battery.c290 if (status != GATT_SUCCESS) in Battery_Instantiate()
Dsrvc_eng.c453 return GATT_SUCCESS; in srvc_eng_init()
/system/bt/stack/include/
Dsrvc_api.h26 #define DIS_SUCCESS GATT_SUCCESS
Dgatt_api.h29 #define GATT_SUCCESS 0x00 macro
62 #define GATT_ENCRYPED_MITM GATT_SUCCESS
/system/bt/bta/gatt/
Dbta_gatts_act.c541 p_msg->api_start.transport) == GATT_SUCCESS) in bta_gatts_start_service()
596 (tGATTS_RSP *)p_msg->api_rsp.p_rsp) != GATT_SUCCESS) in bta_gatts_send_rsp()
655 if ((status != GATT_SUCCESS || !p_msg->api_indicate.need_confirm) && in bta_gatts_indicate_handle()
768 if (GATT_Disconnect(p_msg->hdr.layer_specific) != GATT_SUCCESS) in bta_gatts_close()
Dbta_gattc_cache.c933 if ( p_clcb && (status != GATT_SUCCESS || p_clcb->status != GATT_SUCCESS) ) in bta_gattc_disc_cmpl_cback()
935 if (status == GATT_SUCCESS) in bta_gattc_disc_cmpl_cback()
Dbta_gattc_act.c941 if (status != GATT_SUCCESS && status != GATT_CMD_STARTED) in bta_gattc_cfg_mtu()
1038 if (p_clcb->status != GATT_SUCCESS) in bta_gattc_disc_cmpl()
1222 != GATT_SUCCESS) { in bta_gattc_confirm()
/system/bt/stack/gap/
Dgap_ble.c269 return GATT_SUCCESS; in gap_read_attr_value()
526 if (GATTC_Read(p_clcb->conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS) in gap_ble_send_cl_read_request()
637 if (status != GATT_SUCCESS) in gap_ble_c_cmpl_cback()
/system/bt/bta/include/
Dbta_gatt_api.h61 #define BTA_GATT_OK GATT_SUCCESS