diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-16 19:08:20 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-16 19:08:20 +0200 |
commit | b49931990791d2cbf3679507c866272d0e5e9baf (patch) | |
tree | 006a50352952a66803b08276ecfc5b0167f87922 /robo.go | |
parent | d421ff27df0ad189bbd245ec3000eea5d8030da8 (diff) |
Readd upgrade/debug commands, untested
Diffstat (limited to 'robo.go')
-rw-r--r-- | robo.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -227,3 +227,13 @@ const ( ) func (d Direction) Step(c *bufio.Writer) { esc(c, NUL, byte(d)) } + +// Untested +func BootUpgrade(c *bufio.ReadWriter) string { + esc(c, 1) + return c.ReadString(' ') +} +func UpdateFirmware(c *bufio.ReadWriter) bool { + return str(c, "CC1VERUP") == string(NUL) +} +func EnableDebug(c *bufio.Writer) { send(c, "FP,GRFCC1") } |