STATE_EOF
rxbuf->state = (rxbuf->len > 0 ) ? STATE_DATA : STATE_EOF;
rxbuf->state = STATE_EOF;
case STATE_EOF: