This transformer is processing binary data before sending it to next transformer or to final recipient. If the data contains specified pattern, the reply (response) is sent to the sender channel in text format.
This transformer will not work correctly with binary data.
It is highly recommended to add Binary data blocks splitter transformer before this one.
Be careful to not intoduce infinite response loop by adding corresponding response transformers to both devices!
The response will be sent directly to source, bypassing all source flow transformers.
Binary Responder transformer properties:
- Enabled (boolean). If enabled, transformer will be used for data processing.
- Value (hex string mask): Value to be used for matching.
- Response (string): text which will be sent to the sender if Include filter condition is met. If the response is not specified, but Discard data is set, the data will be discarded without response.
- Discard data (boolean): if enabled, all processed data will be discarded on match. For example, it can be used to quickly reject not-supported commands and produce response.
Value can contain placeholder values (??) which means "any byte" Example:
- aa??cc: matches data with size=3, starting with 0xaa and ending with 0xcc, second byte can have any value
- ??????: matches any 3 bytes
- fe fe ?? ?? ?? ?? ?? ff: matches data with size=8 starting with 0xfe 0xfe and ending with 0xff
- Enabled: yes
- Value: aa bb cc
- Response: ff ff
- Enabled: yes
- Value: aa bb ?? cc
- Response: ff ff
- Enabled: yes
- Value: aa bb cc
- Response:
- Discard data: true
- See also:
-