This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

low connection success rate when several scanners are present

Hello,

I've been battling for a while with the following problem: when I have a gatt_server on CSR1010 and try to connect to it using a phone (any android phone and several iPhones) with several other phone clients around, the connection will often fail. From reading up and discussing the matter, apparently it's because other scanners flood the gatt server with scan requests, and the connection request goes unheard. I've tried to solve this with the following methods, using the a setup of an augmented gatt_server, a client phone and 3 interfering client phones. The test is connecting, exchanging info and disconnecting, for 100 times, in intervals of 20 seconds.

  1. use an empty scan response, in a hope that it will maked the responses quicker, and the gatt_server will quickly become available to connection requests. DIDN'T HELP.
  2. setting max and min advertising intervals to different values - instead of both being 500ms, I tried 100ms-500ms and 500ms-3000ms. I was hoping that it will allow flexibility in the advertising intervals, so it will be more flexible to accept connection requests. DIDN'T HELP.
  3. forcefully stopping and starting the advertisement during app_state_fast_advertising and app_state_slow_advertising, as such: When I enter such a state, I stop advertisements after 20ms, and the start again after 480ms, and then stopping again after 20ms etc, so effectively, I'm advertising 20ms out of 500ms, in hope that it will prevent other scanners to get responses out of the gatt_server, so it can notice conection requests in peace. DIDN'T HELP.

I'm stumped and I REALLY need to solve this. I'm positive I'm not the only bluetooth lowEnergy user ever to have this problem, can you please assist me with a solution or an advice on this? Thanks! P.S. by DIDN'T HELP I mean it didn't affect the results in a positive manne

  • Hello,

    I would suggest adjusting your Adv/Scan parameters and verity your antenna performance (measure RF).
    Beyond that, perhaps try following up with CSR as I don't know the specifics of their stack.

    Best wishes
  • Thanks!
    - How exactly do you adjust Adv / Scan parameters? What should they hold to enhance the performance?
    - By antenna performance, you mean the RSSI it transmits at? because we get a fine signal from the chip itself, the problem is that the chip doesn't get the connection request..
    CSR don't seem to be a ble to answer this question.. This forum comes up when looking for ble forums :)
  • Hello,

    I suggest that you order a TI BLE reference kit to prototype your system. An overview of the TI kits can be found on the TI BLE Wiki: www.ti.com/ble-wiki.
    With a TI kit, the TI E2E forum will be better equipped to assist you!

    Best wishes