[BLE Plugin] Issue while connecting with devices
ble-plugin
Mobile icon
Forge component by Bruno Martinho
Application Type
Mobile
Service Studio Version
11.52.7 (Build 60395)

Showing connection time out error message while connecting with Bluetooth devices. 

Hello Husnul Fazari.

By default de connection timeout is 5 seconds, I assume that your connection is taking longer than that.

I recommend you to update the BLE Plugin version, if you didn't do it already. This new version allows you to increase the timeout dinamically.



Hope it helps.
JS.

Hello Jose, 

I was already using the latest version of the BLE plugin and tried to set the timeout up to 1min, but still, it shows a timeout error.

I am shared my oml file here, please let me know if I did anything wrong

Bluetooth_BLE.oml

Hello Husnul,

I changed some stuff on your demo module.

Try out the attached version.


I removed the characteristic you had on the connect (FEE04).
The scan can be called on demand istead of using the BT listener.

PS: Make sure you allow the connection of the target device if applied.

Hope it helps.

JS.

Bluetooth_BLE _v22052022.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.