scan overhead..

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

A : device 1

B : device 2

C : phone

A and B is pair

A is connected and pairing with phone C.

at time

i wanna let A to scan other device(B) and connect B.

But on same time, both pairing and scanning seems to cause big overhead.

It somtimes raise BLE connection down.

I try to low 'high_scan_interval', 'high_scan_window', but it's no use.

how to can i somoothly scan and connecting to other device, during on paring?

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

solomon

It may not be that straight forward to suggest anything based on the above. And I'm not certain I understand the term "big overhead". You may want to browse the below for an introduction to dual role connections.

Testing Master and Slave Roles

View solution in original post

4 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

solomon

It may not be that straight forward to suggest anything based on the above. And I'm not certain I understand the term "big overhead". You may want to browse the below for an introduction to dual role connections.

Testing Master and Slave Roles

Anonymous
Not applicable

thanks your comment

by any chance,

can a device roles both Central and Peripheral?

:

below multi connection

advertising and make connection (Peripheral)

and then,scanning other device and make connection. (Central)

deviceA(peripheral) -> adv -> connection <-scan<- deviceB

and then,

deviceA(central) ->scan-> connection <-adv<- deviceC

0 Likes
Anonymous
Not applicable

Hello.

As far as I know, I don't think you can have a device acting as both central and peripheral at the "same" time. (at least with current chips we have)

However, you can "switch" between roles dynamically.

hello_client is an example of this. It can switch roles between being a master and a client.

Try taking a look at hello_client

James

Anonymous
Not applicable

thanks your comment.

i got it !

0 Likes