Replies: 1 comment
-
|
I'm currently working on the same problem. Unfortunately, my host doesn't check for new files either. For example, with session_id is UINT32_MAX because MTP specification v1.0 descripted: "If this event is relevant to all current sessions, Since this also doesn't work, I'm wondering if something is missing or if the function is faulty. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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