Is there any way to enable Matlab Mobile App (Android) to receive data from a Bluetooth (BR/EDR or LE) connected device?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Harsha Vardhan
am 3 Jan. 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!
Siehe auch
Kategorien
Mehr zu MATLAB Mobile finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!