phyphox Forums

Full Version: Sending data back to the input bluetooth device
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Have you already looked at the example “getDataFromSmartphone.ino” in the IDE (or at https://github.com/phyphox/phyphox-ardui...tphone.ino)?
(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