master role stability

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

cross mob
Anonymous
Not applicable

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?

0 Likes
1 Solution

No problem. Then this blog is a classic that you peruse.

Testing Master and Slave Roles

View solution in original post

0 Likes
9 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

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.

jamesle1

0 Likes
Anonymous
Not applicable

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)

0 Likes

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.

solomon

0 Likes
Anonymous
Not applicable

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?

0 Likes
Anonymous
Not applicable

it's my mistake in my board version.

my board was BCM20736

sorry.

0 Likes

No problem. Then this blog is a classic that you peruse.

Testing Master and Slave Roles

0 Likes

Have you got a chance to review the blog material? Is this still an issue?

sanghoonkim

solomon

0 Likes
Anonymous
Not applicable

issus is solved. thanks

0 Likes