You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using SPJS v. 1.94 under Ubuntu 16.04.
I've installed the 64bit version already compiled.
I can run the daemon, open any ports, and correctly reads messages from them.
The issue that I got is that I cannot send a message to any port.
So running: sendjson {"P":"/dev/ttyS1","Data":[{"Id":"firstMsg","D":"12 05"}]}
I get {"Cmd":"Queued","QCnt":1,"P":"/dev/ttyS1","Data":[{"D":"12 05","Id":"firstMsg","Pause":0}]} {"Cmd":"Write","QCnt":0,"Id":"firstMsg","P":"/dev/ttyS1"} {"Cmd":"CompleteFake","Id":"firstMsg","P":"/dev/ttyS1"}
To send a command, I simply open a websocket connection and send via it the command. With the same, I can successfully get any message received from the serial ports.
I've also tried using chilipeppr.com/serialport, and I've notice that when I open a port I got a quick popup telling "Not in single select mode so don't know what port to send to."
Even if that's the case, I don't understand what's the matter...I always send the port's name with the command.
Hope someone can help.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I'm using SPJS v. 1.94 under Ubuntu 16.04.
I've installed the 64bit version already compiled.
I can run the daemon, open any ports, and correctly reads messages from them.
The issue that I got is that I cannot send a message to any port.
So running:
sendjson {"P":"/dev/ttyS1","Data":[{"Id":"firstMsg","D":"12 05"}]}
I get
{"Cmd":"Queued","QCnt":1,"P":"/dev/ttyS1","Data":[{"D":"12 05","Id":"firstMsg","Pause":0}]} {"Cmd":"Write","QCnt":0,"Id":"firstMsg","P":"/dev/ttyS1"} {"Cmd":"CompleteFake","Id":"firstMsg","P":"/dev/ttyS1"}
To send a command, I simply open a websocket connection and send via it the command. With the same, I can successfully get any message received from the serial ports.
I've also tried using chilipeppr.com/serialport, and I've notice that when I open a port I got a quick popup telling "Not in single select mode so don't know what port to send to."
Even if that's the case, I don't understand what's the matter...I always send the port's name with the command.
Hope someone can help.
Thanks
The text was updated successfully, but these errors were encountered: