diff --git a/ctrl/command.go b/ctrl/command.go index b557e71..8cd5c50 100644 --- a/ctrl/command.go +++ b/ctrl/command.go @@ -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+)$`)