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

Reducing the characteristic discovery time for peripheral device

We have a nrf52840 in peripheral mode and with with custom services characteristics added. we want to reduce the over all connection time when we try to connect with central device.

can you suggest us some suggestions to reduce the connection time  ? ( we can see at our end connection time nearly taking 1sec)

Thanks,

Srikanth R V

Parents
  • Hello Srikanth R V,

    Is the devices you intend to connect previously bonded, or is the intention that a single peripheral device always will reconnect to the same central device?

    can you suggest us some suggestions to reduce the connection time  ? ( we can see at our end connection time nearly taking 1sec)

    A general way to decrease the time it takes to discover and connect to a device is to reduce the advertising interval. The faster the peripheral is advertising, the faster the central will pick up an advertising and establish the connection.
    Additionally, depending on your use case, you can use some of the faster advertising modes. This can greatly reduce (re-)connection time, at the expense of increased power consumption.
    Additionally, you need to make sure that the central is scanning in this same period that the peripheral is advertising.
    Please be advised that increasing the scanning window, or decreasing the advertising interval, both increase the device's current consumption.

    Please do not hesitate to ask if any part of my question is unclear, or if you have any other issues or questions.

    Best regards,
    Karl

Reply
  • Hello Srikanth R V,

    Is the devices you intend to connect previously bonded, or is the intention that a single peripheral device always will reconnect to the same central device?

    can you suggest us some suggestions to reduce the connection time  ? ( we can see at our end connection time nearly taking 1sec)

    A general way to decrease the time it takes to discover and connect to a device is to reduce the advertising interval. The faster the peripheral is advertising, the faster the central will pick up an advertising and establish the connection.
    Additionally, depending on your use case, you can use some of the faster advertising modes. This can greatly reduce (re-)connection time, at the expense of increased power consumption.
    Additionally, you need to make sure that the central is scanning in this same period that the peripheral is advertising.
    Please be advised that increasing the scanning window, or decreasing the advertising interval, both increase the device's current consumption.

    Please do not hesitate to ask if any part of my question is unclear, or if you have any other issues or questions.

    Best regards,
    Karl

Children
No Data
Related