SDK: nRF5_SDK_17.1.0_ddde560
example: secure_bootloader_ble_s132_pca10040
The example works when I use the S132, but when I replace with S312 it does not.
i have already changed the API headers from s132 to s312, i simply replace the include paths for the s132 (../components/softdevice/s132/headers/nrf52 ;
../components/softdevice/s132/headers) to one that points to your s312 headers
When I compile, the following error occurs, as shown in the figure:

i found these errors are caused by the lack of definition in the ble_gap.h file. Why are there no definitions of these parameters in the ble_gap.h header file included by S312? Is this a bug in S312 or am I not configuring it correctly somewhere?
Please note that I have no problem compiling when I switch to S340, but failed when I switch to S312.
Please give me a solution to this problem, thank you