It's for configuring automatically, the prompt detection of the unit. It takes the last line of the terminal and configure the unit for to detect that line like a prompt.
It's not mandatory, but if you want that the unit knows when the process is "Ready" for to accept commands, you should configure the prompt detection.
UnTerminal have the ability for to detect when the prompt appear on the terminal, scanning line by line for to see if it matches with the Prompt configuration.
There are 3 ways for to configure the Prompt detection:
1. Setting manually, the parameters of the detection.
2. Using the method AutoConfigPrompt (like in the Example).
3. Using the event OnChkForPrompt, for to define a custom routine (like RegExp comparing).