Lines Matching refs:GATT_SUCCESS
132 if (status == GATT_SUCCESS) { in process_read_multi_rsp()
233 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp()
242 return (GATT_SUCCESS); in gatt_sr_process_app_rsp()
244 if (op_code == GATT_REQ_PREPARE_WRITE && status == GATT_SUCCESS) in gatt_sr_process_app_rsp()
247 if (op_code == GATT_REQ_EXEC_WRITE && status != GATT_SUCCESS) in gatt_sr_process_app_rsp()
252 if (gatt_sr_is_cback_cnt_zero(tcb) && status == GATT_SUCCESS) { in gatt_sr_process_app_rsp()
262 if ((tcb.sr_cmd.status == GATT_SUCCESS) && (tcb.sr_cmd.p_rsp_msg)) { in gatt_sr_process_app_rsp()
358 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req()
391 if (err != GATT_SUCCESS) { in gatt_process_read_multi_req()
409 if (err == GATT_SUCCESS) { in gatt_process_read_multi_req()
426 if (err == GATT_SUCCESS) { in gatt_process_read_multi_req()
428 GATT_SUCCESS, p_msg); in gatt_process_read_multi_req()
439 if (err != GATT_SUCCESS && err != GATT_PENDING && err != GATT_BUSY) in gatt_process_read_multi_req()
506 status = GATT_SUCCESS; in gatt_build_primary_service_rsp()
562 return GATT_SUCCESS; in gatt_build_find_info_rsp()
582 return GATT_SUCCESS; in read_handles()
590 if (ret != GATT_SUCCESS) return ret; in gatts_validate_packet_format()
603 return GATT_SUCCESS; in gatts_validate_packet_format()
624 if (reason != GATT_SUCCESS) { in gatts_process_primary_service_req()
657 if (reason != GATT_SUCCESS) { in gatts_process_primary_service_req()
680 if (reason != GATT_SUCCESS) { in gatts_process_find_info()
701 reason = GATT_SUCCESS; in gatts_process_find_info()
711 if (reason != GATT_SUCCESS) { in gatts_process_find_info()
810 if (reason != GATT_SUCCESS) { in gatts_process_read_by_type_req()
835 if (ret == GATT_NO_RESOURCES) reason = GATT_SUCCESS; in gatts_process_read_by_type_req()
838 if (ret != GATT_SUCCESS && ret != GATT_NOT_FOUND) { in gatts_process_read_by_type_req()
847 if (reason != GATT_SUCCESS) { in gatts_process_read_by_type_req()
913 if (status == GATT_SUCCESS) { in gatts_process_write_req()
985 if (reason != GATT_SUCCESS) { in gatts_process_read_req()
1057 status = GATT_SUCCESS; in gatts_process_attribute_req()
1066 if (status != GATT_SUCCESS && op_code != GATT_CMD_WRITE && in gatts_process_attribute_req()