You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I’m using tinyUsb for a MTP stack embedded in a stm32L4.
I’m facing an issue : Windows doesn’t reload the files nor call MTP_OP_GET_OBJECT_HANDLES or MTP_OP_GET_OBJECT_INFO. I’m wondering how should I do.
I guess I have to use tud_mtp_event_send, isn’t it ? How do I can get the session_id (which seems to be 0 all the time) and the transaction_id ? What parameters should be set or how should this function must be used ?
The stm32 is writing some files, and I want is windows to download the whole file and not just what it kept in cache. I also would like windows to detect a new file if the stm32 create a new one
In tusb_config.h, it seems that only MTP_EVENT_OBJECT_ADDED is set. I added the other anyway.
Thanks in advance. Have a good day.
Thanks for this tinyusb stack.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I’m using tinyUsb for a MTP stack embedded in a stm32L4.
I’m facing an issue : Windows doesn’t reload the files nor call
MTP_OP_GET_OBJECT_HANDLESorMTP_OP_GET_OBJECT_INFO. I’m wondering how should I do.I guess I have to use
tud_mtp_event_send, isn’t it ? How do I can get the session_id (which seems to be 0 all the time) and the transaction_id ? What parameters should be set or how should this function must be used ?The stm32 is writing some files, and I want is windows to download the whole file and not just what it kept in cache. I also would like windows to detect a new file if the stm32 create a new one
In
tusb_config.h, it seems that onlyMTP_EVENT_OBJECT_ADDEDis set. I added the other anyway.Thanks in advance. Have a good day.
Thanks for this tinyusb stack.
Beta Was this translation helpful? Give feedback.
All reactions