LAMW: Problem with two simultaneous Bluetooth connections lazarus / 43-Android ---------------------------------------------------------------------- Tomash · 2017-03-27 15:06 Hi I'm trying to connect two devices simultaneously using two jBluetoothClientSocket. I connect jBluetoothClientSocket1 - it's ok, it receives the data from first device I connect jBluetoothClientSocket2 - no exceptions, but not received any data from second device. When close connection on jBluetoothClientSocket1, jBluetoothClientSocket2 return data (buffered?) from second device and works ok. thanks a lot EDIT: I found a simple solution. In jBluetoothClientSocket.java instead: Code: Java  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i new ASocketClientTask().execute();should be: Code: Java  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i new ASocketClientTask().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); ---------------------------------------------------------------------- jmpessoa · 2017-04-04 22:49 Hello Tomash! I will commit your Solution! Thank you! ---------------------------------------------------------------------- jmpessoa · 2017-04-05 06:09 Done! Added new jBluetoothClientSocket.Connect(_executeOnThreadPoolExecutor: boolean); Thank you!