• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

One BLE client (Android cellphone app) controlling many ESP32 BLE servers simultaneously.

Q&A Forum › Category: ESP32 › One BLE client (Android cellphone app) controlling many ESP32 BLE servers simultaneously.
0 Vote Up Vote Down
Daniel Corte asked 6 years ago

Good day Random Nerds!

Is there any way I could wirelessly control say….some 10 lights at the same time using my BLE cellphone functionality?

I’ve designed a lighting control app with Thunkable Android Classic…works well with a single light but I want to extend the number of lights controlled in order for all of them to respond -preferably…simultaneously…or at least in sequence -perhaps with a (relative acceptable) short delay.

Is there any limits concerning the number of BLE servers that a BLE client can connect, in the first place?

Thanking in advance all the fellows RN bloggers for any meaningful input to this subject question!

And congratulations to Rui & Co for a great site: highly technical but with very practical outcomes and outstanding support.

Question Tags: One BLE client to many BLE servers comms and control.
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Daniel.

Thank you so much for following our work.

Regarding your question, I’ve never tried, but it is possible to connect to more than one server. However, I don’t know if there is a limit of servers.

Which BLE extension are you using to design your app?

I think you just need to add multiple BLE elements to your app, connect each element to one BLE server, and then, when you click a button or something, send the same command to all servers at the same time. I don’t know if this will crash the app or something. (I think 10 servers is probably to much to handle at the same time).

Can you try with two servers first and see if it works? If it works, try to add the others.

Then, let me know the results.
Regards,
Sara

0 Vote Up Vote Down
Daniel Corte answered 6 years ago

Hi there Sara,
The BLE extension (I’m almost certain…) is the latest one provided by the AI2 site (2018/11/24 version, if I recall…).
I will try to add “more-of-the-same” BLE element/s as you suggested to a brand new testing THUNKABLE basic app, starting with 2 BLE elements…and “see-what-happens”…(translated => the good-old “trial-and-error” method… -as you hinted,  a “crash” could ensue, but usually…nobody dies!!).
I will keep you posted with the results.
Thanks for your time reviewing my inquiry and promptly attending to it.
Kind regards,
Daniel.

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi.
Thank you for your answer.
That’s the same extension I’ve used in a previous project. 
Try it out, and keep us updated.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.