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.

Sending data back to the input bluetooth device
#1
Is it possible to send data back to the input device? I tried adding an output device to the experiment but the app asks for another connection.

I am specifically looking for sending configuration data that can be changed dynamically through input fields, and not hardcoded in the experiment, like config tag does
Reply
#2
Have you already looked at the example “getDataFromSmartphone.ino” in the IDE (or at https://github.com/phyphox/phyphox-ardui...tphone.ino)?
Reply
#3
(10-01-2024, 09:24 PM)Jens Noriʇzsɔɥ Wrote: Have you already looked at the example “getDataFromSmartphone.ino” in the IDE (or at https://github.com/phyphox/phyphox-ardui...tphone.ino)?

I spent some time looking through the library, if I understood correctly, <bluetooth> tags in both <input> and <output> can take the same id (in case of arduino library it's "phyphoxBLE"), making the app send data to the same device it is taking input from.

I have tested this and it's working, thank you  Rolleyes
Reply


Forum Jump: