tedsalmon / BlueBus

A Bluetooth module for vehicles equipped with I-Bus
Other
168 stars 41 forks source link

Improvement: Dynamic Bluetooth device name depending on vehicle type #118

Closed multilan-tarek closed 2 years ago

multilan-tarek commented 2 years ago

I have a little improvement idea: Dynamic Bluetooth device name depending on the vehicle type.

For example in a 5 Series E39: BMW 5 Series or in a 3 Series E46: BMW 3 Series ... something like that.

Perhaps the last 3 digits of the VIN would also be nice as a unique identifier at the end. For example: BMW 5 Series 757 or BMW 5 Series (757)

I hope that I have expressed that understandably. English isn't my primary language. Greetings from Germany! :)

tedsalmon commented 2 years ago

Thanks for the request @multilan-tarek!

While it's somewhat possible to implement what you're requesting, it's definitely a little more difficult than you may imagine. The clusters found in the E38, E39 and E53 are all shared across platforms and are impossible to distinguish. If the vehicle has Navigation, then the chassis can be pulled off the coding data of the Graphics Terminal, though.

However, I'm not sure it's entirely useful to distinguish the Bluetooth GAP Advertised name, and it might create confusion for those who expect the name to be "BlueBus" as that is the product name.

You can already alter the name via Terminal if you wish using the bt name command.

Thanks for your time! -Ted