Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 657b1b2b0e |
+2
@@ -407,6 +407,8 @@ static void SimpleBLEPeripheral_init(void) {
|
|||||||
// Register for GATT local events and ATT Responses pending for transmission
|
// Register for GATT local events and ATT Responses pending for transmission
|
||||||
GATT_RegisterForMsgs(self);
|
GATT_RegisterForMsgs(self);
|
||||||
|
|
||||||
|
HCI_LE_ReadMaxDataLenCmd();
|
||||||
|
HCI_LE_WriteSuggestedDefaultDataLenCmd(251, 2120); // this is used for data length extension
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DEVICE_NAME
|
#ifndef DEVICE_NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user