Hi,
WAITSTR is used to wait for a specific string of characters and THEN continue.
In this case it'll sit there and receive charcters until three bytes in a row matches what you've stored in buffer...