This commit is contained in:
Florian Thienel 2021-10-13 19:58:21 +02:00
parent 38a935b7ab
commit 2a2635ccf1

View file

@ -16,7 +16,7 @@ func SetOperatingMode(mode AIMode) string {
return fmt.Sprintf("AT+CTOM=%d", mode)
}
const operatingModeRequest = "AT+TOM?"
const operatingModeRequest = "AT+CTOM?"
var operatingModeResponse = regexp.MustCompile(`^\+CTOM: (\d+)$`)