MCPcopy Create free account
hub / github.com/Telefonica/HomePWN / toggle_device

Function toggle_device

utils/bluetooth_utils.py:79–108  ·  view source on GitHub ↗

Power ON or OFF a bluetooth device. :param dev_id: Device id. :type dev_id: ``int`` :param enable: Whether to enable of disable the device. :type enable: ``bool``

(dev_id, enable)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
adv_airdropMethod · 0.90

Calls 2

packMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected