This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf8002 and UART CODES

Dear Developers,

At the moment I'm writing some software to develop an Android App. I'm using nrf8002. When my app connects to the nrf8002, I'm able to read battery level and send some immediate alerts. Despite of this, nrf8002 always disconnects, and then, I cannot reconnect againt to the device (the nrf8002)

After many tests, I decied try to connect my nrf8002 to windows (using a Bluetooth USB Doongle). The result was that the nrf8002 kept connected to windows about 2h! (while using it to connect to my android smartphone, connections stops in 1 minute :-( )

So, I tryied again the same test, but now, connecting the nrf8002 to an Iphone5s and using Nordic Software. Again, it keeps connected to the smartphone. So, I decided check UART data using Hyperterminal, and I noticed tha nrf8002 sends the code A0009 every some seconds, to keep the connection alive (I guess).

Otherwise, when I get C00004 code, the connection is died. Am I correct? Do you know if this code keeps the connection alive? If so, Is this code automatically sent from the Bluetooth Stack or have I to write some software to sent it manually?

Thank you very much for your support.

Regards,

Carlos

Parents Reply Children
No Data
Related