I have a sample program that is failing on sd_ble_gap_device_name_set with an invalid parameter.
It's calling BLE_GAP_CONN_SEC_MODE_SET_OPEN(&sec_mode)
And then it passes the sec_mode in and a device name and strlen of the name.
I'm guessing it has to do with setting the security open.
Does this ring a bell for anyone?