Bluetooth-Devices / oralb-ble

Bluetooth library for Oral B devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong model reported

jesserockz opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

Model is reported as Smart 6000 when it should be Smart 7000

To Reproduce
Steps to reproduce the behavior:

Additional context
Add any other context about the problem here.

Screenshot_20230810-182441.png

Screenshot_20230810-183623.png

How the model is determined is wrong

https://github.com/wise86-android/OralBlue_python/blob/15e1a03bcb3350574d438e4593bcff59608a77a7/Protocol.md has some hints but we haven't figured it out as the data set we have isn't good enough to get it right yet

Okay, how the model is determined is definitely wrong. A full model list can be taken from /oralb-io/blob/master/oralb/blesdk/brush.py#L26. The first byte of the received advertisement defines the used protocol version and is therefore irrelevant for model mapping.

The complete advertisement structure (for brushes) is also defined in /oralb-io/blob/master/oralb/blesdk/brush.py#L190

Bump conversation thread here…

I have an io8 currently being identified as io Series 6/7