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.

Double acoustic stopwatch and speed of sound
I am a bit unsure if a second characteristic might work. Dominik perhaps needs to elaborates in how far this is easily possible with phyphox-BLE.

Alternatively, there is byte array for output in .phyphox – a bit elaborated conversions floats/bytes/floats though…
At the moment, there is no “native” solution for your problem in our BLE library. This could easily get fixed when the phyphox side is ready by supporting “offset” (it is not scheduled yet).

So, it is either manually implementing a second characteristic taking values in the .ino code or fiddling with byte array. :/

Forum Jump: