I want to connect an android device over bluetooth with matlab for exchanging data between matlab and my own android app. But I can't connect via 'Instrument Control'-Toolbox with my android devices. Why?
First I scaned for all available devices and then tried to connect (with the "connect"-button) with android.
I searched and it says:
- Instrument Control Toolbox supports the Bluetooth Serial Port Profile (SPP)
supported profiles
only SPP support
So I read the technical spez. from my devices and I can't find that they support the needed SPP bluetooth profile.
- Samsung Galaxy Young 2 (SM-G 130HN):
Bluetooth®-Profile: HSP, OPP, SAP, A2DP, PBAP, HFP, AVRCP, DI, HID, HOGP, PAN, MAP
tech spez. galaxy young - Samsung Galaxy S Advance:
Bluetooth Profiles: GAP, SSP, SDAP, HSP, HFP, A2DP, SAP, OPP, PBAT, MAP, AVRCP, HID
tech spez. galaxy s - HTC One M7:
Common profiles: HSP [headset], HFP [hands-free], A2DP [stereo audio], AVRCP [media control], HID [peripherals]
tech spez. HTC One M7
But in the android documentation it says:
- The most common type of Bluetooth socket is RFCOMM, which is the type supported by the Android APIs. RFCOMM is a connection-oriented, streaming transport over Bluetooth. It is also known as the Serial Port Profile (SPP).
support SPP profile in android
So I think android itself support SPP, but not my used devices?
Is there no way to connect one of these phones via bluetooth with matlab?
Which android devices are working?