Whenever I connect to a COM port and try to send data, I always get back the following error:
First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
Doing a little bit of debugging, it seems like the api webserver is receiving an empty object as the req.body, which is assigned to the buffer that we are trying to write to the serialport. The error makes sense, and I believe the issue is in remote-serial-port-client\lib\RemoteSerialPort.js, however, before spending time trying to fix it, I wanted to post this in case it is a known and possibly fixed issue.
Btw, this is via the provided web interface in the remote-serial-port-server project.
Whenever I connect to a COM port and try to send data, I always get back the following error:
First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.Doing a little bit of debugging, it seems like the api webserver is receiving an empty object as the req.body, which is assigned to the buffer that we are trying to write to the serialport. The error makes sense, and I believe the issue is in
remote-serial-port-client\lib\RemoteSerialPort.js, however, before spending time trying to fix it, I wanted to post this in case it is a known and possibly fixed issue.Btw, this is via the provided web interface in the remote-serial-port-server project.