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

Okay to omit connection parameter negotiation?

Hello,

The BLE peripheral I'm developing does not have any specific required connection parameters. I understand that the central ultimately controls the selection of parameters and the peripheral can only request certain parameters. I'd like to be sure it's okay to omit connection parameter negotiation altogether and simply accept whichever parameters the central chooses. The central is always an iOS device.

Many thanks,

Tim

Parents
  • Hi Tim, 

    You are right. The peripheral can request connection parameters but it's the central who decides which connection parameter should be used. 

    If you don't want any negotiation from the peripheral you can just skip the ble_conn_params.c library. 

    The "negotiation" in the library is simply that if the connection parameter doesn't match with what the peripheral wants it will try to request again and again. After 3 times AFAIK, the peripheral will disconnect (optional). 

Reply
  • Hi Tim, 

    You are right. The peripheral can request connection parameters but it's the central who decides which connection parameter should be used. 

    If you don't want any negotiation from the peripheral you can just skip the ble_conn_params.c library. 

    The "negotiation" in the library is simply that if the connection parameter doesn't match with what the peripheral wants it will try to request again and again. After 3 times AFAIK, the peripheral will disconnect (optional). 

Children
Related