C# Class Neon.Engine.Components.Broadlink.NET.BroadlinkDevice

Generic Broadlink device
Show file Open project: tgiachi/Neon Class Usage Examples

Public Methods

Method Description
AuthorizeAsync ( ) : Task

Obtain the device id and encryption key needed for other calls

Run this method before making any other calls

Protected Methods

Method Description
SendAndWaitForResponseAsync ( Array packet ) : Task

Send a packet and wait for the response

SendAsync ( Array packet ) : Task

Method Details

AuthorizeAsync() public method

Obtain the device id and encryption key needed for other calls
Run this method before making any other calls
public AuthorizeAsync ( ) : Task
return Task

SendAndWaitForResponseAsync() protected method

Send a packet and wait for the response
protected SendAndWaitForResponseAsync ( Array packet ) : Task
packet Array Packet to send
return Task

SendAsync() protected method

protected SendAsync ( Array packet ) : Task
packet Array
return Task