Skip to content

Instantly share code, notes, and snippets.

@tescalada
Created December 4, 2018 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tescalada/233919bc2dd59b379f3b891b302f5b22 to your computer and use it in GitHub Desktop.
Save tescalada/233919bc2dd59b379f3b891b302f5b22 to your computer and use it in GitHub Desktop.
This is the repeating section of logs from running with verbose on
2018/12/04 07:23:47 bufferflow_grbl.go:268: Re-adding newline to item:$G
2018/12/04 07:23:47 bufferflow_grbl.go:271: New cmd item:$G
2018/12/04 07:23:47 bufferflow_grbl.go:275: Final array of cmds after BreakApartCommands(). finalCmds:[$G
]
2018/12/04 07:23:47 serial.go:252: Done with writeJson method
2018/12/04 07:23:47 serialport.go:233: Got p.sendBuffered. data:$G\n, id:status, pause:0
2018/12/04 07:23:47 bufferflow_grbl.go:68: BlockUntilReady() start
2018/12/04 07:23:47 bufferflow_grbl.go:72: New line length: 3, buffer size increased to:3
2018/12/04 07:23:47 bufferflow_grbl.go:73: &{0x12173960 0x12173960 1 0x125bc008 3}
2018/12/04 07:23:47 serialport.go:268: Got p.sendNoBuf. id:status, pause:0, data:$G\n
2018/12/04 07:23:47 serialport.go:275: Items In SPJS Queue List:0
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"[GC:G0 G54 G17 G21 G90 G94 M5 M9"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[[GC:G0 G54 G17 G21 G90 G94 M5 M9]
2018/12/04 07:23:47 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:" T0 F0 S0]\r\nok\r\n"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] ok ]
2018/12/04 07:23:47 bufferflow_grbl.go:121: We have data lines to analyze. numLines:3
2018/12/04 07:23:47 bufferflow_grbl.go:134: Working on element:[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0], index:0
2018/12/04 07:23:47 bufferflow_grbl.go:134: Working on element:ok, index:1
2018/12/04 07:23:47 bufferflow_grbl.go:158: Buffer decreased to itemCnt:0, lenOfBuf:0
2018/12/04 07:23:47 bufferflow_grbl.go:165: Grbl just completed a line of gcode
2018/12/04 07:23:47 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:47 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:47 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0>\r\n"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0> ]
2018/12/04 07:23:47 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:47 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0>, index:0
2018/12/04 07:23:47 bufferflow_grbl.go:189: Grbl status has not changed, not reporting to client
2018/12/04 07:23:47 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:47 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:47 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0>\r\n"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0> ]
2018/12/04 07:23:47 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:47 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0>, index:0
2018/12/04 07:23:47 bufferflow_grbl.go:189: Grbl status has not changed, not reporting to client
2018/12/04 07:23:47 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:47 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:47 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:47 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0>\r\n"
2018/12/04 07:23:47 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0> ]
2018/12/04 07:23:47 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:47 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0>, index:0
2018/12/04 07:23:47 bufferflow_grbl.go:189: Grbl status has not changed, not reporting to client
2018/12/04 07:23:47 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:48 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:48 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0>\r\n"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0> ]
2018/12/04 07:23:48 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:48 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0>, index:0
2018/12/04 07:23:48 bufferflow_grbl.go:189: Grbl status has not changed, not reporting to client
2018/12/04 07:23:48 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:48 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:48 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0>\r\n"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0> ]
2018/12/04 07:23:48 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:48 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0>, index:0
2018/12/04 07:23:48 bufferflow_grbl.go:189: Grbl status has not changed, not reporting to client
2018/12/04 07:23:48 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:48 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:48 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0|WCO:-150.000,-58.000,-24.800"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0|WCO:-150.000,-58.000,-24.800]
2018/12/04 07:23:48 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:">\r\n"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0|WCO:-150.000,-58.000,-24.800> ]
2018/12/04 07:23:48 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:48 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0|WCO:-150.000,-58.000,-24.800>, index:0
2018/12/04 07:23:48 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:48 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:48 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:48 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0|Ov:99,100,100>\r\n"
2018/12/04 07:23:48 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0|Ov:99,100,100> ]
2018/12/04 07:23:48 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:48 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0|Ov:99,100,100>, index:0
2018/12/04 07:23:48 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:49 bufferflow_grbl.go:385: Just wrote 1 bytes to serial: ?
2018/12/04 07:23:49 bufferflow_grbl.go:107: OnIncomingData() start. data:"<Idle|MPos:0.000,0.000,0.000|FS:"
2018/12/04 07:23:49 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:]
2018/12/04 07:23:49 bufferflow_grbl.go:127: Did not find newline yet, so nothing to analyze
2018/12/04 07:23:49 bufferflow_grbl.go:107: OnIncomingData() start. data:"0,0>\r\n"
2018/12/04 07:23:49 bufferflow_grbl.go:115: arrLines:[<Idle|MPos:0.000,0.000,0.000|FS:0,0> ]
2018/12/04 07:23:49 bufferflow_grbl.go:121: We have data lines to analyze. numLines:2
2018/12/04 07:23:49 bufferflow_grbl.go:134: Working on element:<Idle|MPos:0.000,0.000,0.000|FS:0,0>, index:0
2018/12/04 07:23:49 bufferflow_grbl.go:210: OnIncomingData() end.
2018/12/04 07:23:49 hub.go:122: sendjson {"P":"/dev/ttyUSB0","Data":[{"D":"$G\n","Id":"status"}]}
2018/12/04 07:23:49 bufferflow_grbl.go:238: Command Before Break-Apart: "$G\n"
2018/12/04 07:23:49 bufferflow_grbl.go:268: Re-adding newline to item:$G
2018/12/04 07:23:49 bufferflow_grbl.go:271: New cmd item:$G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment