Problema de desconexión de Bluetooth

I am developing an Android app for connecting to a tracking device and tracking its position. I need to keep sending the device 'x' char every 5 seconds or the device starts beeping and disconnects the connection and the device replies with its position for every 'x' sent.

So When I connect the same device to my Mac and stop sending the 'x' character the disconnection happens every time. But when I use my Android phone to connect to the device and stop sending 'x' character, the disconnection does not happen every time but the tag starts beeping. I am pretty sure the the device sends the disconnect as soon as it starts beeping. But I am still able to send and receive data from the Android.

I am not sure whats happening there ? . Is Problem could be related to some flow control or Baud rate ?

preguntado el 28 de agosto de 11 a las 04:08

I'm confused, you say you need to keep sending the device 'x' every 5 seconds or it beeps and disconnects and replies with its position. How can the device disconnect and then reply with its position? -

I read it as: The device replies with its position for every 'x' sent. After five seconds without an 'x' it goes to sleep. -

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.