phyphox Forums
Deleting data no longer resets containers completly - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Bugs and Problems (https://phyphox.org/forums/forumdisplay.php?fid=9)
+--- Thread: Deleting data no longer resets containers completly (/showthread.php?tid=1790)



Deleting data no longer resets containers completly - JSKiel - 08-22-2023

Hey,

im currently working with my team on an Arduino programm, that can read and transfer data from the Arduino to Phyphox. 

 
I have an initial ID in the BLE output container, which can be read by the arduino to know, that the experiment hasnt begun yet. When beginning the experiment, this ID will be overwritten by a new one, so that the Arduino can start measuring as well. On deleting the data, the ID of the output would switch back to its initials value and signal the Arduino, that it has to reset its current measurement data and get ready for a new one. 

This Feature seems to have changed since the last update, but i cant find it directly in the patchnotes. (So maybe its my fault Big Grin). 
The inital ID will no longer show up when resetting, which leads to the Arduino not beeing able to reset its measurement as well. 

Will this be changed back or is there any other way of notifying the Arduino, that the data has been deleted?


LG


RE: Deleting data no longer resets containers completly - Jens Noriʇzsɔɥ - 08-22-2023

Could you please share the sketch (if you use phyphoxBLE) or the .phyphox file, either here or by mail? It would help us to understand what exactly you are doing – and what we perhaps did break. There has been some work in the BLE field and we try to eliminate remaining differences in the behaviour on Android and iOS. BTW, what smartphone(s) have you tried?


RE: Deleting data no longer resets containers completly - Jens Noriʇzsɔɥ - 09-15-2023

You should consider the event characteristic (see https://phyphox.org/wiki/index.php/Bluetooth_Low_Energy#Phyphox_event_characteristic_.280004.29). The required update is now available in the Arduino IDE: phyphoxBLE 1.2.0 (see https://github.com/phyphox/phyphox-arduino/releases/tag/v1.2.0)…