Ticket #45235

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

Date d'ouverture: 2022-07-26 01:26 Dernière mise à jour: 2023-01-06 10:51

Rapporteur:
(Anonyme)
Propriétaire:
(Aucun)
État:
Ouvert
Composant:
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 1
100.0% (1/1)
0.0% (0/1)

Détails

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
Commentaire

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

Modifier

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