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

  • B4A_BLE.zip
    8.5 KB · Views: 75

emexes

Expert
Licensed User
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

GMan

Well-Known Member
Licensed User
Longtime User
Simply yes and AFAIK the Limit is 4
 
Upvote 0

gilsonmv

Member
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

  • B4A_BLE.zip
    8.5 KB · Views: 70
Upvote 0
Top