Properties
FREQUENCY
FREQUENCY: '433'|'868'|'ir'
manifest
manifest: object
Methods
commandToDeviceData
(static) commandToDeviceData(command)
Parameters
Name |
Type |
Description |
command
|
object
|
|
commandToPayload
(static) commandToPayload(props)
Parameters
Name |
Type |
Description |
props
|
object
|
|
createPairCommand
(static) createPairCommand()
payloadToCommand
(static) payloadToCommand(props)
Parameters
Name |
Type |
Description |
props
|
object
|
|
cmd
(async) cmd(command, props): Promise.<void>
Parameters
Name |
Type |
Description |
command
|
string
|
|
props
|
object
|
|
onRX
(async) onRX(payload, isFirst): Promise.<void>
Parameters
Name |
Type |
Description |
payload
|
|
|
isFirst
|
boolean
|
|
registerRXListener
(async) registerRXListener(listener): Promise.<void>
Parameters
Name |
Type |
Description |
listener
|
function
|
|
tx
(async) tx(command, props): Promise.<void>
Parameters
Name |
Type |
Description |
command
|
string
|
|
props
|
object
|
|
unregisterRXListener
(async) unregisterRXListener(listener): Promise.<void>
Parameters
Name |
Type |
Description |
listener
|
function
|
|