normank Member Licensed User Longtime User Mar 29, 2019 #1 Hallo Leute, ich möchte gern mit B4J die Daten eines BOSCH GLM 50C (Laserentfernungsmesser) empfangen und in eine Tabelle eintragen. Der GLM 50C verwendet BT4.x und RFCOMM Protocol. Es werden Serielle COM -Port's von Windows erstellt. Nur so leicht wie früher (BT 2.x) ist das lesen der Daten nicht. Mit einem Terminalprogramm kann ich keine Daten empfangen. Kann mir jemand bei dieser Sache helfen ? Danke schon jetzt! Norman
Hallo Leute, ich möchte gern mit B4J die Daten eines BOSCH GLM 50C (Laserentfernungsmesser) empfangen und in eine Tabelle eintragen. Der GLM 50C verwendet BT4.x und RFCOMM Protocol. Es werden Serielle COM -Port's von Windows erstellt. Nur so leicht wie früher (BT 2.x) ist das lesen der Daten nicht. Mit einem Terminalprogramm kann ich keine Daten empfangen. Kann mir jemand bei dieser Sache helfen ? Danke schon jetzt! Norman
DonManfred Expert Licensed User Longtime User Mar 29, 2019 #2 https://www.b4x.com/android/forum/threads/jbluetooth-library.60184/ Funktioniert das nicht? The steps required to connect to a Bluetooth device: 1. Check that Bluetooth.IsEnabled returns true. 2. Start a discovery process. 3. Once Device_Found is raised you can connect to the device. 4. The Connected event will be raised with the BluetoothConnection object. 5. Use AsyncStreams with the input and output streams. You can also listen to incoming connections. In that case you should call Bluetooth.Listen. The Connected event will be raised when a client is connected. Click to expand... Ansonsten Don't confuse it with jSerial library: https://www.b4x.com/android/forum/threads/jserial-library.34762/#content jSerial library provides access to com ports (you can map a Bluetooth adapter to a virtual com and then use jSerial to connect with a Bluetooth device). Click to expand... Last edited: Mar 29, 2019
https://www.b4x.com/android/forum/threads/jbluetooth-library.60184/ Funktioniert das nicht? The steps required to connect to a Bluetooth device: 1. Check that Bluetooth.IsEnabled returns true. 2. Start a discovery process. 3. Once Device_Found is raised you can connect to the device. 4. The Connected event will be raised with the BluetoothConnection object. 5. Use AsyncStreams with the input and output streams. You can also listen to incoming connections. In that case you should call Bluetooth.Listen. The Connected event will be raised when a client is connected. Click to expand... Ansonsten Don't confuse it with jSerial library: https://www.b4x.com/android/forum/threads/jserial-library.34762/#content jSerial library provides access to com ports (you can map a Bluetooth adapter to a virtual com and then use jSerial to connect with a Bluetooth device). Click to expand...
normank Member Licensed User Longtime User Mar 30, 2019 #3 Hallo Manfred, danke für den Hinweis, ich werde es versuchen. Mit B4J habe ich noch keinerlei Erfahrung, habe in der Vergangenheit nur mit B4A gearbeitet. Ich melde mich wenn es klappt oder ich weitere Hilfe benötige. Norman
Hallo Manfred, danke für den Hinweis, ich werde es versuchen. Mit B4J habe ich noch keinerlei Erfahrung, habe in der Vergangenheit nur mit B4A gearbeitet. Ich melde mich wenn es klappt oder ich weitere Hilfe benötige. Norman
GMan Well-Known Member Licensed User Longtime User Mar 30, 2019 #4 Bei mir klappt die Übertragung/der Empfang (mit B4J und B4A) mit 3 BT-Empfängern/Sendern (Arduinos) GLEICHZEITIG problemlos Last edited: Mar 30, 2019
Bei mir klappt die Übertragung/der Empfang (mit B4J und B4A) mit 3 BT-Empfängern/Sendern (Arduinos) GLEICHZEITIG problemlos