This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Simultaneous multiple connections of single profile

Other Parts Discussed in Thread: WL1831

Hello,

We are using latest Bluetopia Stack for wilink8 chip i.e. WL1831, bts file TIInit_11.8.32.bts and following instructions as described by TI's Wiki page. We have the requirement of GATM profile and for that LinuxGATM_SRV is running after the Bluetopia Manager i.e. SS1BTPM.

Android/Apple mobile's can successfully communicate  with the board. However, when a connection is established, Bluetopia  stack stops advertising and further new device are not able to connect with the board until previous connection is disconnected as defined in below logs. It seems that only one device can communicate with Bluetopia Stack for a single profile.

GATM>
Local Device Properties Changed.
Device Flags: 0xC0000000
LE Scan Mode:    FALSE, 0x00000000
LE Adv Mode:     FALSE, 0x00000000
LE Slv Mode:     In Slave Mode
GATM>
LE Advertising Stopped.
GATM>



Upon hitting the api i.e. DEVM_StartAdvertising() forcefully when a connection is already esatblished and bluetopia stops advertising , it will show the error defined below which indicates that Bluetopia will not advertises until previous connection is not disconnected.

GATM>52 0x676 100 12345678

DEVM_StartAdvertising() Failure: -10099, Invalid Low Energy Master/Slave role configuration request.
Function Error.


When Bluetopia is in disconnected state, then on hitting the api i.e. DEVM_StartAdvertising(), it starts advertising and devices can connect to it.
Does Bluetopia have support for simultaneous multiple connections, for same profile as here for GATM profile ?

Thanks.

  • Hi , Your query has been assigned to BT expert. We will get back to you shortly
    Saurabh
  • Hi Hardik,

    From the logs posted above, the WL18xx BLE is the LE Slave for the existing connection. If the WL18xx BLE is LE slave, it cannot be LE master or LE slave to any other device while the first connection is active. This is the reason you are getting "Invalid Low Energy Master/Slave role configuration request." This limitation regarding the simultaneous connections in slave mode mainly comes from the BT specs.

    If the WL18xx is LE master, it is possible to connect it to several LE slave remote devices simultaneously. You might want to set up your device roles this way.

    Best regards,
    Vihang