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

Increase Service Discovery Speed by Master

Hi, So i'm working on an android app that communicates with two nrf51822 devices on the s110 softdevice by switching between them continuously (connecting one, disconnecting the other and vice versa). My issue is that the service discovery seems to take more time than my desired switching period. Each of the devices have only one custom service as well as the standard Generic Profile and Generic Access services (no battery or DIS services). It worked for switching every 10 seconds but I need to switch every second or so. Is it possible to vastly reduce the discovery time; and if so, please how can this be achieved?? I am testing on a Samsung Galaxy s3 running Android 4.3. Thanks

Parents
  • What do you set your preferred Connection Parameters to? When do you request the Connection Parameter Update?

    Your only options of increasing Discovery Speed are using the fastest Connection Parameters, and streamlining your Service. Meaning remove anything characteristic that are unnecessary and reduce the characteristic sizes to only required size. i.e. don't create a uint32_t characteristic that will only use 0-255 values.

  • I meant using the PCA10001 Bluetooth Dongle from Nordic and use the Master Emulator Software on a desktop to test as a Central. Do not use an Android to test, I don't think it has the same logging capability as the Desktop version.

    Its bizarre that the connection parameters would cause disconnects as these meet Apple's standards which are more strict than Android.

    What is your FIRST_CONN_PARAMS_UPDATE_DELAY set to?

Reply
  • I meant using the PCA10001 Bluetooth Dongle from Nordic and use the Master Emulator Software on a desktop to test as a Central. Do not use an Android to test, I don't think it has the same logging capability as the Desktop version.

    Its bizarre that the connection parameters would cause disconnects as these meet Apple's standards which are more strict than Android.

    What is your FIRST_CONN_PARAMS_UPDATE_DELAY set to?

Children
No Data
Related