Compare commits

...

1 Commits

Author SHA1 Message Date
hchen3 657b1b2b0e add HCI 2020-02-04 16:48:33 +08:00
@@ -407,6 +407,8 @@ static void SimpleBLEPeripheral_init(void) {
// Register for GATT local events and ATT Responses pending for transmission
GATT_RegisterForMsgs(self);
HCI_LE_ReadMaxDataLenCmd();
HCI_LE_WriteSuggestedDefaultDataLenCmd(251, 2120); // this is used for data length extension
}
#ifndef DEVICE_NAME