P2P RRS feed

  • Question

  • Scenario:


    In a manufacturing line, there are several stations equipped with Windows XP machines that control devices.  Each person who works the line has their own CE device.  As the user operates the station, the Windows XP machine needs to tell the CE device to perform a specific action.  If the Windows XP device cannot talk to the CE device, they want the Windows XP station to display an error message and shut down the station.




    1.    What is the best way for a Windows XP machine to drive a CE device?

    2.    Can you point me to a good example?




    Tuesday, March 13, 2007 8:34 PM


  • George,


    I have had success driving a Windows CE device by using a custom protocol over a TcpClient.  You can start a TcpListener on the device and send a periodic heartbeat back to the Windows PC.  If the PC does not receive the timeout for a defined interval, the device would be assumed to be stalled.


    The same connection would be used to send instructions to the device (sends a command ID followed by any required data).

    Hope this helps!
    - David Kline
    Microsoft .NET Compact Framework

    Monday, June 4, 2007 7:21 PM