Message ID | 20240523102929.37761-7-arun@asymptotic.io |
---|---|
State | New |
Headers | show |
Series | ASHA plugin | expand |
diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index 7ed633e1c..84805bf64 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -1814,6 +1814,12 @@ static guint transport_asha_resume(struct media_transport *transport, struct bt_asha *asha = transport->data; guint ret; + btd_device_set_conn_param(transport->device, + 0x0010 /* min interval = 1.25ms intervals => 20ms */, + 0x0010 /* max interval = 1.25ms intervals => 20ms */, + 0x000A /* 10 events' latency */, + 0x0064 /* 1s timeout */); + ret = bt_asha_connect_socket(asha); if (ret < 0) return ret;