Welcome! Log In Create A New Profile

Advanced

[WM22] - Failed to Connect on Android Bluetoth using SocketConnectBluetooth

Posted by esprite143 
[WM22] - Failed to Connect on Android Bluetoth using SocketConnectBluetooth
January 15, 2019 09:21AM
Hi Team,

I need your advice and support for connecting Android app to bluetooth device.

What I did was I am using belowcode to connect using SocketConnectBluetooth. But I am getting an error: " Details of System Error : read failed, socket might closed or timeout, read ret. -1"


sMAcAddressEXPRESS is string = "00-81-F9-08-AE-29"
IF SocketConnectBluetooth("Socket_BT","SerialPortServiceClass_UUID",sMAcAddressEXPRESS) = False THEN

Error("Unable to connect to Bluetooth Device", ErrorInfo(errFullDetails))
RETURN
END



Any Advice Please.

Thanks,
Ech
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: