Quantcast
Channel: All Open Tickets - Tera Term on OSDN
Viewing all articles
Browse latest Browse all 2128

Add ability to send NUL (0x00) char using macro - Tera Term Ticket #45235 on OSDN

$
0
0

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 - MittelMeilenstein:(Keine)
Typ:FunktionsanfragenSchweregrad:5 - Mittel
Komponente:Tera Term MacroStatus:Offen
LösungKeine

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.

Letzte Aktualisierung für dieses Ticket

2023-01-06 10:51 Aktualisiert von: dalbert2

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.


Viewing all articles
Browse latest Browse all 2128