Although the. Net Micro Framework already supports file systems (FAT16/FAT32), but is not directly accessible remotely, in a sense, storage media that cannot interact with the PC is somewhat tasteless. When I was doing sideshow related development, in order to copy files to the file system, realize the Usbmassstorage function, the device when the USB drive to use, but this is equal to exclusive USB port, and the device and PC connection must also be USB, to have only serial or network port equipment is invalid. As anyone who has done wince or Windows mobile development knows, VS2008 development tools provide remote tools such as remote file Viewer, remote Registry Editor, remote Heap Viewer, remote zoom, and more. By this inspiration, MF's remote file Viewer is available.
The remote file Viewer, still exists as a Mfdeploy plug-in (how do plug-ins?) See "Topsy. Net mf–01"), the final operating main interface is as follows:
The implementation of this function than "let the PC become MF Mouse keyboard" is also complex, need to modify and add more code, the following we explain.
Realize the idea: Considering that Mfdeploy has realized the function of read and write Flash, so the original idea is to realize FAT file system on the PC side (I have implemented the FAT16 system based on hard disk), but it is very complicated to support the Fat16/fat32 two modes. And efficiency is also difficult to guarantee; FTP is a remote access to the file system, but this is based on TCP/IP protocol, USB and serial is not suitable, so consider on the PC side to achieve a middle layer, do a similar serial port/USB to TCP module, so that the implementation of The advantage is that the FTP client is ready-made, do not need to specifically develop the relevant operating interface, but FTP is based on two TCP connections, to achieve some difficulty; Finally, combined with the characteristics of FTP, the implementation of FTP-related directives, such as PWD, CD, Cdup, MKD and dele instructions, etc. The drawback is that the operation of the interface to develop their own.