expliot.plugins.ble.blescan

Support to scan for BLE devices.

Module Contents

Classes

BleScan

Scan for BLE devices.

class expliot.plugins.ble.blescan.BleScan

Bases: expliot.core.tests.test.Test

Scan for BLE devices.

output Format: [

{

“name”: “Foobar”, # Device name if present or “Unknown” “addr”: “de:ad:be:ef:00:00”, # Device BLE address “addrtype”: “random”, # or “public” addr type “rssi”: “60 dBm”, # RSSI strength “connectable”: True, # or False “adtype_data”: [

{

“adtype”: 25, # int “description”: “Foobar”, # Human readable adtype name “value”: “Foobar” # Value of adtype

}, … # may be more than one adtype_data

]

}, # … May be zero or more entries. # If zero ble devices found the above dict will not be present

]

execute()

Execute the plugin. Scan for BLE devices in the proximity.

Returns:

Nothing