If the App.config file exists in the application directory (//SDMMC/EVDashboard) it will be read in and the values set at application startup time. Notice that the Setup.AutoConnect key will automatically discover bluetooth devices and connect to the first one. This takes a few steps out of startup.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="BMS" value="PAKTRAKR" />
    <add key="Setup.Metric" value="True" />
    <add key="Setup.BatteryType" value="Lithium" />
    <add key="Setup.Simulation" value="False" />
    <add key="Setup.Logging" value="True" />
    <add key="Setup.AutoConnect" value="False" />
  </appSettings>
</configuration>


Use these key values:
  • BMS = PAKTRAKR, HARDYBMS
  • Setup.Metric = True, False
  • Setup.BatteryType = Lithium, AGM, Flooded(6V), Flooded(8V), Flooded(12V), NiCd
  • Setup.Simulation = True, False
  • Setup.Logging = True, False
  • Setup.AutoConnect = True, False

Last edited Mar 22, 2010 at 7:37 PM by johnba, version 7

Comments

johnba Sep 15, 2010 at 4:49 PM 
I believe you need to select the same setting for the battery type in the Paktrakr as you have set in the EV Dashboard config. Paktrakr broadcasts Lithium values 100X (320v for 3.20v) and AGM value 10X (134v for 13.4v).

cbliss Aug 25, 2010 at 9:22 PM 
I was able to connect and read the PakTrakr with the App.cofig and it automatically connects. The Voltages all read as divide by 10. Is there a setting that can be changed to control this? The readings appear to be correct except for being 1/10 of the real value.