Just continue my work on implementing LESC MITM on hear_rate_collector (Please check my development environment settings here as well).
Since sd_api_v6 on pc-ble-driver doesn't work with sd_ble_gap_authenticate on PCA10059. I switched to sd_api_v3.
Then sd_ble_gap_authenticate returns OK.
Then I added sd_ble_gap_sec_params_reply as such:
Then I got error 16 which is NRF_ERROR_INVALID_ADDR:
I also tried PCA10040 with sd_api_v3 connectivity firmware but got the same error.
BR/Chencheng