USBFS_GetInfo
Returns the USB file system label and the length of the stored data in bytes.
Synopsis
int USBFS_GetInfo(
void *handle,
dev_properties_t *dp,
capacity_t *cap,
uint32_t *dataLen,
uint8_t *label,
uint8_t *header
);
Input Parameters
| Parameter | Description |
|---|---|
cap
|
Capacity |
dataLen
|
Length of the data string to follow |
dp
|
Structure |
handle
|
Device handle |
header
|
Pointer to file system block 0 |
label
|
File system label |
Input Requirements
Refer to the FM sample usbdemo for the call sequence requirements.
Return Value
The function returns CKR_USB_OK if successful, or one of the error codes in USB API Vendor-Defined Error Codes.