expliot.plugins.ble.tappunlock

Support for testing Tapplock device.

Classes

TappUnlock

Unlock Tapplock device.

Module Contents

class expliot.plugins.ble.tappunlock.TappUnlock

Bases: expliot.core.tests.test.Test

Unlock Tapplock device.

output Format: [

{

“name”: “Foobar”, “addr”: “de:ad:be:ef:01:01”, “sent_pair_data”: “55aab4010800abedcc01”, “sent_unlock_cmd”: “55aa810200008201”

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

]

TNAMEPREFIX = 'TL104A'
PAIRPREXIX = '55aab4010800'
UNLOCKCMD = '55aa810200008201'
UNLOCKHNDL = 14
DEFKEY = '01020304'
DEFSERIAL = '00000000'
DEFPAIR = '55aab40108000102030400000000'
execute()

Execute the test.

unlock(mac, name=None)

Unlock the specified Tapplock.

Args:

mac(str): The BLE address of the Tapplock name(str): The name of the Tapplock as advertised over BLE

Returns:

Nothing