You are here

Connection parameters update | Cypress Semiconductor

Connection parameters update

Summary: 2 Replies, Latest post by Thomas POINSOT on 23 Jul 2015 12:28 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
Thomas POINSOT's picture
6 posts

Hi cypress community,

I'm trying to re-negotiate connection parameters from peripheral just after connection. To do this i'm using CyBle_L2capLeConnectionParamUpdateRequest() function in CYBLE_EVT_GATT_CONNECT_IND event.

Function return an error ( CYBLE_ERROR_NO_CONNECTION).

To avoid this error i tried to put this function later in my process loop checking cyBle_state to be sure it's connected

...same error

I don't understand why it return a non connection error....


roit's picture
Cypress Employee
221 posts

What is the value of the first parameter (bdHandle) in the function 'CyBle_L2capLeConnectionParamUpdateRequest'?

Try the first parameter as 'cyBle_connHandle.bdHandle'.


Also ensure that the connection parameter values you are entering as second parameter in function is in acceptable range of the Central device you are negotiating it with.


Thomas POINSOT's picture
6 posts


It was an error with auto completion. First parameter was wrong.

Thanks for help !

Log in to post new comments.