diff --git a/example/le_data_channel_server.c b/example/le_data_channel_server.c index 8d15971da..61a95e740 100644 --- a/example/le_data_channel_server.c +++ b/example/le_data_channel_server.c @@ -234,9 +234,10 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack conn_interval = hci_subevent_le_connection_complete_get_conn_interval(packet); printf("%c: Connection Interval: %u.%02u ms\n", le_data_channel_connection.name, conn_interval * 125 / 100, 25 * (conn_interval & 3)); printf("%c: Connection Latency: %u\n", le_data_channel_connection.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); + + // min con interval 15 ms - supported from iOS 11 + gap_request_connection_parameter_update(le_data_channel_connection.connection_handle, 12, 12, 0, 0x0048); + printf("Connected, requesting conn param update for handle 0x%04x\n", le_data_channel_connection.connection_handle); // test_reset(&le_data_channel_connection); break;