diff --git a/omi/firmware/omi/omi.conf b/omi/firmware/omi/omi.conf index 93d8cd5831..146c0019ad 100644 --- a/omi/firmware/omi/omi.conf +++ b/omi/firmware/omi/omi.conf @@ -207,9 +207,9 @@ CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=y # Set preferred connection parameters # 7.5ms -CONFIG_BT_PERIPHERAL_PREF_MIN_INT=24 -# 15ms -CONFIG_BT_PERIPHERAL_PREF_MAX_INT=24 +CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6 +# 7.5ms +CONFIG_BT_PERIPHERAL_PREF_MAX_INT=6 CONFIG_BT_PERIPHERAL_PREF_LATENCY=0 # 4 seconds CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=400 diff --git a/omi/firmware/omi/src/lib/core/storage.c b/omi/firmware/omi/src/lib/core/storage.c index fdf0a1fb5c..8b54bf4d80 100644 --- a/omi/firmware/omi/src/lib/core/storage.c +++ b/omi/firmware/omi/src/lib/core/storage.c @@ -296,7 +296,7 @@ void storage_write(void) write_to_gatt(conn); heartbeat_count = (heartbeat_count + 1) % (MAX_HEARTBEAT_FRAMES + 1); - k_msleep(100); + transport_started = 0; if (remaining_length == 0) { if (stop_started) {