PTP_GetString() is only used within STM32_USB_Host_Library.
 
Symbols
loading...
Files
loading...

PTP_GetString() function

PTP_GetString Gets SCII String from.

Syntax

static void PTP_GetString(uint8_t *str,     uint8_t *data,     uint16_t *len);
Implemented in usbh_mtp_ptp.c:876

Arguments

str

ascii string

data

Device info structure

len

Return value

None

References

LocationReferrerText
usbh_mtp_ptp.c:876
static void PTP_GetString(uint8_t *str, uint8_t *data, uint16_t *len)
usbh_mtp_ptp.c:99
static void PTP_GetString(uint8_t *str, uint8_t *data, uint16_t *len);
usbh_mtp_ptp.c:573PTP_DecodeDeviceInfo()
PTP_GetString(dev_info->VendorExtensionDesc, &data[PTP_di_VendorExtensionDesc], &len);
usbh_mtp_ptp.c:598PTP_DecodeDeviceInfo()
PTP_GetString(dev_info->Manufacturer, &data[PTP_di_OperationsSupported + totallen], &len);
usbh_mtp_ptp.c:601PTP_DecodeDeviceInfo()
PTP_GetString(dev_info->Model, &data[PTP_di_OperationsSupported + totallen], &len);
usbh_mtp_ptp.c:604PTP_DecodeDeviceInfo()
PTP_GetString(dev_info->DeviceVersion, &data[PTP_di_OperationsSupported + totallen], &len);
usbh_mtp_ptp.c:607PTP_DecodeDeviceInfo()
PTP_GetString(dev_info->SerialNumber, &data[PTP_di_OperationsSupported + totallen], &len);
usbh_mtp_ptp.c:650PTP_GetStorageInfo()
PTP_GetString(stor_info->StorageDescription, &data[PTP_si_StorageDescription], &len);
usbh_mtp_ptp.c:651PTP_GetStorageInfo()
PTP_GetString(stor_info->VolumeLabel, &data[PTP_si_StorageDescription + (len * 2U) + 1U], &len);
usbh_mtp_ptp.c:688PTP_GetObjectInfo()
PTP_GetString(object_info->Filename, &data[PTP_oi_filenamelen], &filenamelen);
usbh_mtp_ptp.c:804PTP_GetDevicePropValue()
PTP_GetString((uint8_t *)(void *)value->str, (uint8_t *) & (data[*offset]), &len);

Call Tree

Functions calling PTP_GetString()
PTP_GetString()
Data read by PTP_GetString()
Data written by PTP_GetString()
PTP_GetString()::str
PTP_GetString()::data
PTP_GetString()::strlength
PTP_GetString()::idx
all items filtered out
PTP_GetString()
PTP_GetString()::str
PTP_GetString()::data
PTP_GetString()::strlength
PTP_GetString()::idx
all items filtered out
Type of PTP_GetString()
PTP_GetString()
uint16_t
all items filtered out