- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Labels:
-
Scanning-Advertising
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks your comment.
i got it !