 		}
 		if (!ble.checkAscii(inByte))
 		{
-		  Serial.println();
-		  Serial.println("Not Valid Command Format, Please input Hexdecimal digit (i.e. 0 - 9, a - F, or A - F) !!");
-		  clear();
-		  return;
+			Serial.println();
+			Serial.println("Not Valid Command Format, Please input Hexdecimal digit (i.e. 0 - 9, a - F, or A - F) !!");
+			clear();
+			return;
 		}
 		if (inByte != '\r' && inByte != '\n')
 		{

    ; // wait for serial port to connect. Needed for native USB port only
  }
  Serial.println("Send Control Bytes...");
	trans_msg_t.PAYLOAD = (uint8_t *)malloc(sizeof(char[ARDBUFFER+1]));                                                                                
	if(trans_msg_t.PAYLOAD == NULL) 
		Serial.println("Memory Allocation Failed");                                                                                                                    
	
	recv_msg_t.PAYLOAD = (uint8_t *)malloc(sizeof(char[ARDBUFFER+1]));                                                                                
	if(recv_msg_t.PAYLOAD == NULL)                                                                                                                  
  	Serial.println("Memory Allocation Failed"); 
		
	ble.init();		
}

uint8_t Ascii2Hex(uint8_t inbyte)

		delayMicroseconds(5000);
    }
	commandRCV();
}
