Features, discussions, tips, tricks, questions, problems and feedback

How to resolve message issues in Notify Agent

Notify Agent may display characters as unusually large or garbled when a message includes multiple recipients or the length of the message string too long. This issue is generally caused by an insufficient memory buffer, defined by the RawBytes setting in the Registry.

The memory buffer size (in bytes) that Notify Agent uses to process messages is set by RawBytes, which is set to 100 (hex) by default and sometimes might not be sufficient for messages with many recipients or bigger sizes. The messages could be truncated if the buffer is too small.
To prevent issues caused by long message string lengths:

  1. Open Registry Editor (regedit.exe).
  2. Go to:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Adroit Technologies\Adroit\Scanning


image
image
3. Set its value to:

  • Hex : 1388
  1. Close the editor and restart the Agent server.
    Notes: Notify Agent messages are limited to 79 characters , excluding the null terminator.

When calculating length, include:

  • Recipient number or user code
  • Separator (e.g., colon)
  • Message text
    If the combined total exceeds 79 characters, the message will be cut off.

Tips:

  • Use short, clear messages.
  • Always include the full address + separator in length checks.
  • Set RawBytes appropriately in environments with long or multi-recipient messages.
1 Like