Skip to content

Commit

Permalink
feat(wip): try to send BLE advertisment when sending
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Feb 28, 2024
1 parent 7120162 commit d8ae730
Show file tree
Hide file tree
Showing 8 changed files with 503 additions and 8 deletions.
250 changes: 250 additions & 0 deletions core_lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions core_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ uuid = "1.7.0"
serde = { version = "1.0", features = ["derive"] }
mime_guess = "2.0.4"
get_if_addrs = "0.5.3"
bluer = { version = "0.17.0", features = ["full"] }
bytes = "1.5.0"

[build-dependencies]
prost-build = "0.12"
1 change: 0 additions & 1 deletion core_lib/src/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ async fn main() -> Result<(), anyhow::Error> {
rqs.run().await?;

let discovery_channel = mpsc::channel(10);

rqs.discovery(discovery_channel.0)?;

// Wait for CTRL+C and then stop RQS
Expand Down
Loading

0 comments on commit d8ae730

Please sign in to comment.