Hi Everyone,
I would like to understand how the multi peripheral application works in this given scenario:
Scenario:
Considering one peripheral (P) is connected to 4-5 central devices (C1 - C5). All the central devices run the same copy of SW on them but are handled by different users at the same time.
What i would like to know is how this peripheral will handle different requests from the central devices? I noticed that there is only one BLE handler in the multiperipheral application. How will that handle all the requests coming from these central devices? While all of them have the same characteristics.
Example:
C1 sends a calibration request to P.
C2 sends an alert update to P.
C3 sends a connection request to P.
C4 is disconnected from P.
C5 sends calibration data to P after completing calibration.
Will they be queued one after the other for processing by using QWR module? How will they be handled in the peripheral application? Distinguishing them by their MAC address maybe?
Even so, i did distinguish them using MAC addr, i can't run multiple copies of peripheral SW inside (doesn't make sense).
So, if you guys can help me understand this multiperipheral concept, it would be of huge help !!
Thank you. Stay safe, stay strong.
Best,
-SK