This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Detect when BLE connection is made (Arduino library)
#1
Greetings! I'm experimenting with uploading data from a lengthy Arduino experiment (up to several hours, which makes it impractical to read sample-by-sample on an iPhone because of power & auto-off considerations). Typical sample sizes will be 500 - 20000 samples, in an Arduino environment using an ESP32. I'd like to upload these samples as soon as a BLE connection is made to the device and the "run" icon is tapped. Is there a way to detect, within the provided Arduino library (great work!), when Phyphox has been activated & is ready to receive & record data? So that when the connection is made & the run icon is tapped, the data can be uploaded from the Arduino app in a burst? (The timebase in minutes is recorded as one channel of data & is used as the X axis.)

I've looked through the library code & don't see an obvious way to do this. Any help would be greatly appreciated!
Reply


Messages In This Thread
Detect when BLE connection is made (Arduino library) - by heliophagus - 06-12-2022, 02:02 AM

Forum Jump: