Method | Description | |
---|---|---|
Disconnect ( ) : void | ||
ManualControl ( SirenOfShame.Lib.Device.ManualControlData manualControlData ) : void | ||
PerformFirmwareUpgrade ( Stream hexFileStream, Action |
||
PlayAudioPattern ( SirenOfShame.Lib.Device.AudioPattern audioPattern, System.TimeSpan durationTimeSpan ) : void | ||
PlayLightPattern ( SirenOfShame.Lib.Device.LedPattern lightPattern, System.TimeSpan durationTimeSpan ) : void | ||
ReadDeviceInfo ( ) : SirenOfShame.Lib.Device.SirenOfShameInfo | ||
SirenOfShameDevice ( ) : System | ||
StopAudioPattern ( ) : void | ||
StopLightPattern ( ) : void | ||
TryConnect ( ) : bool | ||
UploadCustomPatterns ( IEnumerable |
||
WndProc ( Message &message ) : void |
Method | Description | |
---|---|---|
BeginAsyncRead ( ) : void | ||
CalculateDurationFromTimeSpan ( System.TimeSpan durationTimeSpan ) : |
||
CheckConnection ( ) : void | ||
EnsureConnected ( ) : void | ||
FindDevice ( ) : UsbLib.DeviceInterface | ||
OnConnected ( ) : void | ||
OnDisconnected ( ) : void | ||
OnRead ( IAsyncResult ar ) : void | ||
ReadAudioPatterns ( ) : void | ||
ReadLedPatterns ( ) : void | ||
SendControlPacket ( ControlByte1Flags controlByte = ControlByte1Flags.Ignore, byte audioMode = (byte)0xff, UInt16 audioDuration = (UInt16)0xffff, byte ledMode = (byte)0xff, UInt16 ledDuration = (UInt16)0xffff, byte readAudioIndex = (byte)0xff, byte readLedIndex = (byte)0xff, byte manualLeds0 = (byte)0xff, byte manualLeds1 = (byte)0xff, byte manualLeds2 = (byte)0xff, byte manualLeds3 = (byte)0xff, byte manualLeds4 = (byte)0xff ) : void | ||
SendData ( int address, Stream stream ) : void | ||
_usbDeviceNotification_UsbDeviceArrived ( object sender, EventArgs e ) : void |
public ManualControl ( SirenOfShame.Lib.Device.ManualControlData manualControlData ) : void | ||
manualControlData | SirenOfShame.Lib.Device.ManualControlData | |
return | void |
public PerformFirmwareUpgrade ( Stream hexFileStream, Action |
||
hexFileStream | Stream | |
progressFunc | Action |
|
return | void |
public PlayAudioPattern ( SirenOfShame.Lib.Device.AudioPattern audioPattern, System.TimeSpan durationTimeSpan ) : void | ||
audioPattern | SirenOfShame.Lib.Device.AudioPattern | |
durationTimeSpan | System.TimeSpan | |
return | void |
public PlayLightPattern ( SirenOfShame.Lib.Device.LedPattern lightPattern, System.TimeSpan durationTimeSpan ) : void | ||
lightPattern | SirenOfShame.Lib.Device.LedPattern | |
durationTimeSpan | System.TimeSpan | |
return | void |
public ReadDeviceInfo ( ) : SirenOfShame.Lib.Device.SirenOfShameInfo | ||
return | SirenOfShame.Lib.Device.SirenOfShameInfo |
public UploadCustomPatterns ( IEnumerable |
||
audioPatterns | IEnumerable |
|
ledPatterns | IEnumerable |
|
progressFunc | Action |
|
return | void |