Dear All
I would appreciate some help, please.
I am trying to create a little app, that can receive a defined set of characters via a Bluetooth connection. As a starting point I used an example I found in the forum using the BluetoothManager class. Unfortunately, the connection to my Bluetooth device always breaks up instantly, and I have no clue why. Hence I could need some help please.
I attached the zip.file of my (copied) code and here is a copy of the log info:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
06-02-2025--22:57:23
** Activity (main) Resume **
:57:4D:19:41:86:F8
:0D:15:64:89:08:3F
:69:6D:28:5F:1A:51
:74:C7:23:F2:3F:94
:65:62:6E:59:11:7F
:6C:C2:6D:3A:41:36
Klingelxxx:98
3:71:F7:0E
A
:4B:A6
8:32:86:47
H300:C7:9F:1D:29:CD:54
:6B:BA:A1:F7:7D:6E
:44:B6:94:CD:5C:2A
:61:0E:04:9D:1F:F1
:0A:A9:49:2F:40:05
Wohnzimmer:48:E1:5C:64:18:E1
Device selected: Klingelxxx 98
3:71:F7:0E
A
connected: true
** Activity (main) Pause, UserClosed = false **
** Activity (chatactivity) Create (first time) **
** Activity (chatactivity) Resume **
Connection broken.
Please let me know what I am doing wrong.
Many thanks in advance.
Cheers
René
I would appreciate some help, please.
I am trying to create a little app, that can receive a defined set of characters via a Bluetooth connection. As a starting point I used an example I found in the forum using the BluetoothManager class. Unfortunately, the connection to my Bluetooth device always breaks up instantly, and I have no clue why. Hence I could need some help please.
I attached the zip.file of my (copied) code and here is a copy of the log info:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
06-02-2025--22:57:23
** Activity (main) Resume **
:57:4D:19:41:86:F8
:0D:15:64:89:08:3F
:69:6D:28:5F:1A:51
:74:C7:23:F2:3F:94
:65:62:6E:59:11:7F
:6C:C2:6D:3A:41:36
Klingelxxx:98
:4B:A6
H300:C7:9F:1D:29:CD:54
:6B:BA:A1:F7:7D:6E
:44:B6:94:CD:5C:2A
:61:0E:04:9D:1F:F1
:0A:A9:49:2F:40:05
Wohnzimmer:48:E1:5C:64:18:E1
Device selected: Klingelxxx 98
connected: true
** Activity (main) Pause, UserClosed = false **
** Activity (chatactivity) Create (first time) **
** Activity (chatactivity) Resume **
Connection broken.
Please let me know what I am doing wrong.
Many thanks in advance.
Cheers
René