Hello!
Our WinCE 6.0 device can connect to PC through serial (using active sync) and mass storage interfaces. At present I use active sync connection, usb serial mode and rapi for communications between PC software and WinCE device software.
I want to avoid using of active sync and use mass storage instead. So the idea is to implement own little api that performs the required for me rapi functions. I connect the device as mass storage. I create the file on the device. PC software read/write
commands(replies) from/into this file, WinCE device read/write commands(and replies) from/into this file too. It looks fine except one thing:
The problem is that looks like WinCE device refreshes its file-system only during usb reconnect or OS restart... As result after PC software write into file something (for example command) WinCE device doesn't see the changes until I make
reconnect. How can I refresh WinCE mass-storage files from disk programmatically without reconnect? Maybe there is some solution to exchange by data between PC and WinCE
using mass-storage connection?