Open sk-jame opened 4 months ago
I have the same question
@sk-jame @lefebvresam Please see my pull request, I've just added this feature: #42
When it's available in the installer?
@lefebvresam I've uploaded a new version here v0.9.0
What also should be a nice to have is that you can add an arbitrary sequence when pressing enter. Because some command interpreters expect that you end a command sentence with for instance 0xFF0xFF0xFF.
@lefebvresam v0.9.1 In this version you can specify a custom string, the string is sent as-is. So no escape character or 0x... format value.
Can you escape them, or use hex values? I want to send 0xFF0xFF0xFF for each string termination.
@lefebvresam now it's possible to specify a custom sequence of bytes to be sent on carriage return
But how do you enter 0xFF0xFF0xFF? As ÿÿÿ?
In the new version (v0.9.2) you can simply add the option --tx:bytes="0xFF0xFF0xFF" or --tx:bytes="FFFFFF" or --tx:bytes="FF FF FF" or --tx:bytes="0xFF 0xFF 0xFF" as you prefer.
note: --tx is the short form of --tx_newline option
I use this which is working:
ss -com:COM4 -echo:ON -tx:bytes="FFFFFF" -encoding:RAW -baud:120000
But with the sniffer I see that every character is sent immedately after entering it. When you have one char wrong you need te retype the whole line. There is also a wait time between characters in my application before getting a timeout. Should it be possible to send the whole line + termination only after pressing enter? In that case it will be possible to edit the line before sending long strings. Then it's more like a real terminal.
Thanks in advance.
Hello, I think that very important feature is missing - local echo. I don't think it should be explained, it is well known interface. So just wanna mention that it would be great to have it here.