Lines Matching refs:s_hdl
504 UINT8 op_code, UINT16 s_hdl, in gatt_build_primary_service_rsp() argument
525 p_rcb->s_hdl >= s_hdl && in gatt_build_primary_service_rsp()
526 p_rcb->s_hdl <= e_hdl && in gatt_build_primary_service_rsp()
554 UINT16_TO_STREAM(p, p_rcb->s_hdl); in gatt_build_primary_service_rsp()
597 UINT16 s_hdl, UINT16 e_hdl) in gatt_build_find_info_rsp() argument
620 if (p_attr->handle >= s_hdl) in gatt_build_find_info_rsp()
682 UINT16 uuid_len, s_hdl = 0, e_hdl = 0; in gatts_validate_packet_format() local
689 STREAM_TO_UINT16(s_hdl, p); in gatts_validate_packet_format()
693 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || !GATT_HANDLE_IS_VALID(e_hdl)) in gatts_validate_packet_format()
725 *p_s_hdl = s_hdl; in gatts_validate_packet_format()
744 UINT16 s_hdl = 0, e_hdl = 0; in gatts_process_primary_service_req() local
750 reason = gatts_validate_packet_format(op_code, &len, &p_data, &uuid, &s_hdl, &e_hdl); in gatts_process_primary_service_req()
765 s_hdl, e_hdl, p_data, in gatts_process_primary_service_req()
788 gatt_send_error_rsp (p_tcb, reason, op_code, s_hdl, FALSE); in gatts_process_primary_service_req()
808 UINT16 s_hdl = 0, e_hdl = 0, buf_len; in gatts_process_find_info() local
814 reason = gatts_validate_packet_format(op_code, &len, &p_data, NULL, &s_hdl, &e_hdl); in gatts_process_find_info()
834 if (p_rcb->in_use && !(p_rcb->s_hdl > e_hdl || in gatts_process_find_info()
835 p_rcb->e_hdl < s_hdl)) { in gatts_process_find_info()
837 s_hdl, e_hdl); in gatts_process_find_info()
853 gatt_send_error_rsp (p_tcb, reason, op_code, s_hdl, FALSE); in gatts_process_find_info()
943 UINT16 buf_len, s_hdl, e_hdl, err_hdl = 0; in gatts_process_read_by_type_req() local
951 reason = gatts_validate_packet_format(op_code, &len, &p_data, &uuid, &s_hdl, &e_hdl); in gatts_process_read_by_type_req()
958 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, s_hdl, FALSE); in gatts_process_read_by_type_req()
981 if (p_rcb->in_use && !(p_rcb->s_hdl > e_hdl || in gatts_process_read_by_type_req()
982 p_rcb->e_hdl < s_hdl)) { in gatts_process_read_by_type_req()
990 s_hdl, in gatts_process_read_by_type_req()
1005 s_hdl = err_hdl; in gatts_process_read_by_type_req()
1020 gatt_send_error_rsp (p_tcb, reason, op_code, s_hdl, FALSE); in gatts_process_read_by_type_req()
1229 if (p_rcb->in_use && p_rcb->s_hdl <= handle && p_rcb->e_hdl >= handle) in gatts_process_attribute_req()
1374 if (p_rcb->in_use && p_rcb->s_hdl <= handle && p_rcb->e_hdl >= handle) in gatts_process_value_conf()