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

BMW SOC module: fix outdated API definitions #2845

Merged
merged 1 commit into from
Aug 28, 2024
Merged
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
6 changes: 3 additions & 3 deletions modules/soc_i3/i3soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
auth_server = 'customer.bmwgroup.com'
api_server = 'cocoapi.bmwgroup.com'
APIKey = b'NGYxYzg1YTMtNzU4Zi1hMzdkLWJiYjYtZjg3MDQ0OTRhY2Zh'
USER_AGENT = 'Dart/3.0 (dart:io)'
USER_AGENT = 'Dart/3.3 (dart:io)'
REGION = '0' # 0 = rest_of_world
BRAND = 'bmw' # for auth bmw or mini don't matter
X_USER_AGENT1 = 'android(TQ2A.230405.003.B2);'
X_USER_AGENT2 = ';3.11.1(29513);'
X_USER_AGENT1 = 'android(AP2A.240605.024);'
X_USER_AGENT2 = ';4.7.2(35379);'
X_USER_AGENT = X_USER_AGENT1 + BRAND + X_USER_AGENT2 + REGION
CONTENT_TYPE = 'application/x-www-form-urlencoded'
CHARSET = 'charset=UTF-8'
Expand Down
Loading