Is there any way to enable Matlab Mobile App (Android) to receive data from a Bluetooth (BR/EDR or LE) connected device?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Harsha Vardhan
il 3 Gen 2024
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!
Vedere anche
Categorie
Scopri di più su MATLAB Mobile in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!