Hexagon / node-telldus

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

Require testing: New functions getNumberOfDevices, getNumberOfDevicesSync #37

Closed Hexagon closed 10 years ago

Hexagon commented 10 years ago

This function returns the number of devices configured.

Parameters:

None

Returns:

An integer of the total number of devices configured.

Note:

Even though the documentation don't specifically state that, this function will return a negative integer on any kind of failure (for example non existant tellstick)