redbear / Duo

Resources for the RedBear Duo IoT development board.
http://redbear.cc/duo
228 stars 107 forks source link

Duo V1.0 no BLE connection with Firmware 0.3.x #31

Closed sunnycyk closed 7 years ago

sunnycyk commented 7 years ago

After upgrade to firmware 0.3.0 or 0.3.1, BLE connection is not found on Listening Mode.

TechplexEngineer commented 7 years ago

This seems to be expected behavior:

Since system firmware v0.3.0.

Before v0.3.0, when the Duo enters the Listening Mode, it will broacast as a BLE peripheral for user to configure WiFi credentials etc.

Since v0.3.0, user now can optionally enable this feature. It is disabled by default. But you can declare it in your application explicitly by adding BLE_SETUP(DISABLED). To enable this feature, you should declare BLE_SETUP(ENABLED) in your application.

See: https://github.com/redbear/Duo/blob/master/docs/programming_reference_manual.md#ble-setup

Cheong2K commented 7 years ago

Thanks @TechplexEngineer, it is true.