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

How to make it connect longer?

Hi. I'm using PCA10028, SDK10.0.0, S130. I'm testing connection time.

I made structure as your sample code as below. static const ble_gap_conn_params_t m_connection_param = { (uint16_t)MIN_CONNECTION_INTERVAL, // Minimum connection (uint16_t)MAX_CONNECTION_INTERVAL, // Maximum connection 0, // Slave latency (uint16_t)SUPERVISION_TIMEOUT // Supervision time-out };

I think, "SUPERVISION_TIMEOUT" defines time to be disconnected.

Here is a question, when i want to make the connection longer after connection, how can i do that? Although i already defined connection time out.

I hope your reply.

Parents
  • Hi, Please refer this link for good understanding on connection parameter,

    devzone.nordicsemi.com/.../

    Supervisory timeout decides how long you can be in connection without sending any packets .. Not the connection time. To maintain connection empty packets will be send by the softdevice. So you dont need to do any configuration for longer connection . If the other device didnt response for more than supervisory timeout connection will be terminated .............

Reply
  • Hi, Please refer this link for good understanding on connection parameter,

    devzone.nordicsemi.com/.../

    Supervisory timeout decides how long you can be in connection without sending any packets .. Not the connection time. To maintain connection empty packets will be send by the softdevice. So you dont need to do any configuration for longer connection . If the other device didnt response for more than supervisory timeout connection will be terminated .............

Children
Related