Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added identifiers for AirPods Gen 2, AirPods Pro and new iPhones #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ble_read_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@
"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",
"MacBook10,1":"MacBook 12\", 2017",
"MacBookPro15,1": "MacBook Pro 15, 2019",
"MacBookPro15,2": "MacBook Pro 13, 2019",
"MacBookPro15,1": "MacBook Pro 15, 2018",
Expand Down Expand Up @@ -312,6 +317,8 @@

proximity_dev_models = {
'0220': 'AirPods',
'0f20': 'AirPods Gen 2',
'0e20': 'AirPods Pro',
'0320': 'Powerbeats3',
'0520': 'BeatsX',
'0620': 'Beats Solo3'
Expand Down Expand Up @@ -367,6 +374,7 @@
'0003': 'iPad',
'0009': 'MacBook',
'000a': 'Watch',
'0228': 'Device 0228',
}

magic_sw_wrist = {
Expand Down