Skip to content

L2CAP listener hangs when trying to accept (BR/EDR) #155

Closed Answered by BareTuna
BareTuna asked this question in Q&A
Discussion options

You must be logged in to vote

Aha, I got it! Of course I figure out right after posting my question 😃.

Instead of:

let adapter_addr_type = adapter.address_type().await?;

which for me returns AddressType::LePublic, I specified the address type directly:

let adapter_addr_type = AddressType::BrEdr;

and it worked!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by BareTuna
Comment options

You must be logged in to vote
3 replies
@BareTuna
Comment options

@surban
Comment options

@BareTuna
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants