Hi,
I'm using the PCA10040 devkit and pc-ble-driver s132 v5.0 to act as a central to connect to three bluetooth peripherals I have. I've made no edits to the connectivity firmware and I have code based on the heart rate collector I've written on my desktop that uses the sd v5 api.
So far I've been able to connect and disconnect to devices, but when I attempt to connect to a second device while an active connection is still up, I get the error:
Connection Request Failed, reason 18
I've tried to change the role count to 2 in the "ble_cfg_set" function taken from heart rate collector:
ble_cfg.gap_cfg.role_count_cfg.central_role_count = 2;
And still have this issue. I feel that I'm missing something important here, any ideas?