Unmanaged Device-Side Smart Device Connectivity API
Visual C++ device projects that use this API are called device agent applications. Desktop applications that use the Smart Device Connectivity API can deploy device agents to the device and communicate with them by exchanging packet data. By using this library, you can programmatically exchange data between device and desktop while letting the Smart Device Connectivity API handle interconnectivity and transport mechanism details.
To use the unmanaged device-side Smart Device Connectivity API in your smart device project, complete the following tasks:
Include DeviceAgentTransport.h in the project.
By default, the header file is located at drive:\Program Files\Common Files\microsoft shared\CoreCon\1.0\Target\Include.
Deploy DeviceAgentTransport.dll to the smart device.
By default, the library is located in drive:\Program Files\Common Files\microsoft shared\CoreCon\1.0\Target\wce400\cpu.
For more information, see Controlling Devices with the Smart Device Connectivity API.
Note
To create a device agent by using Visual C# or Visual Basic, use Microsoft.SmartDevice.DeviceAgentTransport.
In This Section
GetDeviceAgentTransport
Creates a device agent instance that implements IDeviceAgentTransport.IDeviceAgentTransport
Used to communicate with a RemoteAgent on a desktop computer.IAgentTransportShutdownCallback
Defines the methods that a shutdown callback object must implement.IDevicePacketStream
Exchanges data with a connected DevicePacketStream on a desktop computer by reading and writing objects that implement IPacket.GetNewPacket
Creates a packet object that implements IPacket.IPacket
Holds data and is used by objects that implement IDevicePacketStream to transfer data between a device agent application and a desktop computer.DataTypeEnum
Used to indicate the type of object in the packet.
See Also
Concepts
Controlling Devices with the Smart Device Connectivity API