From 938049d77fc67f9f59ec090b240cd2c717cb5e06 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 16 Jun 2015 00:15:44 +0200 Subject: [PATCH] don't sent l2cap le connection parameter request, it only gets slower --- example/embedded/le_streamer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/embedded/le_streamer.c b/example/embedded/le_streamer.c index b5b9dc6a9..0d860a8c2 100644 --- a/example/embedded/le_streamer.c +++ b/example/embedded/le_streamer.c @@ -181,8 +181,8 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack conn_handle = READ_BT_16(packet, 4); // min con interval 20 ms // res = gap_update_connection_parameters(conn_handle, 0x10, 0x10, 0, 0x0048); - l2cap_le_request_connection_parameter_update(conn_handle, 0x10, 0x18, 0, 0x0048); - printf("Connected, requesting conn param update for handle 0x%04x\n", conn_handle); + // l2cap_le_request_connection_parameter_update(conn_handle, 0x10, 0x18, 0, 0x0048); + // printf("Connected, requesting conn param update for handle 0x%04x\n", conn_handle); break; } break;