\Tests\Unit\IqrfNetModule\ModelsStandardLightManagerTest

Test for IQRF Standard light manager

Summary

Methods
Properties
Constants
readJsonResponse()
testEnumerate()
testSetPower()
testGetPower()
testIncrementPower()
testDecrementPower()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

readJsonResponse()

readJsonResponse(  mType) : mixed||string|int

Reads the IQRF JSON API response

Parameters

mType

Message type

Returns

mixed||string|int —

IQRF JSON API response

testEnumerate()

testEnumerate() : 

Tests function to enumerate IQRF Standard light device

Returns

testSetPower()

testSetPower() : 

Test the function to set power of IQRF Standard light

Returns

testGetPower()

testGetPower() : 

Test the function to get power of IQRF Standard light

Returns

testIncrementPower()

testIncrementPower() : 

Test the function to increment power of IQRF Standard light

Returns

testDecrementPower()

testDecrementPower() : 

Test the function to decrement power of IQRF Standard light

Returns