From b49931990791d2cbf3679507c866272d0e5e9baf Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 16 May 2015 19:08:20 +0200 Subject: Readd upgrade/debug commands, untested --- robo.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/robo.go b/robo.go index c705020..fb1030e 100644 --- a/robo.go +++ b/robo.go @@ -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") } -- cgit v1.2.3