|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > SetDeviceCommsState Method > BncsFramework.SetDeviceCommsState Method (DeviceCommsStates, UInt32, Boolean) |
Sets the communication state of a device and invokes an event when the state changes.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static void SetDeviceCommsState(
Enums.DeviceCommsStates deviceCommsState,
uint deviceId,
bool setBncsState
)
deviceCommsState
Type: BNCS.Core.DriverFramework.Classes.Enums.DeviceCommsStates
The communication state to set for the device.
deviceId
Type: UInt32
The ID of the device.
setBncsState
Type: Boolean
A boolean value indicating whether to set the BNCS driver state to match.
BNCS.Core.DriverFramework Namespace