待辦事項 #45235

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

啟用日期: 2022-07-26 01:26 最後更新: 2023-01-06 10:51

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:
Vote
Score: 1
100.0% (1/1)
0.0% (0/1)

細節

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
評語

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

編輯

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