Add ability to send NUL (0x00) char using macro
Eröffnet am: 2022-07-26 01:26
Letztes Update: 2023-01-06 10:51
Auswertung: | (Anonym) | Verantwortlicher: | (Keine) |
---|---|---|---|
Priorität: | 5 - Mittel | Meilenstein: | (Keine) |
Typ: | Funktionsanfragen | Schweregrad: | 5 - Mittel |
Komponente: | Tera Term Macro | Status: | Offen |
Lösung | Keine |
Einzelheiten
I don't really understand why there's no way to send a NUL char (0x00) using a .ttl macro. It seems like I can only do it by sending a binary file. The device I'm working with requires that data is sent in hex or binary format, so I need to be able to send a NUL char to it. Otherwise, it won't work properly. I think this would be vary useful to those who would like to use Tera Term for sending and receiving binary data in hex. Thanks.
Kommentar
Note: you can send null characters using the send command, but you can't assign them to a string (which probably interprets the null char as a terminator)
For example, this works: send $06$00$09$00$01 But this does not: mystr = $06$00$09$00$01
In general, teraterm could really use a binary string buffer as a variable type because so much protocol work involves sending/receiving/processing binary data.