Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompleteFake, cannot send a command to any port #38

Open
salvosav opened this issue Jul 8, 2017 · 0 comments
Open

CompleteFake, cannot send a command to any port #38

salvosav opened this issue Jul 8, 2017 · 0 comments

Comments

@salvosav
Copy link

salvosav commented Jul 8, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant