Auto Answer
Auto Answer checks each received data packet. When a packet matches a rule, the program sends the reply that goes with that rule. It suits handshakes and heartbeat replies, or simulating a device's response to a specific command.
Auto Answer settings are saved by group, and each group is one configuration file.
Open Auto Answer
Open the Auto Answer panel in the device window to see the execute view. The Edit configuration button (…) at the top of the panel opens the editor.
Manage groups
Manage groups in the editor the same way as in Quick Send: select a group, refresh, create a new group, delete a group, or rename a group by editing its name.
A new group, including the Default group created automatically on first use, starts with two items:
- Match content
OK, replyConfirmed - Match content
ERROR, replyPlease retry
Both items use Prefix Match.
Add match items
In the "Add New Auto Answer" area of the editor, fill in the fields below, then click Add.
| Field | Description |
|---|---|
| Match Content | The text to check for |
| Send Content | The reply sent when the rule matches |
| Match Mode | How the match content is compared with received data. See below |
Match Content and Send Content must not be empty. Items with an empty field are not added. When you select Regular Expression, the program checks the expression first. If it is invalid, an error message appears and the item is not added.
Match modes
| Match mode | Meaning |
|---|---|
| Prefix Match | The received data starts with the match content |
| Suffix Match | The received data ends with the match content |
| Exact Match | The received data is exactly the same as the match content |
| Contains Match | The received data contains the match content |
| Regular Expression | The regular expression is searched for in the data. A match anywhere is enough |
All modes are case-sensitive. An item with empty match content never matches.
Edit and delete items
In the item table, double-click the Match Content or Send Content cell to edit it, or change the Match Mode drop-down. After a change, the row's Save button becomes enabled. Click it to write the change to the file. If the mode is Regular Expression, the expression is checked again before saving. Clicking Delete shows a confirmation dialog first.
When you save in the editor while a device is running the group, the program asks whether to stop the running device first.
Run Auto Answer
The execute view contains these controls:
- Select all: Check or uncheck all items.
- Group drop-down: Switch to another group.
- Edit button (…): Open the editor.
- Refresh button (…): Reload the group list.
- Item table: Each row is one item. The Select column decides whether the item takes part in replies. The Match Content column shows the match text. Hover over it to see the reply.
- Start Auto Answer / Stop Auto Answer: Turn replying on or off.
New items are unchecked by default, so you need to check them before they take effect. The checkbox state is remembered, so it is kept the next time you open the panel.
Reply rules
- Only checked items take part in matching.
- The program checks each received data packet. The text it compares is the same as the text shown in the receive area, so when the receive area shows HEX, the match content must also be HEX text.
- One packet can match several items. Each matched item sends its own reply.
- Replies use the current settings in the send area, including HEX Send, checksum, and line break.
- Auto Answer works in both HEX and text receive modes.
Avoid reply loops
If the device echoes back the data it receives, and a reply matches one of the rules, the program keeps replying. Avoid configurations like this.
Notes
- Replies are sent only after you click Start Auto Answer. After you stop it, received data no longer triggers replies.
- While Auto Answer is running, you cannot switch groups or edit the configuration.
- While a device is running a group, editing of the group's items, deleting the group, and renaming it are locked in the editor.
