Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

sd_ble_gap_ppcp_set return error

I've tried the folowing :

- SDK : nRF5_SDK_17.1.0_ddde560

- board : nRF52-DK

- test example :

  1. examples\ble_peripheral\ble_app_blinky\pca10040\s132

      => work well

  2. examples\ble_peripheral\ble_app_blinky\pca10040e\s112

       => return error 7 at sd_ble_gap_ppcp_set()

  3. I modified "examples\ble_peripheral\ble_app_blinky\pca10040\s132" for NRF52810 as referred to "https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fsdk_for_custom_boards.html"

      => return error 7 at sd_ble_gap_ppcp_set(), too.

- I didn't change the values of parameters of sd_ble_gap_ppcp_set(). It's same as the example.

#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(100, UNIT_1_25_MS)        /**< Minimum acceptable connection interval (0.5 seconds). */
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(200, UNIT_1_25_MS)        /**< Maximum acceptable connection interval (1 second). */
#define SLAVE_LATENCY                   0                                      /**< Slave latency. */
#define CONN_SUP_TIMEOUT                MSEC_TO_UNITS(4000, UNIT_10_MS)         /**< Connection supervisory time-out (4 seconds). */

- My custom board is a nRF52810 for central and peripheral , so I have to migrate.

How can I fix this problem?
 
 

Regards, all.

Parents Reply Children
Related