       /* Stop any ongoing read sessions when we undeploy */
       req_stop(pMsg, iLen);
       
-      digitalWrite(DEPLOY_STATUS_PIN, HIGH);
+//      digitalWrite(DEPLOY_STATUS_PIN, HIGH);
       sys_setState(INACTIVE);
       Serial.println(" RUNDP:OK;");
     } else {

  }

  delay(90);
  return;
}

int com_recv(char* aBuf) {
  if (Serial.available() > 0) {
    char c = 1;
    while (c >= 0) {
      c = Serial.read();

  Serial.begin(115200);

  pinMode(DEPLOY_STATUS_PIN, OUTPUT);
  digitalWrite(DEPLOY_STATUS_PIN, LOW);

  pinMode(13, OUTPUT);

  _lStartTime = millis();
  sys_setState(INACTIVE);
  //sys_setState(IDLE);
  return;
}

void loop() {
  if (_bFirstActivate) {
    digitalWrite(DEPLOY_STATUS_PIN, HIGH);
    delay(50);
    digitalWrite(DEPLOY_STATUS_PIN, LOW);
    delay(50);
    digitalWrite(DEPLOY_STATUS_PIN, HIGH);
    delay(50);
    digitalWrite(DEPLOY_STATUS_PIN, LOW);
    _bFirstActivate = FALSE;
  }
  
  _iRecvIdx = 0;
  memset(_aRecvBuf, 0, sizeof(_aRecvBuf));

