From be98e8d14ac8fae34916c26b607771e2faf7452f Mon Sep 17 00:00:00 2001 From: hubert3 Date: Sun, 17 May 2020 13:51:35 +1000 Subject: [PATCH 1/2] Added identifiers for AirPods Gen 2, AirPods Pro and new iPhones --- ble_read_state.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ble_read_state.py b/ble_read_state.py index 1be4de0..adde79b 100644 --- a/ble_read_state.py +++ b/ble_read_state.py @@ -198,6 +198,10 @@ "iPhone11,4": "iPhone XS Max", "iPhone11,6": "iPhone XS Max Global", "iPhone11,8": "iPhone XR", + "iPhone12,1": "iPhone 11", + "iPhone12,3": "iPhone 11 Pro", + "iPhone12,5": "iPhone 11 Pro Max", + "iPhone12,8": "iPhone SE 2nd Gen", "MacBookPro15,1": "MacBook Pro 15, 2019", "MacBookPro15,2": "MacBook Pro 13, 2019", "MacBookPro15,1": "MacBook Pro 15, 2018", @@ -312,6 +316,8 @@ proximity_dev_models = { '0220': 'AirPods', + '0f20': 'AirPods Gen 2', + '0e20': 'AirPods Pro', '0320': 'Powerbeats3', '0520': 'BeatsX', '0620': 'Beats Solo3' @@ -367,6 +373,7 @@ '0003': 'iPad', '0009': 'MacBook', '000a': 'Watch', + '0228': 'Device 0228', } magic_sw_wrist = { From 6ef5d7a808c391f88c58123284ba13f4d9ea68b1 Mon Sep 17 00:00:00 2001 From: hubert3 Date: Sun, 17 May 2020 14:10:09 +1000 Subject: [PATCH 2/2] Add MacBook 12" --- ble_read_state.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ble_read_state.py b/ble_read_state.py index adde79b..1905cfa 100644 --- a/ble_read_state.py +++ b/ble_read_state.py @@ -202,6 +202,7 @@ "iPhone12,3": "iPhone 11 Pro", "iPhone12,5": "iPhone 11 Pro Max", "iPhone12,8": "iPhone SE 2nd Gen", + "MacBook10,1":"MacBook 12\", 2017", "MacBookPro15,1": "MacBook Pro 15, 2019", "MacBookPro15,2": "MacBook Pro 13, 2019", "MacBookPro15,1": "MacBook Pro 15, 2018",