- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i modify and run app from bcm20732 hello client sample ( i add make file 'central_role_patches.a')
two bcm20732 device connect each other, one is master and another is slave.
in addition, devices can connect to android phone. (multi connection)
but this connection is rarely disconnected or power off
in low battery, this case become frequent.
i read posting written 2014 year.
The BCM20732 Master mode is not officially supported.
in 2015, BCM20732 Master mode is not officially supported?
or just my code is wrong?
Solved! Go to Solution.
- Labels:
-
MasterSlave
-
Scanning-Advertising
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No problem. Then this blog is a classic that you peruse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you referring to the simultaneous Master/Slave feature that was introduced on A1 firmware with the BCM20736/37?
OR
Are you referencing Android's support of BLE, which was limited prior to version 4.4?
Please add links to the posts you are referencing and that will help the applications team respond to your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
simultaneous Master/Slave feature on Device A (BCM20732)
Device A(master) ---------connection1---------- Device B(slave)
| (slave)
|
|
connection2
|
|
androidphone(Master)
or
simultaneous two Slave feature on Device A (BCM20732)
Device A(slave) ---------connection1---------- Device B(Master)
| (slave)
|
|
connection2
|
|
androidphone(Master)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using 20732? If yes, then the dual role is not supported.
For all practical purposes, the mainstream now is 20736/7. Please consider these solutions for all your future designs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using 20732
i implement dual connection design.
simultaneous two Slave feature on Device A (BCM20732)
Device A(slave) ---------connection1---------- Device B(Master)
| (slave)
|
|
connection2
|
|
androidphone(Master)
but connection of state is not stable. so sometimes connections are down.
SDK seems to support functions for dual role. just connection state is not stable.
so, it seems to be some fault in my code.
in addition.
if 20732 would not support dual role,
below dynamically role change design is possible?
when new connection is initiating, if prior connection is exist, cancel prior connection and accept new connection.
in other words,
in BLECM_APP_EVT_LINK_UP call back function, check prior connection and disconnect prior connection calling
"
blecm_SetPtrConMux(prior_connection_handle);
blecm_disconnect(BT_ERROR_CODE_CONNECTION_TERMINATED_BY_LOCAL_HOST);
"
this design is also implemented,
but connection of state is not stable.
really, 20732 not support dual role?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it's my mistake in my board version.
my board was BCM20736
sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
issus is solved. thanks