don't sent l2cap le connection parameter request, it only gets slower

This commit is contained in:
Matthias Ringwald 2015-06-16 00:15:44 +02:00
parent bfbe9cbf85
commit 938049d77f

View File

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