Dear friends, I am finding solution, how to reconnect bluetooth conenction with click on button.
I have serialservice, where I am using AStream
After connecting to bt device I am trying for reconnect this:
with this this solution the connection between bt devices is OK, but the data I cant send and receive.
How can I complete restart bluetooth connection with button?Please?
Thank you
p4ppc
I have serialservice, where I am using AStream
After connecting to bt device I am trying for reconnect this:
B4X:
Sleep(1500)
serialservice.AStream.Close
Sleep(500)
Serial1.Connect(macadd)
serialservice.AStream.Initialize(Serial1.InputStream, Serial1.OutputStream, "AStream")
with this this solution the connection between bt devices is OK, but the data I cant send and receive.
How can I complete restart bluetooth connection with button?Please?
Thank you
p4ppc