Is there any way to enable Matlab Mobile App (Android) to receive data from a Bluetooth (BR/EDR or LE) connected device?
10 次查看(过去 30 天)
显示 更早的评论
It seems that Matlab Mobile App cannot receive data directly from a Bluetooth (BR/EDR or LE) connected device. Is it possible to do that with the help of additional apps or plugins, or other workaround? How?
0 个评论
回答(1 个)
Harsha Vardhan
2024-1-3
Hi,
I understand that you want to receive data in the MATLAB Android mobile App from another Bluetooth device.
MATLAB android mobile app sends all the commands to the cloud for evaluation. Please check that information here - https://www.mathworks.com/help/matlabmobile/matlab-mobile-fundamentals.html .
Further, currently, the sensor data collection on the mobile device does not include network interfaces. Please check that information here - https://www.mathworks.com/help/matlabmobile/sensor-data-collection.html .
So, executing the command 'bluetoothlist' on the Androidn mobile app does not return any results. And the execution of 'blelist' on the Android mobile app throws an error that it can't scan on Linux devices. So, receiving data on mobile app is not possible currently.
However, a workaround to receive Bluetooth data is to use the BLE Receive Simulink block (https://www.mathworks.com/help/supportpkg/android/ref/blereceive.html) from the Simulink Support Package for Android Devices.
Please check this link about receiving Bluetooth data on android mobile using the BLE receive Simulink block - https://www.mathworks.com/help/supportpkg/android/ref/work-with-ble-blocks-on-android-devices.html.
Hope this helps in resolving your query!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Run on Android Device 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!