"Peripheral Preferred Connection Parameters" is only optional in peripheral role and excluded otherwise - so make it register only if we're configured for peripheral role. X-Original-Commit: 3b1e9855a8dcf0450a21f1bc18102601701d3f60