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

Function set_scan

utils/bluetooth_utils.py:117–149  ·  view source on GitHub ↗

Set scan type on a given bluetooth device. :param dev_id: Device id. :type dev_id: ``int`` :param scan_type: One of ``'noscan'`` ``'iscan'`` ``'pscan'`` ``'piscan'`` :type scan_type: ``str``

(dev_id, scan_type)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

packMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected