feat(mp): Enable (u)bluetooth module using stubs
This enables the (u)bluetooth
module using some stubs to get it compiling. Will not do anything so far.
Merge request reports
Activity
added 1 commit
- ea354355 - feat(mp): Enable (u)bluetooth module using stubs
added 1 commit
- 67bb2ea7 - feat(mp): Enable (u)bluetooth module using stubs
mentioned in merge request !141 (closed)
@schneider, what is your plan with this? Do you want it merged in its current form and then add implementations over time or is your plan to finalize the implementation in this MR and only then merge?
- Resolved by rahix
Originally my idea was to merge this to get access to the module and implement handling pairing/bonding inside it (together with people from upstream). Sadly not much progress has been made in this regard and the current bonding implementation is using a our own
sys_ble
module.I don't think we will be able to create a single MR with a complete MicroPython BLE implemetnation. I guess we should merge this either into master or into a feature branch. I'd rather merge this into master and make sure that the documentation reflects the current state.
mentioned in issue #8 (closed)
added 57 commits
-
67bb2ea7...b6832e3f - 55 commits from branch
master
- e8528908 - feat(mp): Enable (u)bluetooth module using stubs
- e8b4dfcc - fix(ble): Raise NotImplementedError when trying to use (u)bluetooth module
-
67bb2ea7...b6832e3f - 55 commits from branch
added 1 commit
- 1ea9b516 - fix(ble): Raise NotImplementedError when trying to use (u)bluetooth module
>>> import bluetooth >>> bluetooth. __class__ __name__ BLE FLAG_NOTIFY FLAG_READ FLAG_WRITE UUID >>> bluetooth.FLAG_READ 2 >>> bluetooth.BLE <class 'BLE'> >>> b = bluetooth.BLE() >>> b.active() Traceback (most recent call last): File "<stdin>", line 1, in <module> NotImplementedError: Not (yet) implemented on card10. See https://git.card10.badge.events.ccc.de/card10/firmware/-/issues/8 >>>
mentioned in commit 64ea6680