aboutsummaryrefslogtreecommitdiff
path: root/BluetoothPairedDevices.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--BluetoothPairedDevices.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BluetoothPairedDevices.py b/BluetoothPairedDevices.py
index 4190159..aa5b056 100644
--- a/BluetoothPairedDevices.py
+++ b/BluetoothPairedDevices.py
@@ -9,7 +9,8 @@ elif sys.platform == "win32":
def ParrotZikMac():
- p = re.compile('90:03:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}')
+ p = re.compile('90:03:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}|'
+ 'A0:14:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}')
if sys.platform == "linux2":
out = os.popen("bluez-test-device list").read()
res = p.findall(out)