-
Notifications
You must be signed in to change notification settings - Fork 62
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
Linux ble module #641
Draft
sukhman-sukh
wants to merge
34
commits into
main
Choose a base branch
from
linux_ble_module
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Linux ble module #641
Commits on May 9, 2024
-
* chore(ble): init rust ble module * build(ble-rs): add prost and bytes * chore: recompile proto * feat(log): init logging * feat(log): set up ble logger * feat(rpc): init rpc channels * feat(rpc): set up channels * fix(proto): add local copy of qaul.sys.ble * feat: run tokio select loop * refactor(rpc): use async traits for easier testing * refactor(rpc): remove unused rpcerrors * refactor: run main loop in own module * build(bluer): import bluer features * feat(ble): add BLE UUIDs * style: remove unused imports * feat(ble): define BleManager trait * feat(ble): advertise services * feat(ble): add handles for main and msg chara * refactor(ble): rename trait to QaulBleManager * refactor(uuid): rename to main UUID * build(ble): add futures * feat(ble): add services * feat(ble_module): scan * feat(ble): filter devices by blocklist * feat(ble): add close method * refactor(ble): qaul ble trait to fit ble sys msgs * refactor(rpc): give publiuc access to proto mod * refactor(rpc loop): listen to sys msgs * feat(loop): forward sys msgs to ble impl * refactor(naming): improve naming * feat(ble): get device info * feat(start_ble): return when ble already started * feat(ble): advertise * feat(ble_utils): pretty print address * refactor(ble): remove redundant close method * feat(ble): break ble loop with mpsc * feat(ble): connect to device * feat(ble): set up notification and send device found * feat(ble): report chara writes * refactor(streams): WIP * fix(ble): breaking stop stream * refactor(ble): use merged streams * feat(ble): implement direct send * feat(ble): implement stop * style: lint * refactor(ble): remove unused handle types # Conflicts: # rust/libqaul/src/rpc/protobuf_generated/rust/qaul.net.messaging.rs # rust/libqaul/src/services/messaging/qaul.net.messaging.rs
Configuration menu - View commit details
-
Copy full SHA for 90f05ff - Browse repository at this point
Copy the full SHA 90f05ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 545c755 - Browse repository at this point
Copy the full SHA 545c755View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9e400 - Browse repository at this point
Copy the full SHA 9b9e400View commit details -
chore(ble): revert changes to generated protorust
Signed-off-by: Mathias Jud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce45873 - Browse repository at this point
Copy the full SHA ce45873View commit details -
Configuration menu - View commit details
-
Copy full SHA for b961a95 - Browse repository at this point
Copy the full SHA b961a95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c9d9c7 - Browse repository at this point
Copy the full SHA 4c9d9c7View commit details -
SYS communication from BLE connectivity module shall be called directly via callback from outside. Libqaul calls the BLE module directly. There is no libqaul -> BLE_module channel needed anymore. fixed qaul_id compile warning Removed unused function from API
Configuration menu - View commit details
-
Copy full SHA for 3c58ea4 - Browse repository at this point
Copy the full SHA 3c58ea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbff85c - Browse repository at this point
Copy the full SHA cbff85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd8a694 - Browse repository at this point
Copy the full SHA dd8a694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 348125f - Browse repository at this point
Copy the full SHA 348125fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbd2921 - Browse repository at this point
Copy the full SHA fbd2921View commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b31beb4 - Browse repository at this point
Copy the full SHA b31beb4View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a3d8fd - Browse repository at this point
Copy the full SHA 9a3d8fdView commit details
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b268f91 - Browse repository at this point
Copy the full SHA b268f91View commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3e6db16 - Browse repository at this point
Copy the full SHA 3e6db16View commit details
Commits on Jun 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6e71b04 - Browse repository at this point
Copy the full SHA 6e71b04View commit details
Commits on Jun 21, 2024
-
Fix: achieved stable connection:
1. Linux is able to detect other devices 2. Other devices can detect Linux BLE advertisements 3. Linux device is able to recieve messages from other qaul devices
Configuration menu - View commit details
-
Copy full SHA for 42c6100 - Browse repository at this point
Copy the full SHA 42c6100View commit details
Commits on Jul 1, 2024
-
Fix: linux ble send message flow
Signed-off-by: sukhman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e0f224 - Browse repository at this point
Copy the full SHA 2e0f224View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd1ccb - Browse repository at this point
Copy the full SHA 0fd1ccbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 057fc00 - Browse repository at this point
Copy the full SHA 057fc00View commit details
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7a22137 - Browse repository at this point
Copy the full SHA 7a22137View commit details -
Configuration menu - View commit details
-
Copy full SHA for b67d104 - Browse repository at this point
Copy the full SHA b67d104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eba4ee - Browse repository at this point
Copy the full SHA 2eba4eeView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b65b318 - Browse repository at this point
Copy the full SHA b65b318View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc8b1f3 - Browse repository at this point
Copy the full SHA cc8b1f3View commit details
Commits on Aug 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a6d5a61 - Browse repository at this point
Copy the full SHA a6d5a61View commit details
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9f12ce3 - Browse repository at this point
Copy the full SHA 9f12ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1e338 - Browse repository at this point
Copy the full SHA 4a1e338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876ac13 - Browse repository at this point
Copy the full SHA 876ac13View commit details
Commits on Aug 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c07181b - Browse repository at this point
Copy the full SHA c07181bView commit details
Commits on Aug 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 34056d4 - Browse repository at this point
Copy the full SHA 34056d4View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7994789 - Browse repository at this point
Copy the full SHA 7994789View commit details
Commits on Aug 26, 2024
-
refactor: Clean the ble_module and remove unused functions
modified: ble_module/src/ble/ble_service.rs modified: ble_module/src/ble/utils.rs modified: ble_module/src/lib.rs modified: ble_module/src/rpc/msg_loop.rs modified: libqaul/src/connections/ble/mod.rs modified: libqaul/src/router/neighbours.rs
Configuration menu - View commit details
-
Copy full SHA for 1bf958b - Browse repository at this point
Copy the full SHA 1bf958bView commit details
Commits on Sep 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af1b0e6 - Browse repository at this point
Copy the full SHA af1b0e6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.