From 4ab2ed49bbb57c980427cff55bcb1b66f7733801 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 2 Aug 2018 12:52:41 +0200 Subject: [PATCH] example/le_streamer: fix optional code to request connection parameter updates --- example/le_streamer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/le_streamer.c b/example/le_streamer.c index 3e85b36cb..43508ddd6 100644 --- a/example/le_streamer.c +++ b/example/le_streamer.c @@ -241,8 +241,8 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack printf("%c: Connection Interval: %u.%02u ms\n", context->name, conn_interval * 125 / 100, 25 * (conn_interval & 3)); printf("%c: Connection Latency: %u\n", context->name, hci_subevent_le_connection_complete_get_conn_latency(packet)); // min con interval 20 ms - // gap_request_connection_parameter_update(connection_handle, 0x10, 0x18, 0, 0x0048); - // printf("Connected, requesting conn param update for handle 0x%04x\n", connection_handle); + // gap_request_connection_parameter_update(context->connection_handle, 0x10, 0x10, 0, 0x0048); + // printf("Connected, requesting conn param update for handle 0x%04x\n", context->connection_handle); break; } break;