Receiving serial data as string and comparing them with other strings