Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/stack/gatt/
Dgatt_sr.c144 if (status == GATT_SUCCESS) in process_read_multi_rsp()
264 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp()
274 return(GATT_SUCCESS); in gatt_sr_process_app_rsp()
278 if (op_code == GATT_REQ_PREPARE_WRITE && status == GATT_SUCCESS) in gatt_sr_process_app_rsp()
281 if (op_code == GATT_REQ_EXEC_WRITE && status != GATT_SUCCESS) in gatt_sr_process_app_rsp()
287 && status == GATT_SUCCESS) in gatt_sr_process_app_rsp()
301 if ( (p_tcb->sr_cmd.status == GATT_SUCCESS) && (p_tcb->sr_cmd.p_rsp_msg) ) in gatt_sr_process_app_rsp()
402 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req()
441 != GATT_SUCCESS) in gatt_process_read_multi_req()
464 if (err == GATT_SUCCESS) in gatt_process_read_multi_req()
[all …]
Dgatt_cl.c110 if (st != GATT_SUCCESS && st != GATT_CMD_STARTED) in gatt_act_discovery()
116 gatt_end_operation(p_clcb, GATT_SUCCESS, NULL); in gatt_act_discovery()
201 if ( op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) in gatt_act_read()
219 UINT8 rt = GATT_SUCCESS, op_code = 0; in gatt_act_write()
270 if ((rt != GATT_SUCCESS && rt != GATT_CMD_STARTED) in gatt_act_write()
273 if (rt != GATT_SUCCESS) in gatt_act_write()
297 if (rt != GATT_SUCCESS) in gatt_send_queue_write_cancel()
332 p_clcb->status = GATT_SUCCESS; in gatt_check_write_long_terminate()
358 UINT8 rt = GATT_SUCCESS; in gatt_send_prepare_write()
388 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED) in gatt_send_prepare_write()
[all …]
Dgatt_db.c183 return GATT_SUCCESS; in gatts_check_attr_readability()
231 if (status != GATT_SUCCESS) in read_attr_value()
248 status = GATT_SUCCESS; in read_attr_value()
268 status = GATT_SUCCESS; in read_attr_value()
284 status = GATT_SUCCESS; in read_attr_value()
370 else if (status == GATT_SUCCESS) in gatts_db_read_attr_value_by_type()
818 status = GATT_SUCCESS; in gatts_write_attr_perm_check()
824 status = GATT_SUCCESS; in gatts_write_attr_perm_check()
854 status = GATT_SUCCESS; in gatts_write_attr_perm_check()
Dgatt_api.c545 return GATT_SUCCESS; in GATTS_StartService()
627 cmd_status = GATT_SUCCESS; in GATTS_HandleValueIndication()
641 if (cmd_status == GATT_SUCCESS) in GATTS_HandleValueIndication()
819 tGATT_STATUS status = GATT_SUCCESS; in GATTC_Discover()
887 tGATT_STATUS status = GATT_SUCCESS; in GATTC_Read()
975 tGATT_STATUS status = GATT_SUCCESS; in GATTC_Write()
1049 tGATT_STATUS status = GATT_SUCCESS; in GATTC_ExecuteWrite()
1121 ret = GATT_SUCCESS; in GATTC_SendHandleValueConfirm()
1490 ret = GATT_SUCCESS; in GATT_Disconnect()
Datt_protocol.c464 cmd_sent = GATT_SUCCESS; in attp_send_sr_msg()
483 UINT8 att_ret = GATT_SUCCESS; in attp_cl_send_cmd()
/external/bluetooth/bluedroid/stack/srvc/
Dsrvc_dis.c104 st = GATT_SUCCESS; in dis_read_attr_value()
214 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS) in dis_gatt_c_read_dis_req()
252 if (p_data != NULL && status == GATT_SUCCESS) in dis_c_cmpl_cback()
Dsrvc_battery.c284 if (status != GATT_SUCCESS) in Battery_Instantiate()
Dsrvc_eng.c436 return GATT_SUCCESS; in srvc_eng_init()
/external/bluetooth/bluedroid/stack/gap/
Dgap_ble.c336 return GATT_SUCCESS; in gap_read_attr_value()
697 if (status != GATT_SUCCESS) in gap_ble_c_cmpl_cback()
755 if (GATTC_Read(p_clcb->conn_id, GATT_READ_BY_TYPE, &param) != GATT_SUCCESS) in gap_ble_cl_read_request()
955 if (GATTC_Discover(p_clcb->conn_id, GATT_DISC_CHAR, &param) != GATT_SUCCESS) in GAP_BleUpdateReconnectAddr()
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_act.c553 p_msg->api_start.transport) == GATT_SUCCESS) in bta_gatts_start_service()
606 (tGATTS_RSP *)p_msg->api_rsp.p_rsp) != GATT_SUCCESS) in bta_gatts_send_rsp()
664 if (status != GATT_SUCCESS && p_msg->api_indicate.need_confirm && in bta_gatts_indicate_handle()
760 if (GATT_Disconnect(p_msg->hdr.layer_specific) != GATT_SUCCESS) in bta_gatts_close()
Dbta_gattc_cache.c1001 if ( p_clcb && (status != GATT_SUCCESS || p_clcb->status != GATT_SUCCESS) ) in bta_gattc_disc_cmpl_cback()
1003 if (p_clcb->status == GATT_SUCCESS) in bta_gattc_disc_cmpl_cback()
Dbta_gattc_act.c936 if (p_clcb->status != GATT_SUCCESS) in bta_gattc_disc_cmpl()
1190 != GATT_SUCCESS) in bta_gattc_confirm()
/external/bluetooth/bluedroid/stack/include/
Dsrvc_api.h26 #define DIS_SUCCESS GATT_SUCCESS
Dgatt_api.h28 #define GATT_SUCCESS 0x0000 macro
61 #define GATT_ENCRYPED_MITM GATT_SUCCESS
/external/bluetooth/bluedroid/bta/include/
Dbta_gatt_api.h60 #define BTA_GATT_OK GATT_SUCCESS