KurtE
Senior Member+
@mjs513 defragster ...
I was playing around some more with Format code. The quick format goes through without timing out the MTP connection.
SO I would try a two step low format version, where I call twice with a follow up parameter passed in, such that I could quickly return the command response OK, and then call it again to do the actual work... And
after this one completes send the sledgehammer reset event.
However MTP I believe tried to send additional requests, which then timed out. So for the fun of it I am now going to try a secondary part to this...
Before I start up the format, I will try starting up an interval timer, which looks for and processes simple messages, like query data...
For everything else return something like: MTP_RESPONSE_DEVICE_BUSY
And see what happens.
But first need to go play in the snow
I was playing around some more with Format code. The quick format goes through without timing out the MTP connection.
SO I would try a two step low format version, where I call twice with a follow up parameter passed in, such that I could quickly return the command response OK, and then call it again to do the actual work... And
after this one completes send the sledgehammer reset event.
However MTP I believe tried to send additional requests, which then timed out. So for the fun of it I am now going to try a secondary part to this...
Before I start up the format, I will try starting up an interval timer, which looks for and processes simple messages, like query data...
For everything else return something like: MTP_RESPONSE_DEVICE_BUSY
And see what happens.
But first need to go play in the snow