IMbnDeviceService interface
Allows for communicating with a device service on a particular Mobile Broadband device.
Members
The IMbnDeviceService interface inherits from the IUnknown interface. IMbnDeviceService also has these types of members:
Methods
The IMbnDeviceService interface has these methods.
| Method | Description |
|---|---|
| CloseCommandSession |
Closes a command session to a device service on a Mobile Broadband device. |
| CloseDataSession |
Closes the data session to a device service on a Mobile Broadband device. |
| OpenCommandSession |
Opens a command session to a device service on a Mobile Broadband device. |
| OpenDataSession |
Open a data session to the device service on a Mobile Broadband device. |
| QueryCommand |
Sends a QUERY control command to the device service of a Mobile Broadband device. |
| QuerySupportedCommands |
Gets the list of commands IDs supported by the Mobile Broadband device service. |
| SetCommand |
Sends a SET control command to the device service of a Mobile Broadband device. |
| WriteData |
Write data to a device service data session. |
Properties
The IMbnDeviceService interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
The ID of the device service to which this object is associated. | |
|
Read-only |
The interface ID of the Mobile Broadband device to which this object is associated. | |
|
Read-only |
Reports if the device service command session is open. | |
|
Read-only |
Reports if the device service data session is open. |
Remarks
IMbnDeviceService objects are provided by a call to the GetDeviceService method of the IMbnDeviceServicesContext interface.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|