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

Simplify the BLE - Device Info - Model Number to only indicate V2. #255

Merged

Conversation

microbit-carlos
Copy link
Collaborator

Before PR #114 the string was "BBC micro:bit V2.0", with that PR it was updated to indicate "BBC micro:bit V2.0" for board ID 0x9904 and "V2.X" to any unknown board ID (currently V2.2 boards would still appear as "V2.X").

There is no need for BLE apps or devices to distinguish between different V2 versions, just as we currently don't differentiate between V1.3 and V1.5.

Hardcoding this in CODAL to be "BBC micro:bit V2" also removes an I2C call to the interface chip on uBit.init(), which help us better support unofficial interface chip firmwares, like Segger's J-Link.

Fixes #208

Related to #137

Before PR lancaster-university#114 the string was "BBC micro:bit V2.0", with that PR
it was updated to indicate "BBC micro:bit V2.0" for board ID 0x9904
and "V2.X" to any unknown board ID (currently V2.2 boards would still
appear as "V2.X").

lancaster-university#114

There is no need for BLE apps or devices to distinguish between
different V2 versions, just as we currently don't differentiate between
V1.3 and V1.5.

Hardcoding this in CODAL to be "BBC micro:bit V2" also removes
an I2C call to the interface chip on uBit.init(), which help us better support
unofficial interface chip firmwares, like Segger's J-Link.

Fixes lancaster-university#208

Related to lancaster-university#137
@JohnVidler JohnVidler added bug Something isn't working enhancement New feature or request labels Jan 30, 2023
@JohnVidler JohnVidler added this to the v0.2.49 milestone Jan 30, 2023
Copy link
Collaborator

@JohnVidler JohnVidler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to me, lets merge this in for *.49

@JohnVidler JohnVidler merged commit 6c1433e into lancaster-university:master Jan 30, 2023
@microbit-carlos microbit-carlos deleted the ble-model-number branch January 30, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does bluetooth need to know if the board is a V2.0 or V2.2?
2 participants