This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Connection problem

Currently using nordic52832 to develop products that use batteries.

We found that the problem is that when the BLE module is connected successfully, it takes 200ms to send the message.

How can I improve this problem?

We need a very short grip time and turn off the power.

Parents
  • Do you use GATT Client/Server architecture? If so then you are even lucky if you see GATT Server Discovery only 200ms long, usual phones will take 600-1500ms even for the minimal GATT Server configuration. If you have control over both sides of the link (e.g. two nRF5x devices running against each other) then you could debug and optimize (with minimal 7.5ms connection interval and GATT Service Discovery you should still be able to do it within 100ms, probably less). In every case such problems should be always debugged with RF analyzer (sniffer), that will tell you immediately where you are loosing 200ms (it can be on-air procedures and then you can see which side does i and maybe change it or at least understand why, it can be even invisible on radio which signals that one of the sides hangs in higher layers and should be debugged...)

Reply
  • Do you use GATT Client/Server architecture? If so then you are even lucky if you see GATT Server Discovery only 200ms long, usual phones will take 600-1500ms even for the minimal GATT Server configuration. If you have control over both sides of the link (e.g. two nRF5x devices running against each other) then you could debug and optimize (with minimal 7.5ms connection interval and GATT Service Discovery you should still be able to do it within 100ms, probably less). In every case such problems should be always debugged with RF analyzer (sniffer), that will tell you immediately where you are loosing 200ms (it can be on-air procedures and then you can see which side does i and maybe change it or at least understand why, it can be even invisible on radio which signals that one of the sides hangs in higher layers and should be debugged...)

Children
No Data
Related