rt-thread/port/msc_device.c
void tud_msc_inquiry_cb(uint8_t lun, uint8_t vendor_id[8], uint8_t product_id[16], uint8_t product_rev[4]) {
    (void) lun;

    const char vid[] = "TinyUSB";
    const char pid[] = "Mass Storage";
    const char rev[] = "1.0";

    memcpy(vendor_id, vid, strlen(vid));
    memcpy(product_id, pid, strlen(pid));
    memcpy(product_rev, rev, strlen(rev));
}
// Invoked when received SCSI_CMD_INQUIRY
// Application fill vendor id, product id and revision with string up to 8, 16, 4 characters respectively
Invoked when received SCSI_CMD_INQUIRY
Application fill vendor id, product id and revision with string up to 8, 16, 4 characters respectively
Invoked when received SCSI_CMD_INQUIRY Application fill vendor id product id and revision with string up to 8 16 4 characters respectively
void tud_msc_inquiry_cb(uint8_t lun, uint8_t vendor_id[8], uint8_t product_id[16], uint8_t product_rev[4]) {
    (void) lun;
    const char vid[] = "TinyUSB";
    const char pid[] = "Mass Storage";
    const char rev[] = "1.0";
    memcpy(vendor_id, vid, strlen(vid));
    memcpy(product_id, pid, strlen(pid));
    memcpy(product_rev, rev, strlen(rev));
}
void tud_msc_inquiry_cb ( uint8_t lun , uint8_t vendor_id [ 8 ] , uint8_t product_id [ 16 ] , uint8_t product_rev [ 4 ] ) { ( void ) lun ; const char vid [ ] = " " ; const char pid [ ] = " " ; const char rev [ ] = " " ; memcpy ( vendor_id , vid , strlen ( vid ) ) ; memcpy ( product_id , pid , strlen ( pid ) ) ; memcpy ( product_rev , rev , strlen ( rev ) ) ; }
Invoked when received SCSI_CMD_INQUIRY
Application fill vendor id, product id and revision with string up to 8, 16, 4 characters respectively
Invoked when received SCSI_CMD_INQUIRY Application fill vendor id product id and revision with string up to 8 16 4 characters respectively