Android Question How do I change the B4A_BLE program to allow multiple connections?

gilsonmv

Member
Hi everybody,
How do I change the B4A_BLE program on publish:


I want to connect simultaneously on two bluetooth modules.

I want these two bluetooth modules to receive the same data at the same time.
 

Attachments

Implement all the ble related code in a class and create a class instance for each connection.

Does that mean it can be done by having a separate BleManager for each connection?

Is there a limit to how many devices the phone can connect to (or an app can connect to?) simultaneously?
 
Upvote 0
Simply yes and AFAIK the Limit is 4
 
Upvote 0
Hey,
Could you give me an example of how to implement all the ble related code in a class and create a class instance for each connection?

I tried using the posted examples:



But I wasn't successful.
 

Attachments

Upvote 0
Back
Top