Dear friends,
please, I have this situation:
I.) Android APP with A) device
1) I am using service for receiving data via Bluetooth
2) I am using in service this settings:
II.) then if I send data from device B) to device A)
Data are simple. Only for example "HALLO"
Then in moment I see in Logs, first
and then after 1 second I am receiving data
"HALLO"
But it take 1 or 1,5 second between sending and receiving data...it is too much
Please, where is trouble? I must get shorter time between sending and receiving data and I need use service for receiving seriál data.
please, I have this situation:
I.) Android APP with A) device
1) I am using service for receiving data via Bluetooth
2) I am using in service this settings:
B4X:
AStream.Initialize(Main.Ser1.InputStream, Main.Ser1.OutputStream, "AStream")
II.) then if I send data from device B) to device A)
Data are simple. Only for example "HALLO"
Then in moment I see in Logs, first
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
and then after 1 second I am receiving data
"HALLO"
But it take 1 or 1,5 second between sending and receiving data...it is too much
Please, where is trouble? I must get shorter time between sending and receiving data and I need use service for receiving seriál data.