-
Notifications
You must be signed in to change notification settings - Fork 23
15. Serial API
To control, get status and update settings of the mower it is possible to use a Serial API. You can send a text string on the serial consol. A response message are sent back on the serial consol.
The command are defined as followed. A command starts with a semicolon, the number of the command, a colon and eache args separeted with a colon. The string ends with carriage return.
Example ;:arg1:arg2:argN\r
- GetState - 10
- SetState - 11
- GetSetUpDebug - 100
- SetSetUpDebug - 101
- GetBattery - 102
- SetBattery - 103
- GetSensor - 104
- SetMotorOn - 105
- SetMotorOff - 106
- GetWheelMotor - 107
- GetCutterStatus - 108
Some introduction text, formatted in heading 2 style
Change the current state of the mower.
Format: 103:BatteryType:Min:Max:GoHomeLevel
Battery type
Value | Description |
---|---|
0 | Mowing |
1 | LAUNCHING |
2 | CHARGING |
3 | TESTING |
Min: The voltage of the battery when it's empty. Use a value with four digits like 1030 for 10,3v
Max: The voltage of the battery when it's full. Use a value with four digits like 1224 for 12,24v
GoHomeLevel: The voltage level when the mover should go home.
OK/NOK