From 72b4f23326e52a34677cd9ae72647d85dbd4c485 Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Wed, 17 Jun 2020 02:13:23 +0200
Subject: [PATCH] fix(ble): Turn off coded and 2M phys

The 2M phy caused problems when turning on encryption. I'm also
disabling the coded phy as I don't know it it works and need to first
test it with a phone/central which has support.

Closes #172
---
 epicardium/ble/stack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/epicardium/ble/stack.c b/epicardium/ble/stack.c
index 79ccce44b..f96f2c113 100644
--- a/epicardium/ble/stack.c
+++ b/epicardium/ble/stack.c
@@ -89,8 +89,8 @@ const LlRtCfg_t _ll_cfg = {
     /*dtmRxSyncMs*/             10000,
 
     /* PHY */
-    /*phy2mSup*/                TRUE,
-    /*phyCodedSup*/             TRUE,
+    /*phy2mSup*/                FALSE,
+    /*phyCodedSup*/             FALSE,
     /*stableModIdxTxSup*/       FALSE,
     /*stableModIdxRxSup*/       FALSE
 };
-- 
GitLab