Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration CommandType

Index

Enumeration members

Enumeration members

dfu

dfu: = "dfu"

This command is special for DFU. It subscribes to notifications, writes and then immediately returns succesful because the shade is rebooting.

passthru

passthru: = "passthru"

This command enables direct reads and writes to any supported BLE service/characteristic.

read

read: = "read"

This command reads a BLE characteristic and returns the parsed response.

write

write: = "write"

This command writes to a BLE characteristic and returns void after the write acknowledgement

writeAndListen

writeAndListen: = "write_listen"

This command is the most complicated. It both writes and and listens to a characteristic, expecting the char to notify once the requested action is completed. It will return a parsed response from the notification body.

Generated using TypeDoc