Skip to content

TUSB_CLASS_SMART_CARD support #3374

@revk

Description

@revk

Related area

I am trying to make a CCID reader device

Hardware specification

ESP32S3

Is your feature request related to a problem?

Firstly, please, let me know if there is any way to make a "generic" device with simple bulk in and out.

If so, that would suit me for now. But so far I have not found one - perhaps this could itself be a feature to allow for a variety of classes of devices that are not yet covered by TinyUSB. I tried VENDOR, but had not realised that it specific to class 0xFF, and if with that check commented out, looks like it only does bulk in (am I right?).

A generic driver for any class would be ideal.

Describe the solution you'd like

What I am looking for is device class for Smart Card (0x0B), and in my case I am happy just to have the CCID messages built of from the 64 byte packets (is that how it works), a callback with a request and returning a reply as a transfer.

Now, looking at the code, it is probably possible for me to actually do this change, bodging one of the existing classes. Is that helpful?

But as I say, if there is any way to do a generic bulk in/out class that would also suit me.

Perhaps the VENDOR class could avoid checking the class is 0xFF and add bulk in and out?

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions