Bonding dialog
Creates a makeshift interface between epicardium and pycardium to support a bonding dialog.
The dialog displays the confirmation value and shows if the bonding succeeded / failed.
Merge request reports
Activity
added 12 commits
-
b292cde2...45f6d33f - 6 commits from branch
master
- 46f45ae7 - refact(ble): Move numeric comparison into our code base
- 2c00a0fb - hack: ble pairing dialog in bluetooth app
- 3e6238bc - feat(interrupts): Function to check if an int is enabled
- af575989 - change(ble): Do not allow bonding by default
- cd1191dd - feat(ble): Allow apps to make the device bondable
- 4a30865c - feat(ble): Update ble app to support pairing
Toggle commit list-
b292cde2...45f6d33f - 6 commits from branch
added 7 commits
- e8ffa921 - fix(ble): Update advertising data even when it is empty
- 374ca57e - fix(ble): Remove wrong adv timing entry
- 00bb79e1 - fix(ble): Correctly switch between ADV modes
- e8831dbb - chore(ble): Remove unused cordio UI code
- 0dc0bb5c - feat(ble): Add pretty event printing
- 6b00b79a - fix(config): Fix wrong debug print
- c92b96f7 - feat(ble): Better bonding UI
Toggle commit listStill need to figure out if the two advertising sets are correct. The "connectable" set is empty (does not even contain flags). I have the suspicion that iDevices don't like that.
The current values are essentially taken from the "Fit" example of the SDK.
We might want to make them the same (or at least add the flags to the "connectable" set).
Potentially we should use
DM_FLAG_LE_LIMITED_DISC
for the "discoverable" set andDM_FLAG_LE_GENERAL_DISC
for the "connectable".Edited by schneiderSo the way to do it is to not set
DM_FLAG_LE_GENERAL_DISC
orDM_FLAG_LE_LIMITED_DISC
during normal operation (connectable) and setDM_FLAG_LE_LIMITED_DISC
while in the Bluetooth app. This will hide us during normal operation and move to the top of the list when the Bluetooth app is running.added 5 commits
Toggle commit list@schneider, will do! Though give me a few days, unfortunately I am quite busy with work this week ...
added 15 commits
- 43d40861 - feat(interrupts): Function to check if an int is enabled
- eaf47ff4 - refact(ble): Move numeric comparison into our code base
- 85627336 - chore(ble): Remove unused cordio UI code
- d60f0461 - feat(ble): pairing dialog in bluetooth app
- ac4f67b7 - fix(ble): Update advertising data even when it is empty
- 86cd7358 - fix(ble): Remove wrong adv timing entry
- cebea1b9 - fix(ble): Correctly switch between ADV modes
- 690473ef - feat(ble): Add pretty event printing
- d408254a - fix(config): Fix wrong debug print
- cfc24847 - feat(ble): Better bonding UI
- 84698f91 - refact(ble): Simplify bonding storage
- 880c23dd - fix(ble): Keep advertising in slected mode after connection closes
- 1c428de2 - fix(ble): Go back to main.py after bonding
- 9f5a015f - feat(ble): Only be discoverble in the BLE dialog
- 3faf5e2f - feat(ble): Appear as generic watch, add card10 UUID to advertisement
Toggle commit listadded 12 commits
- bace0f82 - feat(ble): pairing dialog in bluetooth app
- 93f50e78 - fix(ble): Update advertising data even when it is empty
- 8458ce6e - fix(ble): Remove wrong adv timing entry
- 25626ba3 - fix(ble): Correctly switch between ADV modes
- 1c4e9678 - feat(ble): Add pretty event printing
- b2d78fea - fix(config): Fix wrong debug print
- 7e8f17f0 - feat(ble): Better bonding UI
- e86c7b6e - refact(ble): Simplify bonding storage
- 3d5789af - fix(ble): Keep advertising in slected mode after connection closes
- 0f23df0a - fix(ble): Go back to main.py after bonding
- 8b226993 - feat(ble): Only be discoverble in the BLE dialog
- 7ea488c6 - feat(ble): Appear as generic watch, add card10 UUID to advertisement
Toggle commit listmentioned in merge request !392 (merged)
mentioned in commit c0a3ed9e