Ticket #45235

Add ability to send NUL (0x00) char using macro

Open Date: 2022-07-26 01:26 Last Update: 2023-01-06 10:51

Reporter:
(Anonymous)
Owner:
(None)
Status:
Open
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None
Vote
Score: 1
100.0% (1/1)
0.0% (0/1)

Details

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.

Ticket History (2/2 Histories)

2022-07-26 01:26 Updated by: None
  • New Ticket "Add ability to send NUL (0x00) char using macro" created
2023-01-06 10:51 Updated by: dalbert2
Comment

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.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login