From 5426b086dddcc9040a6b4ca7c518526a69110608 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Fri, 10 Jan 2014 16:57:44 +0000 Subject: [PATCH] add provision to send l2cap connection parameters update request --- example/libusb/ble_peripheral.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/libusb/ble_peripheral.c b/example/libusb/ble_peripheral.c index a59223986..851a32ad2 100644 --- a/example/libusb/ble_peripheral.c +++ b/example/libusb/ble_peripheral.c @@ -127,6 +127,9 @@ static void app_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t * switch (packet[2]) { case HCI_SUBEVENT_LE_CONNECTION_COMPLETE: advertisements_enabled = 0; + + // request connection parameter update - test parameters + // l2cap_le_request_connection_parameter_update(READ_BT_16(packet, 4), 20, 1000, 100, 100); break; default: