lancaster-university / codal-microbit-v2

CODAL target for the micro:bit v2.x series of devices
MIT License
43 stars 52 forks source link

In V2 the BLE "Generic Access" "Device Name" is only `BBC micro:bit` #370

Closed microbit-carlos closed 7 months ago

microbit-carlos commented 1 year ago

Should it be BBC micro:bit V2?

Basically, in this snippet inside MicroBitBLEManager::init(), the enableBonding variable is an init() parameter only set to true when in pairing mode:

https://github.com/lancaster-university/codal-microbit-v2/blob/446765ed7553b0f0d647ba6c9ad61e3b797e1693/source/bluetooth/MicroBitBLEManager.cpp#L265-L272

So basically what we get is

Generic Access->Device Name Device Information->Model Number String
Pairing mode BBC micro:bit [abcde] BBC micro:bit V2
Not pairing mode BBC micro:bit BBC micro:bit V2

This might be correct, but just wanted to double check.

microbit-carlos commented 7 months ago

This should be fine.