Skip to content

Utilities to assist in connecting to BMW/Mini IDrive infotainment systems from Android clients

License

Notifications You must be signed in to change notification settings

BimmerGestalt/IDriveConnectKitAndroid

Repository files navigation

IDriveConnectionKitAndroid

Build Status Coverage Status Jitpack MIT Licensed

As a companion to IDriveConnectionKit, this library adds helper utilities for Android apps to connect to the IDrive system.

IDrive Connection Status

The official BMW car apps provide a TCP tunnel to the car, and they send an announcement to any interested apps when this connection starts up. The IDriveConnectionStatus module provides helpers to register and parse this announcement, to manually set the details if they are discovered during probing, and to pass around as part of Dependency Injection.

Security Access

The first stage of the car connection involves a security challenge from the car, with the connecting app needing to provide the correct response. The official BMW car apps can provide this answer, and the SecurityAccess module provides a method to fetch this answer. As part of this, it discovers what BMW apps are installed, which may be useful for some functionality.

Additionally, the initial cert to log in to the car requires an special cert from the main BMW car app, in addition to the app-specific cert. SecurityAccess, along with CertMangling, implements this cert combining process.

Car API Apps

BMW Connected, unlike BMW Connected Classic before it and MyBMW afterward, implements an official 3rd-party integration named Car API. Official 3rd-party apps register to be launched when the car connects, and provide their own cert and resources for Connected to send to the car. The CarAPI module helps integrate into this system, registering to be launched by Connected and to load app resources from these other apps.

This module is now deprecated, since all the official 3rd-party car integrations have removed support and BMW Connected has shut down.

About

Utilities to assist in connecting to BMW/Mini IDrive infotainment systems from Android clients

Resources

License

Stars

Watchers

Forks

Packages

No packages published