master v1.0.1
Florian Thienel 3 years ago
parent 38a935b7ab
commit 2a2635ccf1

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

Loading…
Cancel
Save