1
0
Fork 0
mirror of https://github.com/ftl/tetra-pei.git synced 2025-04-06 05:17:31 +02:00
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) 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+)$`)