Please read the How to get the best out of this forum. This will help you get better answers by helping us understand what you want.
- Please provide the make and model of your Arduino.
- Please provide links to non-Arduino libraries e.g. on GitHub.
- If you already have written some code please post it. (use code tags)
I have project to create server for 20 Heart rate monitors
Please explain because the use case is unusual.
I need to get from active once one parameter.
Can you please confirm whether you only want to read each sensor once or do you want to continuously read all sensors. What is the use case?
If I understand right, I need in loop connect, read, disconnect.
This is possible but only if you have enough time. If you need continuous measurements, this will not work.
Cant find exec commands.
This does not make sense without knowing what hardware you are using and which libraries.