• Home
  • Raw
  • Download

Lines Matching refs:p_device_info

889                          tSDP_DI_GET_RECORD* p_device_info,  in SDP_GetDiRecord()  argument
914 SDP_AttrStringCopy(p_device_info->rec.client_executable_url, p_curr_attr, in SDP_GetDiRecord()
920 SDP_AttrStringCopy(p_device_info->rec.service_description, p_curr_attr, in SDP_GetDiRecord()
926 SDP_AttrStringCopy(p_device_info->rec.documentation_url, p_curr_attr, in SDP_GetDiRecord()
932 p_device_info->spec_id = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
938 p_device_info->rec.vendor = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
945 p_device_info->rec.vendor_id_source = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
951 p_device_info->rec.product = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
958 p_device_info->rec.version = p_curr_attr->attr_value.v.u16; in SDP_GetDiRecord()
964 p_device_info->rec.primary_record = (bool)p_curr_attr->attr_value.v.u8; in SDP_GetDiRecord()
987 uint16_t SDP_SetLocalDiRecord(tSDP_DI_RECORD* p_device_info, in SDP_SetLocalDiRecord() argument
999 if (p_device_info == NULL) return SDP_ILLEGAL_PARAMETER; in SDP_SetLocalDiRecord()
1002 if (p_device_info->primary_record && sdp_cb.server_db.di_primary_handle) in SDP_SetLocalDiRecord()
1027 if (p_device_info->client_executable_url[0] != '\0') { in SDP_SetLocalDiRecord()
1028 if (!((strlen(p_device_info->client_executable_url) + 1 <= in SDP_SetLocalDiRecord()
1032 (uint32_t)(strlen(p_device_info->client_executable_url) + 1), in SDP_SetLocalDiRecord()
1033 (uint8_t*)p_device_info->client_executable_url))) in SDP_SetLocalDiRecord()
1040 if (p_device_info->service_description[0] != '\0') { in SDP_SetLocalDiRecord()
1041 if (!((strlen(p_device_info->service_description) + 1 <= in SDP_SetLocalDiRecord()
1045 (uint32_t)(strlen(p_device_info->service_description) + 1), in SDP_SetLocalDiRecord()
1046 (uint8_t*)p_device_info->service_description))) in SDP_SetLocalDiRecord()
1053 if (p_device_info->documentation_url[0] != '\0') { in SDP_SetLocalDiRecord()
1054 if (!((strlen(p_device_info->documentation_url) + 1 <= in SDP_SetLocalDiRecord()
1058 (uint32_t)(strlen(p_device_info->documentation_url) + 1), in SDP_SetLocalDiRecord()
1059 (uint8_t*)p_device_info->documentation_url))) in SDP_SetLocalDiRecord()
1067 UINT16_TO_BE_STREAM(p_temp, p_device_info->vendor); in SDP_SetLocalDiRecord()
1069 sizeof(p_device_info->vendor), temp_u16))) in SDP_SetLocalDiRecord()
1076 UINT16_TO_BE_STREAM(p_temp, p_device_info->product); in SDP_SetLocalDiRecord()
1078 sizeof(p_device_info->product), temp_u16))) in SDP_SetLocalDiRecord()
1085 UINT16_TO_BE_STREAM(p_temp, p_device_info->version); in SDP_SetLocalDiRecord()
1087 sizeof(p_device_info->version), temp_u16))) in SDP_SetLocalDiRecord()
1093 u8 = (uint8_t)p_device_info->primary_record; in SDP_SetLocalDiRecord()
1102 UINT16_TO_BE_STREAM(p_temp, p_device_info->vendor_id_source); in SDP_SetLocalDiRecord()
1104 sizeof(p_device_info->vendor_id_source), temp_u16))) in SDP_SetLocalDiRecord()
1110 else if (p_device_info->primary_record) in SDP_SetLocalDiRecord()