This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Cannot change default supervision timeout in peripheral role?

Part Number: CC2640R2F


Hello,

Below functions are only for central role?

GAP_SetParamValue(TGAP_CONN_EST_SUPERV_TIMEOUT, DEFAULT_CONN_TIMEOUT);

or

GapInit_setPhyParam with the parameter INIT_PHYPARAM_SUP_TIMEOUT

Thanks,

Calvin

  • Hey Calvin,

    Thanks for posting on e2e. Which version of the SDK and BLE stack (BLE or BLE5) are you using?

    Either way, you might find what you are looking for in our SimpleLink Academy module that covers Connections (link here). The peripheral can only set a preference for this parameter. The actual value is set by the central device, and the central device has the power to accept or reject any connection parameter updates requested from the peripheral. Upon connection, the peripheral must send a parameter update with an updated supervision timeout and send this request to the central. All this is covered in the linked resource above. Hope this helps!

  • Hi,

    I'm using SDK 5.30 and BLE stack.

    I asked because some chipset provides the ability to set a default supervision timeout in peripherals as well.

    Thanks,

    Calvin