Home | History | Annotate | Download | only in gatt

Lines Matching refs:reason

703     tGATT_STATUS    reason = GATT_SUCCESS;
717 reason = GATT_INVALID_HANDLE;
733 reason = GATT_INVALID_PDU;
739 reason = GATT_INVALID_PDU;
743 reason = GATT_INVALID_PDU;
750 return reason;
765 UINT8 reason = GATT_INVALID_PDU;
772 reason = gatts_validate_packet_format(op_code, &len, &p_data, &uuid, &s_hdl, &e_hdl);
774 if (reason == GATT_SUCCESS)
781 reason = GATT_INVALID_PDU;
784 if (reason == GATT_SUCCESS)
789 reason = GATT_NO_RESOURCES;
794 reason = gatt_build_primary_service_rsp (p_msg, p_tcb, op_code, s_hdl, e_hdl, p_data, value);
802 reason = GATT_UNSUPPORT_GRP_TYPE;
808 reason = GATT_NOT_FOUND;
814 if (reason != GATT_SUCCESS)
817 gatt_send_error_rsp (p_tcb, reason, op_code, s_hdl, FALSE);
836 UINT8 reason = GATT_INVALID_PDU, *p;
843 reason = gatts_validate_packet_format(op_code, &len, &p_data, NULL, &s_hdl, &e_hdl);
845 if (reason == GATT_SUCCESS)
851 reason = GATT_NO_RESOURCES;
855 reason = GATT_NOT_FOUND;
874 reason = gatt_build_find_info_rsp(p_rcb, p_msg, &buf_len, s_hdl, e_hdl);
875 if (reason == GATT_NO_RESOURCES)
877 reason = GATT_SUCCESS;
889 if (reason != GATT_SUCCESS)
892 gatt_send_error_rsp (p_tcb, reason, op_code, s_hdl, FALSE);
983 tGATT_STATUS reason, ret;
989 reason = gatts_validate_packet_format(op_code, &len, &p_data, &uuid, &s_hdl, &e_hdl);
1002 if (reason == GATT_SUCCESS)
1008 reason = GATT_NO_RESOURCES;
1020 reason = GATT_NOT_FOUND;
1051 reason = ret;
1054 reason = GATT_SUCCESS;
1068 if (reason != GATT_SUCCESS)
1073 if (reason != GATT_PENDING && reason != GATT_BUSY)
1074 gatt_send_error_rsp (p_tcb, reason, op_code, s_hdl, FALSE);
1184 tGATT_STATUS reason;
1194 reason = GATT_NO_RESOURCES;
1212 reason = gatts_read_attr_value_by_handle(p_tcb,
1227 if (reason != GATT_SUCCESS)
1232 if (reason != GATT_PENDING && reason != GATT_BUSY)
1233 gatt_send_error_rsp (p_tcb, reason, op_code, handle, FALSE);