z3ugma 04/22/2024 05:47 PMI have to do some reading from 2 separate BLE GATT subscriptions.
One of the subscriptions emits a value once per second (onehertz)
One emits values at a near constant stream - like 60 Hz (sixtyhertz)
I'm considering using Tasks to have one "thread" running the onehertz loop, and another running the sixtyhertz loop.
Can BLE connections be passed around to multiple Tasks? Can I instantiate the subscription in the main loop and then reference that subscription in a Task?