Lines Matching refs:p_rec
71 void hidh_get_str_attr(tSDP_DISC_REC* p_rec, uint16_t attr_id, uint16_t max_len, in hidh_get_str_attr() argument
76 p_attr = SDP_FindAttributeInRec(p_rec, attr_id); in hidh_get_str_attr()
92 tSDP_DISC_REC* p_rec; in hidh_search_callback() local
106 p_rec = SDP_FindServiceUUIDInDb(p_db, hid_uuid, NULL); in hidh_search_callback()
107 if (p_rec == NULL) { in hidh_search_callback()
115 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_DESCRIPTOR_LIST)) == in hidh_search_callback()
132 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_VIRTUAL_CABLE)) != in hidh_search_callback()
139 p_rec, ATTR_ID_HID_RECONNECT_INITIATE)) != NULL) && in hidh_search_callback()
145 p_rec, ATTR_ID_HID_NORMALLY_CONNECTABLE)) != NULL) && in hidh_search_callback()
150 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_SDP_DISABLE)) != in hidh_search_callback()
156 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_BATTERY_POWER)) != in hidh_search_callback()
162 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_REMOTE_WAKE)) != in hidh_search_callback()
168 hidh_get_str_attr(p_rec, ATTR_ID_SERVICE_NAME, HID_MAX_SVC_NAME_LEN, in hidh_search_callback()
170 hidh_get_str_attr(p_rec, ATTR_ID_SERVICE_DESCRIPTION, HID_MAX_SVC_DESCR_LEN, in hidh_search_callback()
172 hidh_get_str_attr(p_rec, ATTR_ID_PROVIDER_NAME, HID_MAX_PROV_NAME_LEN, in hidh_search_callback()
175 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_DEVICE_RELNUM)) != in hidh_search_callback()
180 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_COUNTRY_CODE)) != in hidh_search_callback()
185 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_DEVICE_SUBCLASS)) != in hidh_search_callback()
190 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_PARSER_VERSION)) != in hidh_search_callback()
196 p_rec, ATTR_ID_HID_LINK_SUPERVISION_TO)) != NULL)) { in hidh_search_callback()
201 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_SSR_HOST_MAX_LAT)) != in hidh_search_callback()
209 p_rec, ATTR_ID_HID_SSR_HOST_MIN_TOUT)) != NULL)) { in hidh_search_callback()
215 hh_cb.sdp_rec.p_sdp_layer_rec = p_rec; in hidh_search_callback()