 //--------------------------------------------------------------------------------
 //! \file    ED_BMSdiag_CLI.ino
 //! \brief   Functions for the Command Line Interface (CLI) menu system
-//! \date    2017-September
+//! \date    2017-December
 //! \author  MyLab-odyssey
-//! \version 1.0.1
+//! \version 1.0.2
 //--------------------------------------------------------------------------------
 
 //--------------------------------------------------------------------------------

{
  //Serial.print(F("Usable Memory: ")); Serial.println(getFreeRam());
  //Serial.print(F("Menu: ")); Serial.println(myDevice.menu);
  Serial.print(F("Battery VIN: ")); Serial.println(BMS.BattVIN);
  Serial.print(F("NLG6: ")); Serial.println(NLG6.NLG6present);
  Serial.print(F("Logging interval: ")); Serial.print(myDevice.timer, DEC);

}

//--------------------------------------------------------------------------------
//! \brief   Callback to program factory defaults into the EEPROM
//! \param   Argument count (int) and argument-list (char*) from Cmd.h
//--------------------------------------------------------------------------------
void reset_factory_defaults(uint8_t arg_cnt, char **args)
{
  ReadGlobalConfig(&myDevice, true);
}

//--------------------------------------------------------------------------------
//! \brief   Funcion to check if the VIN in the battery compares to myVIN def.
//! \return  report status / if present (boolean)
//--------------------------------------------------------------------------------
boolean test_BattVIN() {
  BMS.fHAL =  DiagCAN.getBatteryVIN(&BMS, false);
  //DiagCAN.getCarVIN(&BMS, true);
  return BMS.fHAL;
}

