Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

MethodDescription
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.

PropertyAccess typeDescription

DeviceServiceID

Read-only

The ID of the device service to which this object is associated.

InterfaceID

Read-only

The interface ID of the Mobile Broadband device to which this object is associated.

IsCommandSessionOpen

Read-only

Reports if the device service command session is open.

IsDataSessionOpen

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

Mbnapi.idl

 

 

Show: