Default USB request handler incomplete Topic is solved
Default USB request handler incomplete Topic is solved
I found that Get Descriptor requests with interface recipients will not be handled correctly. Such a request will not cause the expected invocation of get_descriptor_cb.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Default USB request handler incomplete
Hi,
The default handler can be extended by the application, are you sure that a GET_DESCRIPTOR at interface level should be handled there? it is an easy change anyway.
Giovanni
The default handler can be extended by the application, are you sure that a GET_DESCRIPTOR at interface level should be handled there? it is an easy change anyway.
Giovanni
Re: Default USB request handler incomplete
All USB stacks I've encountered so far provide handling of this kind of request. Is there any reason why a Get Descriptor request would need to be handled outside of get_descriptor_cb?
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Default USB request handler incomplete
e_l_tang wrote:All USB stacks I've encountered so far provide handling of this kind of request. Is there any reason why a Get Descriptor request would need to be handled outside of get_descriptor_cb?
I am not sure, this is why I am asking.
Anyway, I will make the change.
Giovanni
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Who is online
Users browsing this forum: No registered users and 49 guests