Giter Club home page Giter Club logo

walter's Introduction

Walter License: GPL-3.0-only

Walter is a proof of concept SDK for BMWs utilising I/K-BUS. It includes resources for developing and deploying software plugins, a high level API (audio, communications etc), and lower level module APIs (radio, onboard-monitor interface etc).

This is not, and should not be considered a library (hence the absence of a published gem), nor a how to guide. Although, I plan to continue developing the underlying library- albeit, to suit my needs, and general philosophy.

Relative to the project, the underlying library is over engineered (over complicated?), but a large part of my interest was in developing a flexible and extensible tool kit, for which this project was the first use case.


Background

Walter began as a means to add support for Bluetooth audio (A2DP/AVRCP) with native display, and control via the on-board monitor (BMBT), and multi-function steering wheel controls (MFL) to my BMW E39 5 series. In my case, a 1997 528i Touring, optioned with navigation, HiFi, and telephone (i.e. High IKE, with both I and K buses).

There are a number of products available that fulfil this need, but each had compromises, and I was curious to what functionality could be developed via the I/K bus.

Like the Intravee, and a number of other projects, I planned to replace the CD changer, and emulate it's behaviour as to retain the native interface and controls. This began in earnest, and would come to work well for the best part. However, the solution also required a number of compromises that left me a little dissatisfied, the root of which was maintaining support for the factory audio and communication system.

Given the increasing- if not complete obsolescence, of said systems, I decided to remove the legacy modules entirely, and write an API that would allow me to retain and repurpose the existing human interfaces while adding my own functionality. I also stripped the redundant wiring from the vehicle wiring harness, so there was no turning back.

Hardware

Software

Architecture

Walter relies upon a library wilhelm, which is broken into several sub-libraries:

Library Description
wilhelm-core is akin to the first, and second layer of the OSI model. The lower of the two layers encapsulates IO operations for the bus, while higher of the two layers handles frame synchronisation, and error detection.
wilhelm-virtual is a model of the bus, and common devices. This allows for building device specific states, and APIs, and acts as a framework for implementing either emulated modules i.e. the radio when it has been removed, or augmented modules i.e. piggybacking the graphics stage.
wilhelm-api is a high level API with abstractions of vehicle features, i.e. audio, telephone, display. The API objects are designed to be universal (i.e. communication, music, navigation), reflect common operations, e.g. API::Telephone.incoming_call(caller_id), and remain agnostic, thus removing the need to deal with the intricacies the bus.
wilhelm-sdk is a small MVC framework, and runtime environment for services, and built on top of wilhelm-api. The runtime environment includes a messaging queue (via wilhelm-tools), for inter-process or network communication with supporting services.
wilhelm-services includes a simple Bluetooth device manager, and Bluetooth audio streaming, two examples of services built, and deployed using the wilhelm-sdk library. They act only as an abstraction for a Bluetooth car kit with Bluez doing the heavy lifting with a little help from Wolfgang, which encapsulates the Bluez D-BUS API, and implements a virtual car kit

License

This program is released under the GNU General Public License v3.0.

walter's People

Contributors

piersholt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.