Hexagon / node-telldus

Node bindings for telldus-core
Other
34 stars 10 forks source link

Require testing: New functions getDeviceParameterSync , getDeviceParameter #40

Closed Hexagon closed 10 years ago

Hexagon commented 10 years ago

Get a protocol specific parameter for a device.

Parameters:

intDeviceId The device to query.
strName The name of the parameter to query.
defaultValue    A default value to return if the current parameter hasn't previously been set.

Returns:

The protocol specific parameter specified by strName. The returned string must be freed by calling tdReleaseString().