Attempt to fix split bytes
This commit is contained in:
@@ -182,6 +182,7 @@ void setup() {
|
|||||||
// Too small crashes just as hard as too large. Floor is 1536.
|
// Too small crashes just as hard as too large. Floor is 1536.
|
||||||
Serial.print("[BLE] ATT table: "); Serial.print(ATT_TABLE_SIZE); Serial.println(" bytes");
|
Serial.print("[BLE] ATT table: "); Serial.print(ATT_TABLE_SIZE); Serial.println(" bytes");
|
||||||
Bluefruit.configAttrTableSize(ATT_TABLE_SIZE);
|
Bluefruit.configAttrTableSize(ATT_TABLE_SIZE);
|
||||||
|
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX); // Raise MTU so 24-byte telemetry fits in one notify
|
||||||
|
|
||||||
Bluefruit.begin(1, 0);
|
Bluefruit.begin(1, 0);
|
||||||
Bluefruit.setTxPower(4);
|
Bluefruit.setTxPower(4);
|
||||||
|
|||||||
Reference in New Issue
Block a user