Helper Class Reference
1.1
HomeGenie - Automation Programs' Engine SDK
|
KNX client helper. Class instance accessor: KnxClient More...
Public Member Functions | |
KnxClientHelper | EndPoint (string host, int port) |
Set the endpoint to connect to. More... | |
KnxClientHelper | EndPoint (string host) |
Set the endpoint to connect to. More... | |
KnxClientHelper | EndPoint (int port) |
Set the endpoint to connect to. More... | |
KnxClientHelper | EndPoint (string localIp, int localPort, string remoteIp, int remotePort) |
Set the endpoint to connect to using tunneling. More... | |
KnxClientHelper | Connect () |
Connect to the remote host using the specified port. More... | |
KnxClientHelper | Disconnect () |
Disconnects from the remote host. More... | |
KnxClientHelper | Action (string address, bool data) |
Send action data to the specified address. More... | |
KnxClientHelper | Action (string address, int data) |
Send action data to the specified address. More... | |
KnxClientHelper | Action (string address, byte data) |
Send action data to the specified address. More... | |
KnxClientHelper | Action (string address, byte[] data) |
Send action data to the specified address. More... | |
KnxClientHelper | Action (string address, string data) |
Send action data to the specified address. More... | |
KnxClientHelper | Action (string address, object data) |
Send action data to the specified address. More... | |
KnxClientHelper | RequestStatus (string address) |
Requests the status. More... | |
byte[] | ConvertToDpt (string type, object data) |
Converts to KNX Data Point Type. More... | |
object | ConvertFromDpt (string type, object data) |
Converts from KNX Data Point Type. More... | |
KnxClientHelper | OnStatusChanged (Action< bool > statusChangeAction) |
Sets the function to call when the status of the connection changes. More... | |
KnxClientHelper | OnEventReceived (Action< string, string > eventAction) |
Sets the function to call when a new event is received. More... | |
KnxClientHelper | OnStatusReceived (Action< string, string > statusAction) |
Sets the function to call when a new status is received. More... | |
KNX client helper. Class instance accessor: KnxClient
KnxClientHelper EndPoint | ( | string | host, |
int | port | ||
) |
Set the endpoint to connect to.
host | Endpoint address. |
port | Endpoint port. |
KnxClientHelper EndPoint | ( | string | host | ) |
Set the endpoint to connect to.
host | Endpoint address. |
KnxClientHelper EndPoint | ( | int | port | ) |
Set the endpoint to connect to.
port | Endpoint port. |
KnxClientHelper EndPoint | ( | string | localIp, |
int | localPort, | ||
string | remoteIp, | ||
int | remotePort | ||
) |
Set the endpoint to connect to using tunneling.
localIp | Local IP. |
localPort | Local port. |
remoteIp | Remote IP. |
remotePort | Remote port. |
KnxClientHelper Connect | ( | ) |
Connect to the remote host using the specified port.
port | Port number. |
KnxClientHelper Disconnect | ( | ) |
Disconnects from the remote host.
KnxClientHelper Action | ( | string | address, |
bool | data | ||
) |
Send action data to the specified address.
address | Address. |
data | boolean action value. |
KnxClientHelper Action | ( | string | address, |
int | data | ||
) |
Send action data to the specified address.
address | Address. |
data | int action value. |
KnxClientHelper Action | ( | string | address, |
byte | data | ||
) |
Send action data to the specified address.
address | Address. |
data | byte action value. |
KnxClientHelper Action | ( | string | address, |
byte[] | data | ||
) |
Send action data to the specified address.
address | Address. |
data | byte array action value. |
KnxClientHelper Action | ( | string | address, |
string | data | ||
) |
Send action data to the specified address.
address | Address. |
data | string action value. |
KnxClientHelper Action | ( | string | address, |
object | data | ||
) |
Send action data to the specified address.
address | Address. |
data | generic object action value. |
KnxClientHelper RequestStatus | ( | string | address | ) |
Requests the status.
address | Address. |
byte [] ConvertToDpt | ( | string | type, |
object | data | ||
) |
object ConvertFromDpt | ( | string | type, |
object | data | ||
) |
KnxClientHelper OnStatusChanged | ( | Action< bool > | statusChangeAction | ) |
Sets the function to call when the status of the connection changes.
statusChangeAction | Function or inline delegate. |
KnxClientHelper OnEventReceived | ( | Action< string, string > | eventAction | ) |
Sets the function to call when a new event is received.
eventAction | Function or inline delegate. |
KnxClientHelper OnStatusReceived | ( | Action< string, string > | statusAction | ) |
Sets the function to call when a new status is received.
statusAction | Function or inline delegate. |