![]() |
The getDataFromSmartphone example is unavailable - Printable Version +- phyphox Forums (https://phyphox.org/forums) +-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6) +--- Forum: General feedback (https://phyphox.org/forums/forumdisplay.php?fid=7) +--- Thread: The getDataFromSmartphone example is unavailable (/showthread.php?tid=2113) |
The getDataFromSmartphone example is unavailable - aoteman - 03-23-2025 phyphox ble 库中的 getDataFromSmartphone 实验无法通过移动 phyphox 客户端更改闪烁间隔。无论您键入什么,串行端口都显示 100。 我的设备是 esp32,并在 arduino IDE 中使用最新版本的 phyphoxble 库。:huh: ![]() RE: The getDataFromSmartphone example is unavailable - Jens Noriʇzsɔɥ - 03-23-2025 Quote:(free) English translation: I can sort-of confirm your problem with a WEMOS LOLIN32 Lite: “blinkInterval” is changed, though, at some point, however, I have no idea how it is triggered… RE: The getDataFromSmartphone example is unavailable - Jens Noriʇzsɔɥ - 03-23-2025 (My impression is that the microcontroller gets flooded with data so there is an ever growing delay between entering data and applying it…) RE: The getDataFromSmartphone example is unavailable - Jens Noriʇzsɔɥ - 03-23-2025 Ok, it appears to be a bug with Apple devices. The example “getDataFromSmartphone” works as intended an Android. I hand it over to the experts… ![]() RE: The getDataFromSmartphone example is unavailable - aoteman - 03-24-2025 Here is my device information.Thanks for your help, I want to control the motor speed via bluetooth with phyphox's edit function, found the example is not available, hope this can be solved. ![]() RE: The getDataFromSmartphone example is unavailable - Jens Noriʇzsɔɥ - 03-24-2025 Unfortunately, there is currently just a solution if you correct the .phyphox file by hand. Find attached a version that works for me. The only addition is changing the sleep interval of the analysis block to 0.1 seconds: Code: <analysis sleep="0.1" onUserInput="false"> On iOS, we understand the problem: the analysis block produces at about 100 Hz more data than could be send to the microcontroller (about 80 Hz). On Android, phyphox simply drops data if there is too much, however, not so on iOS. We are not yet sure what a working general fix should look like – and why it is not working for your Android like smartphone… |