Thanks to your reply, ChrisHxx & Aurelio ;)
The following items make me suspect that memory shortage is the cause of the problem.
- WP81ProjectionClient_Test does not work both 950 XL and 640 XL.
- WP81ProjectionClient works with 640 XL but image is bad quality.
As you mentioned before, the buffer size is currently 512 KB.
#define
PROJECTION_CLIENT_MAX_IMAGE_BUF_SIZE
0xC8600
//854
* 480(16bit)
I change it to 2MB to suit for 950 XL and make new build.
#define
PROJECTION_CLIENT_MAX_IMAGE_BUF_SIZE
(2*1024*1024)
https://1drv.ms/f/s!AsNY9CSRTH0roqhZlAT6e9xFN8KmHg
-> WinPhoneProjection-nyama3310_2M.zip
Please try it and let me know any change.
BTW, The following items are probably caused by a bug in WinUSB.
- the app on the PC takes a while to start and to display its windows. Say some 15 seconds. But not always.(?)
We casn't stop capture transfer even if we send finish command.
- First time, we succeed to start capture but finishing is fail.
- Second time, we must wait starting because previous transfer is still alive.
- Third time, phone reboot because too many transfers are alive.
That's why phone reboots about 33%(1/3 times) and unplug cable is effective workaround.
If you use it in V.1709, any problem is never occured.
And one more:
- no input recognized from PC to phone. In other words PC mouse is not recognized by the PC app
That’s natural because there aren't any code about input;(
But I found some data send via WinUsb_Write cause phone touch event.
We can input remotely from PC if we convert touch event to WinUsb_Write data.
I'll try it but I may not be able to do that because conversion seems to be too complex.