example/le_streamer: fix optional code to request connection parameter updates

This commit is contained in:
Matthias Ringwald 2018-08-02 12:52:41 +02:00
parent b78fcc8952
commit 4ab2ed49bb

View File

@ -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;