Serial commands parsing example