fix: Bluetooth power level set too low (#4019)
This commit is contained in:
@@ -470,7 +470,7 @@ void Bluetooth::wakeup()
|
|||||||
} else if (state == BLUETOOTH_STATE_NAME_SENT && (line != nullptr) &&
|
} else if (state == BLUETOOTH_STATE_NAME_SENT && (line != nullptr) &&
|
||||||
(!strncmp(line, "OK+", 3) || !strncmp(line, "Central:", 8) ||
|
(!strncmp(line, "OK+", 3) || !strncmp(line, "Central:", 8) ||
|
||||||
!strncmp(line, "Peripheral:", 11))) {
|
!strncmp(line, "Peripheral:", 11))) {
|
||||||
writeString("AT+TXPW0");
|
writeString("AT+TXPW2");
|
||||||
state = BLUETOOTH_STATE_POWER_SENT;
|
state = BLUETOOTH_STATE_POWER_SENT;
|
||||||
} else if (state == BLUETOOTH_STATE_POWER_SENT &&
|
} else if (state == BLUETOOTH_STATE_POWER_SENT &&
|
||||||
(line != nullptr) &&
|
(line != nullptr) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user