johnlauer / serial-port-json-server

A serial port JSON websocket server for Windows, Mac, Linux, Raspberry Pi, or BeagleBone Black that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port.
http://chilipeppr.com
GNU General Public License v2.0
355 stars 174 forks source link

'?' command not being passed w/ grbl buffering #42

Open stewartoallen opened 8 years ago

stewartoallen commented 8 years ago

it seems that all is working correctly except for this. is it possible this is happening in the serial-port-json-server? my tipoff is the "CompleteFake" return below. no other commands do that. i only have one device that requires grbl so i can't test other buffers.

send /dev/ttyACM0 ? {"Cmd":"Queued","QCnt":1,"Ids":[""],"D":["?"],"Port":"/dev/ttyACM0"} {"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/ttyACM0"} {"Cmd":"CompleteFake","Id":"","P":"/dev/ttyACM0"} sendnobuf /dev/ttyACM0 ? {"Cmd":"Queued","QCnt":1,"Ids":[""],"D":["?"],"Port":"/dev/ttyACM0"} {"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/ttyACM0"} {"Cmd":"CompleteFake","Id":"","P":"/dev/ttyACM0"}