04-14-2022, 02:03 PM
Hey,
there are currently 2 different options that might solve your problem:
A) you can add an "edit" field to your experiment, check the library example "getDataFromSmartphone"
B) if you just want to start a measurement or reset some values you can get the current number of connections with:
Unfortunately there is currently no way to get the "user-pressed-play moment" with the library right now.
Cheers
Dominik
there are currently 2 different options that might solve your problem:
A) you can add an "edit" field to your experiment, check the library example "getDataFromSmartphone"
B) if you just want to start a measurement or reset some values you can get the current number of connections with:
Code:
uint16_t activeConnections = PhyphoxBLE::currentConnections;
Unfortunately there is currently no way to get the "user-pressed-play moment" with the library right now.
Cheers
Dominik