I´m testing the bluetooth connection.
When I run the program it reads all bluetooth arround and stop.
If I go to Android Config anf disable the bluetooth the "Serial_Conected" routine inside BluetoothAdmin is calling without stop, even if you turn the bluetooth on again it doesn´t stop calling
The log is bellow
"State Change 13 " indicate that I turn off the bluetooth and the line "State Change 12" indicate that the bluetooth is on again
The project is attached
Thanks
When I run the program it reads all bluetooth arround and stop.
If I go to Android Config anf disable the bluetooth the "Serial_Conected" routine inside BluetoothAdmin is calling without stop, even if you turn the bluetooth on again it doesn´t stop calling
The log is bellow
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
VIVOFIBRA-C958-5G,WPA2,-25,Saved,10:72:23:1d:c9:63,100,5540,5530,0,2,108,2,0.08
hsp,WPA2,-26,Saved,06:72:23:1d:c9:63,100,5540,5530,0,2,108,2,0.09
hsp,WPA2,-34,Saved,10:72:23:1d:c9:56,100,2462,0,0,0,11,1,0.49
MAIA,WPA2,-67,,90:58:51:ac:9f:91,66,2412,0,0,0,1,1,22.14
#NET-CLARO-WIFI,NONE,-67,,92:58:51:ac:a0:92,66,2412,0,0,0,1,1,22.14
PublishNews 3,WPA2,-67,,88:f7:c7:9f:5c:5c,66,2457,0,0,0,10,1,21.73
PublishUBQ,WPA2,-73,,7a:8a:20:db:13:75,54,5745,5755,0,1,149,2,18.54
PublishUBQ,WPA2,-73,,78:8a:20:da:13:75,54,2412,0,0,0,1,1,44.17
MAIA5G,WPA2,-79,,90:58:51:ac:9f:92,42,5180,5210,0,2,36,2,41.04
** Activity (main) Pause, UserClosed = false **
state changed: 13
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
state changed: 10
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
state changed: 11
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
state changed: 12
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
connected G6: false
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
"State Change 13 " indicate that I turn off the bluetooth and the line "State Change 12" indicate that the bluetooth is on again
The project is attached
Thanks