├── settings.gradle
├── app
├── .gitignore
├── src
│ ├── main
│ │ ├── assets
│ │ │ ├── ZOE
│ │ │ │ ├── LBC2_Dtcs.csv
│ │ │ │ ├── _Tests.csv
│ │ │ │ ├── Parking-Sonar_Dtcs.csv
│ │ │ │ ├── EPS_Dtcs.csv
│ │ │ │ ├── VFC_Fields.csv
│ │ │ │ ├── _Dtcs.csv
│ │ │ │ ├── TDB_Dtcs.csv
│ │ │ │ ├── HVAC_Dtcs.csv
│ │ │ │ ├── UBP_Dtcs.csv
│ │ │ │ ├── USM_Dtcs.csv
│ │ │ │ ├── _Ecus.csv
│ │ │ │ ├── DCM_Dtcs.csv
│ │ │ │ ├── FFC_Frames.csv
│ │ │ │ ├── BCB-OBC_Dtcs.csv
│ │ │ │ ├── PEB_Dtcs.csv
│ │ │ │ ├── _Frames.csv
│ │ │ │ ├── UCH_Dtcs.csv
│ │ │ │ └── _FramesAlt.csv
│ │ │ ├── Twizy
│ │ │ │ ├── _Frames.csv
│ │ │ │ ├── _Ecus.csv
│ │ │ │ └── _Fields.csv
│ │ │ ├── ZOE_Ph2
│ │ │ │ ├── WCGS_Dtcs.csv
│ │ │ │ ├── MIU_Dtcs.csv
│ │ │ │ ├── HVAC_Tests.csv
│ │ │ │ ├── S-GW3_Dtcs.csv
│ │ │ │ ├── VSP_Dtcs.csv
│ │ │ │ ├── FRRAD_Dtcs.csv
│ │ │ │ ├── HFM_Dtcs.csv
│ │ │ │ ├── APB_Dtcs.csv
│ │ │ │ ├── AAU_Dtcs.csv
│ │ │ │ ├── _Frames.csv
│ │ │ │ ├── FCAM_Dtcs.csv
│ │ │ │ ├── PLC-PLGW_Dtcs.csv
│ │ │ │ ├── IDM_Dtcs.csv
│ │ │ │ ├── Parking-Sonar_Dtcs.csv
│ │ │ │ ├── EPS_Dtcs.csv
│ │ │ │ ├── HVAC_Dtcs.csv
│ │ │ │ ├── INV-ME_Dtcs.csv
│ │ │ │ ├── BCB-OBC_Dtcs.csv
│ │ │ │ ├── E-ACT-EBA_Dtcs.csv
│ │ │ │ ├── _Ecus.csv
│ │ │ │ ├── USM_Dtcs.csv
│ │ │ │ ├── TDB_Dtcs.csv
│ │ │ │ ├── DCM_Dtcs.csv
│ │ │ │ └── UCH_Dtcs.csv
│ │ │ └── Twingo_3_Ph2
│ │ │ │ ├── MIU_Dtcs.csv
│ │ │ │ ├── EPS_Dtcs.csv
│ │ │ │ ├── S-GW3_Dtcs.csv
│ │ │ │ ├── TDB_Dtcs.csv
│ │ │ │ ├── VSP_Dtcs.csv
│ │ │ │ ├── _Frames.csv
│ │ │ │ ├── UCH_Dtcs.csv
│ │ │ │ ├── PEB_Dtcs.csv
│ │ │ │ ├── HVAC_Dtcs.csv
│ │ │ │ ├── _Ecus.csv
│ │ │ │ ├── BCB-OBC_Dtcs.csv
│ │ │ │ └── DCM_Dtcs.csv
│ │ ├── res
│ │ │ ├── values-v21
│ │ │ │ ├── styles.xml
│ │ │ │ └── strings.xml
│ │ │ ├── values-v19
│ │ │ │ └── strings.xml
│ │ │ ├── values-w820dp
│ │ │ │ ├── strings.xml
│ │ │ │ └── dimens.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-hdpi
│ │ │ │ ├── bluetooth_0.png
│ │ │ │ ├── bluetooth_1.png
│ │ │ │ ├── bluetooth_2.png
│ │ │ │ ├── bluetooth_3.png
│ │ │ │ ├── button_auxbat.png
│ │ │ │ ├── button_brake.png
│ │ │ │ ├── button_charge.png
│ │ │ │ ├── button_dash.png
│ │ │ │ ├── button_drive.png
│ │ │ │ ├── button_elm327.png
│ │ │ │ ├── button_leak.png
│ │ │ │ ├── button_range.png
│ │ │ │ ├── button_test.png
│ │ │ │ ├── button_tire.png
│ │ │ │ ├── bluetooth_none.png
│ │ │ │ ├── button_alldata.png
│ │ │ │ ├── button_battery.png
│ │ │ │ ├── button_climate.png
│ │ │ │ ├── button_firmware.png
│ │ │ │ ├── button_speedcam.png
│ │ │ │ ├── button_attention.png
│ │ │ │ ├── button_batterytemp.png
│ │ │ │ ├── button_consumption.png
│ │ │ │ ├── button_lightning.png
│ │ │ │ ├── button_microscope.png
│ │ │ │ ├── button_prediction.png
│ │ │ │ ├── fragment_technical.png
│ │ │ │ ├── button_charginghist.png
│ │ │ │ ├── button_charging_graphs.png
│ │ │ │ └── fragment_experimental.png
│ │ │ ├── drawable-mdpi
│ │ │ │ ├── bluetooth_0.png
│ │ │ │ ├── bluetooth_1.png
│ │ │ │ ├── bluetooth_2.png
│ │ │ │ ├── bluetooth_3.png
│ │ │ │ ├── button_auxbat.png
│ │ │ │ ├── button_brake.png
│ │ │ │ ├── button_charge.png
│ │ │ │ ├── button_dash.png
│ │ │ │ ├── button_drive.png
│ │ │ │ ├── button_elm327.png
│ │ │ │ ├── button_leak.png
│ │ │ │ ├── button_range.png
│ │ │ │ ├── button_test.png
│ │ │ │ ├── button_tire.png
│ │ │ │ ├── bluetooth_none.png
│ │ │ │ ├── button_alldata.png
│ │ │ │ ├── button_battery.png
│ │ │ │ ├── button_climate.png
│ │ │ │ ├── button_firmware.png
│ │ │ │ ├── button_speedcam.png
│ │ │ │ ├── button_attention.png
│ │ │ │ ├── button_batterytemp.png
│ │ │ │ ├── button_consumption.png
│ │ │ │ ├── button_lightning.png
│ │ │ │ ├── button_microscope.png
│ │ │ │ ├── button_prediction.png
│ │ │ │ ├── fragment_technical.png
│ │ │ │ ├── button_charginghist.png
│ │ │ │ ├── button_charging_graphs.png
│ │ │ │ └── fragment_experimental.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ ├── bluetooth_0.png
│ │ │ │ ├── bluetooth_1.png
│ │ │ │ ├── bluetooth_2.png
│ │ │ │ ├── bluetooth_3.png
│ │ │ │ ├── button_brake.png
│ │ │ │ ├── button_dash.png
│ │ │ │ ├── button_drive.png
│ │ │ │ ├── button_leak.png
│ │ │ │ ├── button_range.png
│ │ │ │ ├── button_test.png
│ │ │ │ ├── button_tire.png
│ │ │ │ ├── bluetooth_none.png
│ │ │ │ ├── button_alldata.png
│ │ │ │ ├── button_auxbat.png
│ │ │ │ ├── button_battery.png
│ │ │ │ ├── button_charge.png
│ │ │ │ ├── button_climate.png
│ │ │ │ ├── button_elm327.png
│ │ │ │ ├── button_attention.png
│ │ │ │ ├── button_firmware.png
│ │ │ │ ├── button_lightning.png
│ │ │ │ ├── button_microscope.png
│ │ │ │ ├── button_prediction.png
│ │ │ │ ├── button_speedcam.png
│ │ │ │ ├── button_batterytemp.png
│ │ │ │ ├── button_charginghist.png
│ │ │ │ ├── button_consumption.png
│ │ │ │ ├── fragment_technical.png
│ │ │ │ ├── button_charging_graphs.png
│ │ │ │ └── fragment_experimental.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ ├── bluetooth_0.png
│ │ │ │ ├── bluetooth_1.png
│ │ │ │ ├── bluetooth_2.png
│ │ │ │ ├── bluetooth_3.png
│ │ │ │ ├── button_dash.png
│ │ │ │ ├── button_leak.png
│ │ │ │ ├── button_test.png
│ │ │ │ ├── button_tire.png
│ │ │ │ ├── button_auxbat.png
│ │ │ │ ├── button_brake.png
│ │ │ │ ├── button_charge.png
│ │ │ │ ├── button_drive.png
│ │ │ │ ├── button_elm327.png
│ │ │ │ ├── button_range.png
│ │ │ │ ├── bluetooth_none.png
│ │ │ │ ├── button_alldata.png
│ │ │ │ ├── button_attention.png
│ │ │ │ ├── button_battery.png
│ │ │ │ ├── button_climate.png
│ │ │ │ ├── button_firmware.png
│ │ │ │ ├── button_lightning.png
│ │ │ │ ├── button_speedcam.png
│ │ │ │ ├── button_batterytemp.png
│ │ │ │ ├── button_consumption.png
│ │ │ │ ├── button_microscope.png
│ │ │ │ ├── button_prediction.png
│ │ │ │ ├── fragment_technical.png
│ │ │ │ ├── button_charginghist.png
│ │ │ │ ├── fragment_experimental.png
│ │ │ │ └── button_charging_graphs.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xxxhdpi
│ │ │ │ ├── bluetooth_0.png
│ │ │ │ ├── bluetooth_1.png
│ │ │ │ ├── bluetooth_2.png
│ │ │ │ ├── bluetooth_3.png
│ │ │ │ ├── button_brake.png
│ │ │ │ ├── button_dash.png
│ │ │ │ ├── button_drive.png
│ │ │ │ ├── button_leak.png
│ │ │ │ ├── button_range.png
│ │ │ │ ├── button_test.png
│ │ │ │ ├── button_tire.png
│ │ │ │ ├── bluetooth_none.png
│ │ │ │ ├── button_alldata.png
│ │ │ │ ├── button_auxbat.png
│ │ │ │ ├── button_battery.png
│ │ │ │ ├── button_charge.png
│ │ │ │ ├── button_climate.png
│ │ │ │ ├── button_elm327.png
│ │ │ │ ├── button_firmware.png
│ │ │ │ ├── button_speedcam.png
│ │ │ │ ├── button_attention.png
│ │ │ │ ├── button_lightning.png
│ │ │ │ ├── button_microscope.png
│ │ │ │ ├── button_prediction.png
│ │ │ │ ├── button_batterytemp.png
│ │ │ │ ├── button_charginghist.png
│ │ │ │ ├── button_consumption.png
│ │ │ │ ├── fragment_technical.png
│ │ │ │ ├── button_charging_graphs.png
│ │ │ │ └── fragment_experimental.png
│ │ │ ├── values
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── arrays.xml
│ │ │ │ ├── colors.xml
│ │ │ │ ├── styles.xml
│ │ │ │ └── attr.xml
│ │ │ ├── layout
│ │ │ │ ├── activity_settings.xml
│ │ │ │ ├── animated_menu_item.xml
│ │ │ │ ├── alert_dist_to_dest.xml
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── activity_elm_test.xml
│ │ │ │ ├── activity_widget.xml
│ │ │ │ ├── logger_field.xml
│ │ │ │ ├── spinner_item.xml
│ │ │ │ ├── activity_logging.xml
│ │ │ │ ├── activity_dtc.xml
│ │ │ │ └── activity_alldata.xml
│ │ │ ├── drawable
│ │ │ │ ├── background_splash.xml
│ │ │ │ ├── progressbar_canze_decel_aimright.xml
│ │ │ │ ├── border.xml
│ │ │ │ ├── progressbar_canze_decel_aim.xml
│ │ │ │ ├── circular_progress_bar.xml
│ │ │ │ ├── animation_bluetooth.xml
│ │ │ │ ├── progressbar_canze_green.xml
│ │ │ │ ├── progressbar_canze_red.xml
│ │ │ │ ├── progressbar_canze.xml
│ │ │ │ ├── progressbar_canze_accel.xml
│ │ │ │ └── progressbar_canze_decel.xml
│ │ │ └── menu
│ │ │ │ ├── menu_settings.xml
│ │ │ │ ├── menu_empty.xml
│ │ │ │ ├── menu_driving.xml
│ │ │ │ └── menu_main.xml
│ │ ├── ic_launcher-web.png
│ │ └── java
│ │ │ └── lu
│ │ │ └── fisch
│ │ │ ├── canze
│ │ │ ├── actors
│ │ │ │ ├── StoppableThread.java
│ │ │ │ ├── Dtc.java
│ │ │ │ ├── Test.java
│ │ │ │ ├── AssetLoadHelper.java
│ │ │ │ └── VirtualField.java
│ │ │ ├── adapters
│ │ │ │ └── LoggerField.java
│ │ │ ├── exceptions
│ │ │ │ └── NoDecoderException.java
│ │ │ ├── interfaces
│ │ │ │ ├── DrawSurfaceInterface.java
│ │ │ │ ├── VirtualFieldAction.java
│ │ │ │ ├── FieldListener.java
│ │ │ │ ├── DebugListener.java
│ │ │ │ └── BluetoothEvent.java
│ │ │ ├── classes
│ │ │ │ ├── Activity.java
│ │ │ │ ├── TimePoint.java
│ │ │ │ ├── ColorRange.java
│ │ │ │ ├── ForegroundCheckTask.java
│ │ │ │ ├── Options.java
│ │ │ │ └── Intervals.java
│ │ │ ├── activities
│ │ │ │ ├── ChargingGraphActivity.java
│ │ │ │ ├── CanSeeActivity.java
│ │ │ │ ├── LeakCurrentsActivity.java
│ │ │ │ └── WidgetActivity.java
│ │ │ ├── ui
│ │ │ │ └── AppSectionsPagerAdapter.java
│ │ │ └── database
│ │ │ │ └── CanzeOpenHelper.java
│ │ │ └── awt
│ │ │ ├── Rectangle.java
│ │ │ └── Polygon.java
│ ├── fdroid
│ │ └── java
│ │ │ └── lu
│ │ │ └── fisch
│ │ │ └── canze
│ │ │ └── classes
│ │ │ └── Crashlytics.java
│ └── playstore
│ │ └── java
│ │ └── lu
│ │ └── fisch
│ │ └── canze
│ │ └── classes
│ │ └── Crashlytics.java
├── playstore
│ └── release
│ │ └── output-metadata.json
├── proguard-rules.pro
└── build.gradle
├── NEWS.json
├── fastlane
└── metadata
│ └── android
│ └── en-US
│ ├── short_description.txt
│ ├── images
│ ├── phoneScreenshots
│ │ ├── 1.jpg
│ │ ├── 2.png
│ │ ├── 3.png
│ │ ├── 4.png
│ │ ├── 5.jpg
│ │ ├── 6.jpg
│ │ └── 7.jpg
│ └── tenInchScreenshots
│ │ ├── 1.jpg
│ │ ├── 2.jpg
│ │ ├── 3.png
│ │ ├── 4.png
│ │ ├── 5.png
│ │ ├── 6.png
│ │ ├── 7.png
│ │ └── 8.png
│ └── full_description.txt
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── cleanIcon.php
├── .idea
├── encodings.xml
├── vcs.xml
├── modules.xml
├── gradle.xml
└── jarRepositories.xml
├── .gitignore
├── gradle.properties
└── README.md
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 | app.iml
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/LBC2_Dtcs.csv:
--------------------------------------------------------------------------------
1 | ,
2 |
--------------------------------------------------------------------------------
/NEWS.json:
--------------------------------------------------------------------------------
1 | {"news":"Now ZE50 enabled!", "version":92}
2 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/_Tests.csv:
--------------------------------------------------------------------------------
1 | 104,event information #
2 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 | >
2 |
3 |
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/short_description.txt:
--------------------------------------------------------------------------------
1 | Take a closer look at your ZE car
2 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v19/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v21/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/ic_launcher-web.png
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/bluetooth_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/bluetooth_0.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/bluetooth_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/bluetooth_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/bluetooth_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/bluetooth_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/bluetooth_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/bluetooth_3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_auxbat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_auxbat.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_brake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_brake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_charge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_charge.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_dash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_dash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_drive.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_elm327.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_elm327.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_leak.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_leak.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_range.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_range.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_test.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_tire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_tire.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/bluetooth_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/bluetooth_0.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/bluetooth_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/bluetooth_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/bluetooth_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/bluetooth_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/bluetooth_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/bluetooth_3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_auxbat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_auxbat.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_brake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_brake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_charge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_charge.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_dash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_dash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_drive.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_elm327.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_elm327.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_leak.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_leak.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_range.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_range.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_test.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_tire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_tire.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/bluetooth_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/bluetooth_0.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/bluetooth_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/bluetooth_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/bluetooth_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/bluetooth_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/bluetooth_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/bluetooth_3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_brake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_brake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_dash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_dash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_drive.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_leak.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_leak.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_range.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_range.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_test.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_tire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_tire.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/bluetooth_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/bluetooth_0.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/bluetooth_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/bluetooth_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/bluetooth_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/bluetooth_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/bluetooth_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/bluetooth_3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_dash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_dash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_leak.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_leak.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_test.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_tire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_tire.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/bluetooth_none.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/bluetooth_none.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_alldata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_alldata.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_battery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_battery.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_climate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_climate.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_firmware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_firmware.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_speedcam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_speedcam.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/bluetooth_none.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/bluetooth_none.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_alldata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_alldata.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_battery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_battery.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_climate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_climate.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_firmware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_firmware.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_speedcam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_speedcam.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/bluetooth_none.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/bluetooth_none.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_alldata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_alldata.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_auxbat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_auxbat.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_battery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_battery.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_charge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_charge.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_climate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_climate.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_elm327.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_elm327.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_auxbat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_auxbat.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_brake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_brake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_charge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_charge.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_drive.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_elm327.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_elm327.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_range.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_range.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/bluetooth_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/bluetooth_0.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/bluetooth_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/bluetooth_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/bluetooth_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/bluetooth_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/bluetooth_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/bluetooth_3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_brake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_brake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_dash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_dash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_drive.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_leak.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_leak.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_range.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_range.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_test.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_tire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_tire.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_attention.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_attention.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_batterytemp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_batterytemp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_consumption.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_consumption.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_lightning.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_microscope.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_microscope.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_prediction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_prediction.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/fragment_technical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/fragment_technical.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_attention.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_attention.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_batterytemp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_batterytemp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_consumption.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_consumption.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_lightning.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_microscope.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_microscope.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_prediction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_prediction.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/fragment_technical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/fragment_technical.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_attention.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_attention.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_firmware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_firmware.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_lightning.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_microscope.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_microscope.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_prediction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_prediction.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_speedcam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_speedcam.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/bluetooth_none.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/bluetooth_none.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_alldata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_alldata.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_attention.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_attention.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_battery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_battery.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_climate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_climate.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_firmware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_firmware.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_lightning.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_speedcam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_speedcam.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/bluetooth_none.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/bluetooth_none.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_alldata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_alldata.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_auxbat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_auxbat.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_battery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_battery.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_charge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_charge.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_climate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_climate.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_elm327.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_elm327.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_firmware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_firmware.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_speedcam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_speedcam.png
--------------------------------------------------------------------------------
/app/src/main/assets/Twizy/_Frames.csv:
--------------------------------------------------------------------------------
1 | #Frame ID,interval ZOE, interval FLUKAN, Sending ECU
2 | 763,100,100,TDB
3 | 7BB,100,100,LBC
4 | 793,100,100,BCB-OBC
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_charginghist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_charginghist.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_charginghist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_charginghist.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_batterytemp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_batterytemp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_charginghist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_charginghist.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_consumption.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_consumption.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/fragment_technical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/fragment_technical.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_batterytemp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_batterytemp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_consumption.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_consumption.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_microscope.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_microscope.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_prediction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_prediction.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/fragment_technical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/fragment_technical.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_attention.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_attention.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_lightning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_lightning.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_microscope.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_microscope.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_prediction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_prediction.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/button_charging_graphs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/button_charging_graphs.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/fragment_experimental.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-hdpi/fragment_experimental.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/button_charging_graphs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/button_charging_graphs.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/fragment_experimental.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-mdpi/fragment_experimental.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/button_charging_graphs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/button_charging_graphs.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/fragment_experimental.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xhdpi/fragment_experimental.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_charginghist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_charginghist.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/fragment_experimental.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/fragment_experimental.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_batterytemp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_batterytemp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_charginghist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_charginghist.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_consumption.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_consumption.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/fragment_technical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/fragment_technical.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/button_charging_graphs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxhdpi/button_charging_graphs.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/button_charging_graphs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/button_charging_graphs.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/fragment_experimental.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/app/src/main/res/drawable-xxxhdpi/fragment_experimental.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/5.jpg
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/6.jpg
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/phoneScreenshots/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/7.jpg
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/1.jpg
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/2.jpg
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/3.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/4.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/5.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/6.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/7.png
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/images/tenInchScreenshots/8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fesch/CanZE/HEAD/fastlane/metadata/android/en-US/images/tenInchScreenshots/8.png
--------------------------------------------------------------------------------
/cleanIcon.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/WCGS_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9B00,Bus Signal / Message Failures
2 | 9B01,circuit voltage out of range
3 | 9B02,circuit current out of range
4 | 9B03,internal electronic failure
5 | 9B04,Virgin or incomplete configuration
6 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/MIU_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9F31,Internal Default
2 | 9F33,LVDS default
3 | 9F35,LIN defaut
4 | 9F34,CAN M defaut
5 | 9F37,Power Supply Monitoring
6 | 9F36,I2C touch controler
7 | 9F32,buttons/touchpad
8 | 9F38,Display over temperature
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 8dp
4 | 8dp
5 |
6 |
--------------------------------------------------------------------------------
/app/src/fdroid/java/lu/fisch/canze/classes/Crashlytics.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.classes;
2 |
3 | public class Crashlytics {
4 | public static void logException (Exception e) {
5 | }
6 |
7 | public static void logString (String e) {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Aug 23 14:40:52 CEST 2021
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
7 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/MIU_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9F32,buttons/touchpad
2 | 9F34,CAN M defaut
3 | 9F38,Display over temperature
4 | 9F31,Internal Default
5 | 9F33,LVDS default
6 | 9F37,Power Supply Monitoring
7 | 9F06,Keyboard internal failure
8 | 9307,Backlight default
9 | 9F08,Keyboard CAN communication failure
10 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/EPS_Dtcs.csv:
--------------------------------------------------------------------------------
1 | F003,Battery
2 | D000,CAN_Bus
3 | D001,CAN_WheelSpeed
4 | 5608,EPS_Ecu
5 | 5606,EPS_Motor
6 | 5614,EPS_ThermalProtection
7 | 5604,EPS_TorqueSensor
8 | C129,CAN_ESC_Absent
9 | C418,CAN_VehicleSpeedInvalid
10 | C100,CAN_EngineStatusAbsent
11 | C126,CAN_SWA_Fault
12 | 5617,CAN_RearGear_Fault
13 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/HVAC_Tests.csv:
--------------------------------------------------------------------------------
1 | 08,Bus signal
2 | 11,SC to ground
3 | 12,SC to battery
4 | 13,OC
5 | 14,OC or SC to ground
6 | 15,OC or SC to battery
7 | 16,voltage below threshold
8 | 17,voltage above threshold
9 | 24,bad frequency
10 | 49,internal failure
11 | 93,no operation
12 | 01,General Electrical Failure
13 | 02,General signal failure
14 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/S-GW3_Dtcs.csv:
--------------------------------------------------------------------------------
1 | D325,EMPTY_CALIB
2 | E24F,DTC_MUX_BCM
3 | E248,DTC_MUX_VDC
4 | E24E,DTC_MUX_CLUSTER
5 | E25B,DTC_MUX_USM
6 | A612,TX_CAN2
7 | A613,TX_CAN3
8 | A614,TX_CAN4
9 | A615,TX_CAN5
10 | A616,TX_CAN6
11 | A617,TX_CAN7
12 | A618,TX_CAN8
13 | FD01,APPLI_SW_AREA
14 | FD02,CALIBRATION_AREA
15 | E140,DTC_MUX_ECM
16 | A600,GENERAL
17 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/S-GW3_Dtcs.csv:
--------------------------------------------------------------------------------
1 | D325,EMPTY_CALIB
2 | E24F,DTC_MUX_BCM
3 | E248,DTC_MUX_VDC
4 | E24E,DTC_MUX_CLUSTER
5 | E25B,DTC_MUX_USM
6 | A612,TX_CAN2
7 | A613,TX_CAN3
8 | A614,TX_CAN4
9 | A615,TX_CAN5
10 | A616,TX_CAN6
11 | A617,TX_CAN7
12 | A618,TX_CAN8
13 | FD01,APPLI_SW_AREA
14 | FD02,CALIBRATION_AREA
15 | E140,DTC_MUX_ECM
16 | A600,GENERAL
17 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/TDB_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9402,Fuel gauge monitoring
2 | 9404,Warning Airbag telltale monitoring
3 | 940C,EEPROM monitoring
4 | 9412,External temperature inputs
5 | 9413,Error configuration
6 | C001,Lost CAN communication or BUS OFF
7 | F003,Power supply monitoring
8 | 9420,Alternator Excitation Input
9 | C002,Lost LIN communication or BUS OFF
10 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twizy/_Ecus.csv:
--------------------------------------------------------------------------------
1 | # Descriptive name, Renault ID, Network (s), From ID (used in fields), To ID, Mnemonic, Alias(ses), GetDtc responseID (s), Session required
2 | # If more than one, semicolon separated
3 | Meter Cluster,0,,763,743,TDB,,5902ff,5003,0
4 | Lithium Battery Controller,0,,7BB,79B,LBC,-,5902ff,5003,0
5 | Battery Charger Block,0,,793,792,BCB-OBC,BCB,5902ff,5003,0
6 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_settings.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/background_splash.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 | -
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/Parking-Sonar_Dtcs.csv:
--------------------------------------------------------------------------------
1 | A728,Led
2 | A725,RearBuzzer
3 | A72D,FrontBuzzer
4 | A72C,FrontOuterRightSensor
5 | A729,FrontOuterLeftSensor
6 | A72B,FrontInnerRightSensor
7 | A72A,FrontInnerLeftSensor
8 | A724,ECU
9 | A723,RearOuterRightSensor
10 | A720,RearOuterLeftSensor
11 | A722,RearInnerRightSensor
12 | A721,RearInnerLeftSensor
13 | A726,RearCenterSensor
14 | A727,FrontCenterSensor
15 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/VSP_Dtcs.csv:
--------------------------------------------------------------------------------
1 | C075,CAN_COMM_CIRCUIT
2 | A860,CONTROL UNIT(CAN) *2
3 | A861,DSC_FAILURE
4 | E141,Communication Failure of ATCU ECU
5 | E14F,Communication Failure of BCM ECU
6 | E148,Communication Failure of VDC ECU
7 | E143,Communication Failure of HEVC ECU
8 | E140,Communication Failure of ECM ECU
9 | E14E,Communication Failure of METER ECU
10 | E15B,Communication Failure of USM ECU
11 | A862,ECU Missing Configuration
12 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/VSP_Dtcs.csv:
--------------------------------------------------------------------------------
1 | C075,CAN_COMM_CIRCUIT
2 | A860,CONTROL UNIT(CAN) *2
3 | A861,DSC_FAILURE
4 | E141,Communication Failure of ATCU ECU
5 | E14F,Communication Failure of BCM ECU
6 | E148,Communication Failure of VDC ECU
7 | E143,Communication Failure of HEVC ECU
8 | E140,Communication Failure of ECM ECU
9 | E14E,Communication Failure of METER ECU
10 | E15B,Communication Failure of USM ECU
11 | A862,ECU Missing Configuration
12 |
--------------------------------------------------------------------------------
/app/src/playstore/java/lu/fisch/canze/classes/Crashlytics.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.classes;
2 |
3 | import com.google.firebase.crashlytics.FirebaseCrashlytics;
4 |
5 | public class Crashlytics {
6 | public static void logException (Exception e) {
7 | FirebaseCrashlytics.getInstance().recordException(e);
8 | }
9 |
10 | public static void logString (String e) {
11 | FirebaseCrashlytics.getInstance().log(e);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/EPS_Dtcs.csv:
--------------------------------------------------------------------------------
1 | D000,CAN bus fault (EPS mute)
2 | C100,CAN Engine Status fault
3 | 5605,EPS fault - Angle sensor
4 | 5608,EPS fault - ECU
5 | 5606,EPS fault - Motor
6 | 5604,EPS fault - Torque Sensor
7 | 5614,EPS Thermal Protection
8 | 5613,IGNITION signal fault
9 | 5612,No Angle calibration
10 | F003,Battery voltage fault
11 | C129,CAN ABS Absent fault
12 | C418,CAN ABS Invalid data fault
13 | D001,CAN wheelspeed fault
14 | 5603,EPS fault - Adaptative straight ahead offset
15 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/VFC_Fields.csv:
--------------------------------------------------------------------------------
1 | # SID (defaults to ID.startBit.[responseId]), ID (hex), startBit, endBit, resolution, offset (aplied BEFORE resolution multiplication), decimals, unit, requestID (hex string), responseID (hex string), options (hex, see MainActivity for definitions), optional name, optional list
2 | #
3 | # All fields are actually loaded by code, but the file needs to be here to avoid an error.
4 | #
5 | # VFC is not displayed in the DTC activity so doe not require Tests and Dtcs
6 | #
--------------------------------------------------------------------------------
/app/playstore/release/output-metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "artifactType": {
4 | "type": "APK",
5 | "kind": "Directory"
6 | },
7 | "applicationId": "lu.fisch.canze",
8 | "variantName": "playstoreRelease",
9 | "elements": [
10 | {
11 | "type": "SINGLE",
12 | "filters": [],
13 | "attributes": [],
14 | "versionCode": 95,
15 | "versionName": "1.63",
16 | "outputFile": "app-playstore-release.apk"
17 | }
18 | ],
19 | "elementType": "File"
20 | }
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_settings.xml:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_empty.xml:
--------------------------------------------------------------------------------
1 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze_decel_aimright.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 | -
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze_decel_aim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/FRRAD_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 6580,ECU_InternalFailure
2 | 6581,Radar Misalignement
3 | 6582,Sensor Blindness
4 | 6583,Crash detection
5 | 6587,Power Voltage Disturbance
6 | 6589,ATCU Error
7 | 658A,ACU Error
8 | 658B,HEVC Error
9 | 658C,SBW Error
10 | 658D,IDM Error
11 | 658E,VDC Error
12 | 658F,USM Error
13 | 6590,METER Error
14 | 6591,BCM Error
15 | 6592,ECM Error
16 | 6593,4WS Error
17 | 6594,IVI Error
18 | 6595,ADAS_IC Error
19 | 6596,Fr_Camera Error
20 | 65A0,AEB_DegradedMode
21 | 65A1,DW_DegradedMode
22 | E14F,Lost Communication BCM_V1
23 | E26B,Lost Communication Fr_Camera_ITS
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/animated_menu_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/actors/StoppableThread.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.actors;
2 |
3 | /**
4 | * Created by robertfisch on 30.12.2016.
5 | */
6 |
7 | public class StoppableThread extends Thread {
8 |
9 | private boolean stopped = false;
10 |
11 | public StoppableThread(Runnable runnable) {
12 | super(runnable);
13 | }
14 |
15 | public void start()
16 | {
17 | stopped=false;
18 | super.start();
19 | }
20 |
21 | public void tryToStop()
22 | {
23 | stopped=true;
24 | }
25 |
26 | public boolean isStopped()
27 | {
28 | return stopped;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/_Frames.csv:
--------------------------------------------------------------------------------
1 | #Frame ID,interval ZOE, interval FLUKAN, Sending ECU
2 | 767,100,100,Navigation-UCC-ITM
3 | 7A5,100,100,
4 | 765,100,100,UCH
5 | 734,100,100,MIU
6 | 7BB,100,100,
7 | 18DAF1D2,100,100,S-GW3
8 | 764,100,100,HVAC
9 | 763,100,100,TDB
10 | 7E9,100,100,
11 | 76D,100,100,
12 | 7E8,100,100,
13 | 7EC,100,100,
14 | 793,100,100,BCB-OBC
15 | 7DD,100,100,
16 | 732,100,100,
17 | 772,100,100,
18 | 7D7,100,100,
19 | 739,100,100,
20 | 7DA,100,100,DCM
21 | 760,100,100,
22 | 761,100,100,VSP
23 | 7AD,100,100,
24 | 762,100,100,EPS
25 | 77D,100,100,
26 | 76B,100,100,
27 | 77E,100,100,PEB
28 | 7C8,100,100,
29 | 7BD,100,100,
30 | 7A2,100,100,
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/alert_dist_to_dest.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 061263,BATTERY CHARGE CIRCUIT #
2 | 066263,BATTERY CHARGE CIRCUIT #
3 | 064913,BATTERY CHARGE CIRCUIT #
4 | 064764,BATTERY CHARGE CIRCUIT #
5 | C10000,EVC ABSENT MULTIPLEX SIGNAL SENT #
6 | 518196,ESP MULTIPLEX INFORMATION PLAUSIBILITY #
7 | C12200,NO ABS/ESP MULTIPLEX SIGNAL #
8 | 518296,EVC MULTIPLEX INFORMATION PLAUSIBILITY #
9 | 508E55,UBP SOLENOID VALVE #
10 | C07300,MULTIPLEXED NETWORK #
11 | C00100,NO MULTIPLEX SIGNAL #
12 | 921215,LEFT-HAND DIPPED HEADLIGHT CIRCUIT #
13 | 921315,RIGHT-HAND DIPPED HEADLIGHT CIRCUIT #
14 | AE01F0,COMMUNICATION PROTOCOL ERROR #
15 | 041168,CAN COMMUNICATION #
16 | 1525F3,CONSISTENT MULTIPLEX SIGNALS FOR CC/SL #
17 | 060198,ELECTRIC MOTOR PERFORMANCE"
18 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circular_progress_bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/HFM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | A059,APC_STATUS_BCM
2 | A060,APC_STATUS_USM
3 | A070,BCM_APV_CODE
4 | E14F,CAN_BCM
5 | E140,CAN_ECM
6 | E151,CAN_ESCL
7 | E14E,CAN_METER
8 | E15B,CAN_USM
9 | E148,CAN_VDC
10 | A033,DONGLE
11 | A046,EEPROM
12 | A052,ESCL_FUNCTION
13 | A056,ESCL_HFM_RELAY
14 | A058,ESCL_LOCK_SEQUENCE
15 | A051,ESCL_MODULE
16 | A054,ESCL_SENSOR_LINE
17 | A050,ESCL_SUPPLY
18 | A057,ESCL_UNLOCK_SEQUENCE
19 | A086,IKEY_BACKDOOR_SWITCH
20 | A081,IKEY_FL_SWITCH
21 | A083,IKEY_FR_SWITCH
22 | A084,IKEY_RL_SWITCH
23 | A085,IKEY_RR_SWITCH
24 | A03C,INT_ANTENNA
25 | A090,KAZASHI
26 | A03E,LEFT_ANTENNA
27 | A041,LF3_ANTENNA
28 | A053,NOT_APC_LINE
29 | A010,PWR_ECU
30 | A040,REAR_ANTENNA
31 | A002,REGISTERS
32 | A03F,RIGHT_ANTENNA
33 | A001,ROM
34 | A080,START_BUTTON
35 | A03D,TRUNK_ANTENNA
36 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/APB_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 5012,FC_WHEELSPEED_FAULT
2 | 5033,FC_VOLTAGE
3 | 5003,FC_ELECTRONIC_ECU
4 | 5001,FC_ACTUATOR_LEFT
5 | 5000,FC_ACTUATOR_RIGHT
6 | 5030,FC_ASSEMBLY_CHECK_NOT_DONE
7 | 5032,FC_MAX_BRAKING
8 | 5009,FC_BRAKE_STATE_UNKNOWN
9 | 5002,FC_EPB_SWITCH
10 | 5004,FC_BRAKE_INCOHERENT
11 | 5013,FC_INTERSYSTEM_VDC
12 | 5014,FC_INTERSYSTEM_ECM
13 | 5015,FC_INTERSYSTEM_BCM
14 | 5016,FC_INTERSYSTEM_ATCU
15 | 5017,FC_INTERSYSTEM_USM
16 | 5018,FC_INTERSYSTEM_METER
17 | 5019,FC_INTERSYSTEM_IDM
18 | 5023,FC_INTERSYSTEM_CAN
19 | E140,Lost Communication with ECM
20 | E14E,Lost Communication with METER
21 | E148,Lost Communication with VDC
22 | E141,Lost Communication with ATCU
23 | E14F,Lost Communication with BCM
24 | E15B,Lost Communication with USM
25 | E176,Lost Communication with IDM
26 | 5006,FC_UNKNOWN_DTC
27 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/TDB_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 940D,Paramètre CAN produit Vitesse Affichée
2 | 934C,Surveillance du controleur CAN-V
3 | 9309,Surveillance de la sortie SYS-ON
4 | 934D,Surveillance du controleur CAN-M
5 | 9408,Surv Com Témoin Ceinture
6 | 9404,Surv Témoin Défaut Airbag
7 | 940C,Surv E2prom
8 | F003,Surv Alimentation
9 | C452,ValidAirbagInformation = 0 pendant 60 s
10 | C418,Surveillance VehicleSpeed Invalide
11 | C127,Perte trames TPMS (SSPP)_Id 0x673
12 | C134,Perte trames TCU_ Id 0x634
13 | C131,Perte trames EPS_ Id 0x62C
14 | C133,Perte trames UBP_ Id 0x66D
15 | C132,Perte trames Clim_ Id 0x668
16 | C159,Perte trames UPA_ Id 0x5E9
17 | C151,Perte trames Airbag_Id 0x653
18 | C140,Perte trames BCM_Id 0x35C
19 | C129,Perte trames Brake (ABS)_Id 0x5D7
20 | C111,Perte trames USM_Id 0x212
21 | C100,Perte trames SCH (EVC) _ Id 0x652
22 | 9412,sonde temperature
23 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/AAU_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 930B,Rear right loudspeaker
2 | 930D,Front right loudspeaker
3 | 930F,Front left loudspeaker
4 | 9311,Rear left loudspeaker
5 | 9320,Rear right tweeter
6 | 9321,Front right tweeter
7 | 9322,Front left tweeter
8 | 9323,Rear left tweeter
9 | 9370,Bass Box
10 | 9317,Subwoofers
11 | 9306,Surrounds (Twidlers)
12 | 9318,Centerfill Speaker
13 | 93EB,External ANC Microphone Supply 1
14 | 93EC,External ANC Microphone Supply 2
15 | 93ED,External ANC Microphone Supply 3
16 | 9342,ECU
17 | 9345,Temperature
18 | 9341,Virgin Or incomplete configuration
19 | E14F,BCM communication
20 | E140,ECM communication
21 | E16B,FRCAMERA communication
22 | E143,HEVC communication
23 | E165,SONAR communication
24 | E154,A-IVI communication
25 | E14E,METER communication
26 | E16D,TCU communication
27 | E15B,USM communication
28 | E148,VDC communication
29 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/animation_bluetooth.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
12 |
15 |
18 |
21 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_elm_test.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze_green.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
11 |
12 |
13 | -
14 |
15 |
16 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
11 |
12 |
13 | -
14 |
15 |
16 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # old manual entries
2 | /.idea/workspace.xml
3 | /.idea/libraries
4 | /.idea/misc.xml
5 | /.idea/modules.xml
6 | /.idea/usage.statistics.xml
7 | /.idea/tasks.xml
8 | /.idea/assetWizardSettings.xml
9 | /.idea/caches/
10 | /projectFilesBackup/
11 | gradle.xml
12 | /app/google-services.json
13 |
14 | # newer standard best practice entries
15 |
16 | #built application files
17 | *.apk
18 | *.ap_
19 |
20 | # files for the dex VM
21 | *.dex
22 |
23 | # Java class files
24 | *.class
25 |
26 | # generated files
27 | bin/
28 | gen/
29 |
30 | # Local configuration file (sdk path, etc)
31 | local.properties
32 |
33 | # Windows thumbnail db
34 | Thumbs.db
35 |
36 | # OSX files
37 | .DS_Store
38 |
39 | # Android Studio
40 | *.iml
41 |
42 | .gradle
43 | build/
44 | .navigation
45 | captures/
46 | output.json
47 |
48 | #NDK
49 | obj/
50 | .externalNativeBuild
51 |
52 | # Keystores
53 | *.jks
54 |
55 | compiler.xml
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
11 |
12 |
13 | -
14 |
15 |
16 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/adapters/LoggerField.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.adapters;
2 |
3 | import lu.fisch.canze.actors.Field;
4 |
5 | /**
6 | * Created by robert.fisch on 16.03.17.
7 | */
8 |
9 | public class LoggerField {
10 | public final Field field;
11 | public final int interval;
12 |
13 | public LoggerField(Field field, int interval) {
14 | this.field = field;
15 | this.interval = interval;
16 | }
17 |
18 | @Override
19 | public boolean equals(Object o) {
20 | if (this == o) return true;
21 | if (!(o instanceof LoggerField)) return false;
22 |
23 | LoggerField that = (LoggerField) o;
24 |
25 | //if (interval != that.interval) return false;
26 | return field != null ? field.equals(that.field) : that.field == null;
27 |
28 | }
29 |
30 | @Override
31 | public int hashCode() {
32 | return field != null ? field.hashCode() : 0;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze_accel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
11 |
12 |
13 | -
14 |
15 |
16 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/_Frames.csv:
--------------------------------------------------------------------------------
1 | #Frame ID,interval ZOE, interval FLUKAN, Sending ECU
2 | # For ZE50, we do not use free frames anymore
3 | # The container frames for ISOTP, in essence just one frame per ECU
4 | # 11 bit systems
5 | 700,100,100,IDM
6 | 734,100,100,MIU
7 | 735,100,100,FRRAD
8 | 761,100,100,VSP
9 | 762,100,100,EPS
10 | 763,100,100,TDB
11 | 764,100,100,HVAC
12 | 765,100,100,UCH
13 | 767,100,100,Navigation-UCC-ITM
14 | 76d,100,100,USM
15 | 76e,100,100,Parking-Sonar
16 | 772,100,100,AIRBAG-SRS
17 | 775,100,100,APB
18 | 7b9,100,100,HFM
19 | 7a2,100,100,AAU
20 | 7ad,100,100,WCGS
21 | 7c8,100,100,PLC-PLGW
22 | 7da,100,100,DCM
23 | 7dd,100,100,FCAM
24 | # 0x800 - 0x8ff is reserved for CanZE's virtuals
25 | 800,100,100,VFC
26 | # 29 bit systems
27 | 18daf12d,100,100,ABS-VDC
28 | 18daf1de,100,100,BCB-OBC
29 | 18daf1e2,100,100,E-ACT-EBA
30 | 18daf1df,100,100,INV-ME
31 | 18daf1db,100,100,LBC
32 | 18daf1dc,100,100,LBC2
33 | 18daf1d2,100,100,S-GW3
34 | 18daf1da,100,100,EVC-HCM-VCM
35 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_canze_decel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
11 |
12 |
13 | -
14 |
15 |
16 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/values/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - ELM327
5 | - CanSee
6 | - Http
7 |
8 |
9 | - ELM327
10 | - CanSee
11 | - Http
12 |
13 |
14 |
15 |
16 | - @string/label_ThemeFollowSystem
17 | - @string/label_ThemeDark
18 | - @string/label_ThemeLight
19 |
20 |
21 |
22 |
23 | - @string/label_ToastLevelNone
24 | - @string/label_ToastLevelElm
25 | - @string/label_ToastLevelElmCar
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #112273
4 | #303F9F
5 | #3d82dc
6 |
7 |
8 | #000080
9 |
10 |
11 | #ff00ff00
12 | #ff009900
13 |
14 |
15 | #ffff0000
16 | #8B0000
17 |
18 |
19 |
20 | #1E90FF
21 | #9400D3
22 |
23 |
24 | #ff30ff30
25 | #ffff3030
26 |
27 | #e0a000
28 |
29 | #808080
30 |
31 |
32 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/HVAC_Dtcs.csv:
--------------------------------------------------------------------------------
1 | F003,VBatt
2 | 9101,InCarTemp
3 | 9104,EvapTemp
4 | 9105,ECU
5 | 9160,RecyActr
6 | 9171,RightMixActr
7 | 9162,FeetVentActr
8 | 910B,AQS_Reductor
9 | 911B,AQS_Oxydant
10 | 912B,AQS_Supply
11 | 913B,AQS_PreHeating
12 | 9106,LeftSolarSensor
13 | 9103,HumiditySensor
14 | 9150,LIN_Bus
15 | 9165,AQM_FragranceMotor
16 | 9166,AQM_Ionizer
17 | 9175,AQM_FragranceBlower
18 | 9151,LIN2_Bus
19 | 9176,AQM_IonizerMode
20 | 91A7,FrontControlPanel
21 | 9114,HotSourceTemp
22 | 9113,BatteryEvapTemp
23 | 9109,BlowerControl
24 | 9184,RelayOutput
25 | 9133,CompValve
26 | 9185,BatteryBlowerSystem1
27 | 9186,BatteryBlowerSystem2
28 | 9187,CabinCoolingElectroVanne
29 | 9188,BatteryCoolingElectroVanne
30 | 91D4,HeatPumpECU
31 | 91D7,HeatPumpSensor1
32 | 91D8,HeatPumpSensor2
33 | 91D5,HeatPumpValve1
34 | 91D6,HeatPumpValve2
35 | 9161,DistMildActr
36 | 9182,BatteryCoolingActr
37 | 9183,BatteryBlowerControl
38 | 91BD,SpareOutput1
39 | 91CB,SpareInput1
40 | 91CC,SpareInput2
41 | 9170,LeftMixActr
42 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/exceptions/NoDecoderException.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.exceptions;
23 |
24 | public class NoDecoderException extends Exception {
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/interfaces/DrawSurfaceInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.interfaces;
23 |
24 | public interface DrawSurfaceInterface {
25 | void repaint();
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_widget.xml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
14 |
19 |
20 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/interfaces/VirtualFieldAction.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.interfaces;
23 |
24 | import java.util.HashMap;
25 | import lu.fisch.canze.actors.Field;
26 |
27 | public interface VirtualFieldAction {
28 | double updateValue(HashMap dependantFields);
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/logger_field.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
23 |
24 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/interfaces/FieldListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 |
23 | /*
24 | * This class represents a stack listener.
25 | */
26 | package lu.fisch.canze.interfaces;
27 |
28 | import lu.fisch.canze.actors.Field;
29 |
30 | public interface FieldListener {
31 | void onFieldUpdateEvent(Field field);
32 | }
33 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 | android.defaults.buildfeatures.buildconfig=true
15 | android.enableJetifier=true
16 | android.nonFinalResIds=false
17 | android.nonTransitiveRClass=false
18 | android.useAndroidX=true
19 | org.gradle.jvmargs=-Xmx1536M
20 |
21 | # When configured, Gradle will run in incubating parallel mode.
22 | # This option should only be used with decoupled projects. More details, visit
23 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
24 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/interfaces/DebugListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 |
23 | /*
24 | * This class represents a stack listener.
25 | */
26 |
27 | package lu.fisch.canze.interfaces;
28 |
29 | public interface DebugListener {
30 | void dropDebugMessage (String msg);
31 | void appendDebugMessage (String msg);
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/classes/Activity.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.classes;
2 |
3 | import lu.fisch.canze.activities.MainActivity;
4 |
5 | public class Activity {
6 | private Class classOf;
7 | private int drawable;
8 | private String title;
9 | private int id;
10 |
11 | /*public Activity(String title, int drawable, Class classOf) {
12 | this.classOf = classOf;
13 | this.drawable = drawable;
14 | this.title = title;
15 | }*/
16 |
17 | public Activity(int id, int titleId, int drawable, Class classOf) {
18 | this.classOf = classOf;
19 | this.drawable = drawable;
20 | this.title = MainActivity.getStringSingle(titleId).toUpperCase();
21 | this.id = id;
22 | }
23 |
24 | public Class getClassOf() {
25 | return classOf;
26 | }
27 |
28 | public int getDrawable() {
29 | return drawable;
30 | }
31 |
32 | public String getTitle() {
33 | return title;
34 | }
35 |
36 | public int getId() {
37 | return id;
38 | }
39 |
40 | @Override
41 | public String toString()
42 | {
43 | return title;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_driving.xml:
--------------------------------------------------------------------------------
1 |
2 |
36 |
--------------------------------------------------------------------------------
/.idea/jarRepositories.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/UCH_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9562,AUTO_CLUTCHSTART_SW
2 | 923A,BATTERY
3 | 9266,BATTERY_CURRENT_SENSOR
4 | 9570,BCM_APV_CODE
5 | 9561,CLUTCH_END_SW
6 | 9560,CLUTCHSTART_SW
7 | 9530,DI_LEFT
8 | 9528,DI_LEFT_LED
9 | 9531,DI_RIGHT
10 | 9529,DI_RIGHT_LED
11 | 9568,DONGLE_DEVICE
12 | 9505,DRIVER_DOOR
13 | 9582,EEPROM
14 | 9504,EXTERNAL_ANTENNA
15 | A0BD,I_CURRENT_SENSOR
16 | A0BE,I_TEMP_SENSOR
17 | 9571,INFO_STOP
18 | 9572,INFO_STOP_AEBS
19 | 95F1,LIN_DEVICE
20 | 920F,NETWORK_14V
21 | 9519,NEUTRAL_CONTACT_SW
22 | 9540,PWM_ROOMLAMP_1
23 | 9510,PWR_BPT
24 | 9514,PWR_DOORLOCK
25 | 9513,PWR_FLASHERS
26 | 9511,PWR_FR_WIPER
27 | 9512,PWR_RR_WIPER
28 | 95B2,REAR_GEAR_SW
29 | 95A0,REAR_WIPER
30 | 9502,REGISTERS
31 | 9501,ROM
32 | 9520,STARTER_RL
33 | 9563,STOP_PEDAL_DFT_11
34 | 9564,STOP_PEDAL_DFT_12
35 | 9566,STOP_PEDAL_SW1
36 | 9565,STOP_PEDAL_SW2
37 | 9533,TAILGATE_COHERENT
38 | 9532,TGATE_OPENER
39 | 5A80,TPMS_Function
40 | 5A86,TPMS_RECEIVER
41 | 5A60,TPMS_UNDER_INFLATED
42 | 5A82,TPMS_VALVE_1
43 | 5A83,TPMS_VALVE_2
44 | 5A84,TPMS_VALVE_3
45 | 5A85,TPMS_VALVE_4
46 | 5A72,TPMS_WHEEL_1
47 | 5A73,TPMS_WHEEL_2
48 | 5A74,TPMS_WHEEL_3
49 | 5A75,TPMS_WHEEL_4
50 | 9567,TRACKER_DEVICE
51 | 95F0,TRANSPONDER
52 | 9550,WL_CENTAL_CLOSE
53 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/interfaces/BluetoothEvent.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.interfaces;
23 |
24 | import android.bluetooth.BluetoothSocket;
25 |
26 | public interface BluetoothEvent {
27 | void onBeforeConnect();
28 | void onAfterConnect(BluetoothSocket bluetoothSocket);
29 | void onBeforeDisconnect(BluetoothSocket bluetoothSocket);
30 | void onAfterDisconnect();
31 | }
32 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/UBP_Dtcs.csv:
--------------------------------------------------------------------------------
1 | C140,Lost Communication with BCM
2 | C422,Invalid Data Received From BCM
3 | F003,Supply voltage
4 | 4051,Steering wheel angle sensor
5 | 5154,Invalid wheel circumference parameter
6 | 5177,Important function deactivated
7 | C001,Vehicle CAN - no transmission
8 | C073,Vehicle CAN - Busoff
9 | C131,Lost Communication with EPS
10 | C420,Invalid Data Received From EPS
11 | C416,Invalid Data Received From ESC
12 | C122,Lost Communication with ESC
13 | 5084,UBP EV inlet 1 switched BIVs
14 | 5085,UBP EV inlet 2 controlled BIVc1
15 | 5086,UBP EV inlet 3 controlled BIVc2
16 | 5087,UBP EV outlet 1 switched BOVs
17 | 5088,UBP EV outlet 2 controlled BOVc1
18 | 5089,UBP EV outlet 3 controlled BOVc2
19 | 508A,UBP Pressure sensor Sense piston PsSP
20 | 508B,UBP Pressure sensor Master Cylinder PsBP
21 | 508C,UBP Pressure sensor Accumulator PsAcc
22 | 508D,UBP Pump motor control
23 | 5050,UBP Internal failure
24 | 5081,UBP EV Simulation1 SSV1
25 | 5082,UBP EV Simulation2 SSV2
26 | 5083,UBP EV by-pass BSV
27 | 5151,Invalid UBP calibration parameter
28 | 5182,EVC signal plausibility
29 | C100,Lost Communication with EVC
30 | C401,Invalid Data Received From EVC
31 | 5181,ESC signal plausibility
32 | 4042,UBP Brake pedal position sensor
33 | 508E,UBP EV offset learning calibration parameter
34 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/FCAM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 6507,LDW switch
2 | 6502,Incomplete configuration
3 | E14F,BCM_V1_Lost_Communication
4 | E259,EPS_IC_Lost_Communication
5 | E159,EPS_V1_Lost_Communication
6 | E140,ECM_V1_Lost_Communication
7 | E148,VDC_V1_Lost_Communication
8 | E14E,METER_V1_Lost_Communication
9 | E104,4WS_CH_Lost_Communication
10 | E152,ADAS_IC_Lost_Communication
11 | E15B,USM_V1_Lost_Communication
12 | E176,IDM_IC_Lost_Communication
13 | E16E,BSWR_Lost_Communication
14 | 650A,BCM_Error
15 | 650B,EPS_Error
16 | 650C,ECM_Error
17 | 650D,VDC_Error
18 | 650E,METER_Error
19 | 650F,4WS_Error
20 | 6510,RADIO_Error
21 | 6511,ADAS_Error
22 | 6512,ATCU_Error
23 | 6513,IDM_Error
24 | 6514,RADAR_Error
25 | 6515,USM_Error
26 | 6518,BSWR_Error
27 | 6519,IC_CAN_ComFailure
28 | 651A,ITS_CAN_ComFailure
29 | E150,Airbag_Lost_Communication
30 | 6516,Airbag_Error
31 | 6517,BSWL_Error
32 | 6501,ECU_Overheating
33 | 6570,ECU_Overheating - DEV
34 | 6571,Camera Misalignement - DEV
35 | 6572,Sensor_Blockage - DEV
36 | 6504,Sensor_Blockage
37 | E16C,BSWL_Lost_Communication
38 | 6576,Oily Windshield - DEV
39 | 6573,Weather_Disturbances - DEV
40 | 6574,Out Of Focus
41 | 6575,Out of Focus - DEV
42 | 6500,ECU_InternalFailure
43 | 6503,Camera misaligned or never aligned
44 | 6508,Power Voltage Disturbances
45 | E141,ATCU_V1_Lost_Communication
46 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/spinner_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/PLC-PLGW_Dtcs.csv:
--------------------------------------------------------------------------------
1 | C079,Bus Off
2 | E14F,DiagMux BCM lost communication
3 | E143,DiagMux HEVC lost communication
4 | AB01,Charging process HEVC lost communication
5 | AB03,Internal failure
6 | AB07,FAILED_CertificateExpired
7 | AB08,FAILED_ContractCanceled
8 | AB09,FAILED_CertificateRevoked
9 | AB0A,FAILED_CertificateNotAllowedAtThisEVSE
10 | AB0B,FAILED_NoCertificate Available
11 | AB0C,FAILED_WrongEnergyTransferMode
12 | AB0D,FAILED_WrongChargeParameter
13 | AB0E,FAILED_ChargingProfileInvalid
14 | AB0F,FAILED_ServiceIDInvalid
15 | AB10,FAILED_UnknownSession
16 | AB11,FAILED_ServiceSelectionInvalid
17 | AB12,FAILED_TariffSelectionInvalid
18 | AB13,FAILED_PaymentSelectionInvalid
19 | AB14,FAILED_CertChainError
20 | AB15,FAILED_ChallengeInvalid
21 | AB17,FAILED_NoChargeServiceSelected
22 | AB18,FAILED_SequenceError
23 | AB19,FAILED_SignatureError
24 | AB1A,FAILED_PowerDeliveryNotApplied
25 | AB1B,FAILED_ContactorError
26 | AB1C,FAILED
27 | AB1D,Loss of communication with EVSE
28 | AB1E,The charging process was aborted by the charging station.
29 | AB20,Pilot Line OC (can be merged with SC+ or SC-)
30 | AB21,Protect Earth OC (can be merged with SC+ or SC-)
31 | AB02,Charging process BCM lost communication
32 | AB05,Voltage
33 | AB04,Missing configuration
34 | AB16,FAILED_MeteringSignatureNotValid
35 | AB1F,Handshake failure
36 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/actors/Dtc.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.actors;
23 |
24 | /**
25 | * ECU
26 | */
27 | public class Dtc {
28 |
29 | private final String id;
30 | private final String description;
31 |
32 | public Dtc(String id, String description) {
33 | this.id = id;
34 | this.description = description;
35 | }
36 |
37 | public String getDescription() {
38 | return description;
39 | }
40 |
41 | public String getId() {
42 | return id;
43 | }
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/actors/Test.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.actors;
23 |
24 | /**
25 | * ECU
26 | */
27 | public class Test {
28 |
29 | private final String id;
30 | private final String description;
31 |
32 | public Test(String id, String description) {
33 | this.id = id;
34 | this.description = description;
35 | }
36 |
37 | public String getDescription() {
38 | return description;
39 | }
40 |
41 | public String getId() {
42 | return id;
43 | }
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/USM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 920E,ECU failure
2 | 920F,BSS
3 | 9212,Low beam LH
4 | 9216,AC clutch
5 | 9217,FR wiper
6 | 921C,H/L Washer
7 | 921D,Ignition Not column lock
8 | 9223,Ignition Reverse SW
9 | 9226,Battery ABS valves
10 | 9211,USM supply Batt Pre BDU
11 | 9224,Ignition EPS RWD
12 | 9227,Battery AT GEAR LPG
13 | 922C,Oil Pressure SW
14 | 922D,Auto Stop Wiper
15 | 922E,Neutral SW
16 | 922F,Reverse SW
17 | 9230,Starter
18 | 9235,Batt 1 Pos BDU
19 | 9236,Batt 2 Pos BDU
20 | 9237,Ac Valve
21 | 9213,Low beam RH
22 | 9222,Ignition LCS Cabin
23 | 9221,Ignition AT LPG
24 | 9220,Ignition AIRBAG Safetyline
25 | 921E,Ignition ECM
26 | 9229,Batt Motor FAN LO
27 | 9238,LO_EXTERNAL_FAN_RELAY_1
28 | 9240,LO_EXTERNAL_FAN_RELAY_2
29 | 9233,LO_EXTERNAL_FAN_RELAY_3
30 | 921F,Ignition
31 | 923A,BATTERY
32 | 9239,BDU
33 | 922A,PCS BDU
34 | 9260,MASTERVAC
35 | 9261,DRIVERSEAT
36 | 9262,BUTTON_SW
37 | 9263,VS1
38 | 9264,VS2
39 | 9265,LED
40 | 9266,BCS
41 | 9268,ESM
42 | 9231,O_LIGHT_DTRL_RH
43 | 9241,O_LIGHT_DTRL_LH
44 | 9256,O_LIGHT_FR_FOG_LAMPS_RH
45 | 921A,O_LIGHT_FR_FOG_LAMPS_LH
46 | 9255,SEC_SIGNAL_GND
47 | 9252,SIGNAL_GND
48 | 9214,O_LIGHT_POSITION_REAR_LH
49 | 9215,O_LIGHT_POSITION_FR_RH_LH
50 | 9257,O_LIGHT_POSITION_REAR_RH_PLATE
51 | 9258,O_LIGHT_POSITION_NIGHT
52 | 9269,Water_Pump
53 | 9218,High Beam LH
54 | 9219,High Beam RH
55 | 9270,2ndeCompression
56 | 9271,ECU
57 | 9272,Lights
58 | 9267,StopStart
59 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/classes/TimePoint.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.classes;
23 |
24 | import java.io.Serializable;
25 |
26 | /**
27 | * Created by robertfisch on 04.11.2015.
28 | */
29 | public class TimePoint implements Serializable {
30 | public long date;
31 | public double value;
32 |
33 | public TimePoint() {
34 | }
35 |
36 | public TimePoint(long date, double value) {
37 | this.date = date;
38 | this.value = value;
39 | }
40 |
41 | public String toString()
42 | {
43 | return date+","+value;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/_Ecus.csv:
--------------------------------------------------------------------------------
1 | # Descriptive name, Renault ID, Network (s), From ID, To ID, Mnemonic, Alias(ses), GetDtc responseID (s), startDiag, Session required
2 | # If more than one, semicolon separated
3 | Electric Vehicle Controller,946,V;E,7ec,7e4,EVC,SCH,5902af,50c0,0
4 | Telematics Control Unit,2152,V;M,7da,7ca,DCM,TCU,5902ff,50c0,0
5 | Lithium Battery Controller,938,E,7bb,79b,LBC,-,59020f,50c0,0
6 | Power Electronics Block,2092,E,77e,75a,PEB,-,5902ff,50c0,0
7 | Airbag,756,V,772,752,AIBAG,AIRBAG,5902ff,50c0,0
8 | U Safety Module,1337,V,76d,74d,USM,UPC;UCM,5902ff,50c0,0
9 | Instrument panel,247,V;M,763,743,TDB,CLUSTER;BIC,5902ff,50c0,0
10 | Electrical Power Steering,1232,V,762,742,EPS,PAS,5902ff,50c0,0
11 | Electronic Stability Control,1094,V,760,740,ESC,ABS,5902ff,50c0,0
12 | Uncoupled Braking Pedal,2197,V,7bc,79c,UBP,-,5902ff,50c0,0
13 | Body Control Module,645,V;O,765,745,UCH,BCM,5902ff,50c0,0
14 | Climate Control,419,V,764,744,HVAC,CLIM;CLIMA;CLIMBOX,5902ff,50c0,0
15 | Park Assist,1222,O,76e,74e,Parking-Sonar,UPA,5902ff,50c0,0
16 | Battery Connection Box,2093,E,793,792,BCB-OBC,BCB,5902ff;5902af,50c0,1
17 | Lithium Battery Controller 2,938,E,7b6,796,LBC2,-,59020f,50c0,0
18 | Tuner,261,M,0,0,RADIO,-,,50c0,0
19 | Joystick,1657,M,0,0,-,-,,50c0,0
20 | R-Link,1127,M,0,0,AUTOS,-,,50c0,0
21 | Horn,2138,E,0,0,-,-,,50c0,0
22 | VirtualField computer,9999,V,800,800,VFC,-,,50c0,0
23 | Free fields,9998,V,801,801,FFC,-,,50c0,0
24 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/IDM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 5B92,[C1B92]BRAKE CONTROL SYSTEM
2 | 5B93,[C1B93]ENGINE/HEV SYSTEM
3 | 5B94,[C1B94]TM SYSTEM
4 | 5B96,[C1B96]ADAS SYSTEM
5 | 5B98,[C1B98]ADAS SYSTEM
6 | 5BA0,[C1BA0]ADAS/CHASSIS CTRL BRAKE SYS
7 | 5BA1,[C1BA1]f_CAN_MSGCOUNT_FAIL[iCAN_RXID1C5]
8 | 5BA2,[C1BA2]STEERING ANGLE SENSOR
9 | 5BAB,[C1BAB]STOP LAMP SW
10 | 5BB4,[C1BB4]CONTROL MODULE
11 | 5BB5,[C1BB5]IGN POWER SUPPLY
12 | 5BC0,[C1BC0]FR WHEEL SENSOR
13 | 5BC1,[C1BC1]FL WHEEL SENSOR
14 | 5BC2,[C1BC2]RR WHEEL SENSOR
15 | 5BC3,[C1BC3]RL WHEEL SENSOR
16 | 5BC4,[C1BC4]DECEL G SENSOR
17 | 5BC5,[C1BC5]SIDE G SENSOR
18 | 5BC6,[C1BC6]PRESSURE SENSOR
19 | 5B80,Calibration not complete
20 | 5B81,Configuration not complete
21 | 5B97,[C1B97]BCM-CAN message counter failure.
22 | 5BA5,[C1BA5]CHASSIS CTRL ENGINE SYS
23 | DA30,ADAS SYSTEM
24 | E140,[U2140]ENGINE/HEV SYSTEM
25 | DA4E,[U1A4E]ENGINE/HEV SYSTEM
26 | DA3E,[U1A3E]ADAS SYSTEM
27 | DA3B,[U1A3B]MT SYSTEM
28 | DA36,[U1A36]BCM
29 | DA35,[U1A35] EPKB
30 | DA33,[U1A33]SONAR SYSTEM
31 | 5B95,EPKB
32 | C076,[U0076]CAN CHASSIS
33 | C078,[U0078]IC-CAN
34 | E143,ENGINE/HEV SYSTEM
35 | E154,NAVI SYSTEM
36 | E155,[U2155]EPB
37 | E15B,[U215B]USM
38 | E165,[U2165]SONAR SYSTEM
39 | E240,[E240] ENGINE/HEV SYSTEM
40 | E14F,[U214F]BCM
41 | E14E,[U214E]METER
42 | E148,[U2148]BRAKE CONTROL SYSTEM
43 | E141,[U2141]TM SYSTEM
44 | E252,[U2252]ADAS SYSTEM
45 | E243,[E243] ENGINE/HEV SYSTEM
46 | E265,[U2265]SONAR SYSTEM
47 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/DCM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 93F0,BAT
2 | 9302,GSM External Antenna Failure
3 | 93D9,USB Host Presence not detected
4 | AE21,Output_On_Request
5 | 93E1,CAN-M Failure
6 | 9341,TCU
7 | 9304,GSM Internal Antenna Failure
8 | AE00,SMS
9 | AE03,GDC Fonctional
10 | AE05,GDC Configuration
11 | 9324,GPS External Antenna
12 | AEF0,Internal battery
13 | AE02,GDC Authentification
14 | AE80,WMP SPI communications failure
15 | AE81,PMC SPI communications failure
16 | AE82,I2C communications failure
17 | AE83,TCU reset procedure failure
18 | AE84,WMP Flash memory corrupted
19 | AE85,WMP secure memory corrupted
20 | AE22,K-line IN SVT failure
21 | AE23,K-line OUT SVT failure
22 | AE24,SVT Blocking
23 | 9328,Mic out line Failure
24 | 9305,Mic in Line failure
25 | AE11,Temperature Sensor Failure
26 | 930D,AUDIO_HU_OUT Line Failure
27 | AE10,GPS Internal Antenna Failure
28 | AE30,LIN Failure
29 | AE31,MMI Audio Out Line Failure
30 | AE32,MMI Supply 4V Failure
31 | AE91,MMI Ecall Button Failure
32 | AE92,MMI Bcall Button Failure
33 | AE33,MMI Led Failure
34 | AE34,MMI Supply 7V Failure
35 | AE12,Accelerometer Failure
36 | AE04,Internal SIM internal Failure
37 | AE06,External SIM internal Failure
38 | AE01,PPP Data Communication Authentication
39 | AE07,Invalid TCU Certificate
40 | AE08,TCU datas discarded by GDC
41 | 9360,Voice Communication Failure (GSM)
42 | AE13,GPS Communication Failure
43 | 93E2,CAN-V Failure
44 | 933B,AUX_IN_INFO Line Failure
45 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/Parking-Sonar_Dtcs.csv:
--------------------------------------------------------------------------------
1 | A725,RearBuzzer
2 | A72D,FrontBuzzer
3 | A72C,FrontOuterRightSensor
4 | A729,FrontOuterLeftSensor
5 | A72B,FrontInnerRightSensor
6 | A72A,FrontInnerLeftSensor
7 | A724,ECU
8 | A723,RearOuterRightSensor
9 | A720,RearOuterLeftSensor
10 | A722,RearInnerRightSensor
11 | A721,RearInnerLeftSensor
12 | A73A,Configuration
13 | A739,HFPswitch
14 | A732,BSWswitchLed
15 | A735,BSWrightLed
16 | A734,BSWleftLed
17 | A731,RearSideRightSensor
18 | A72E,FrontSideLeftSensor
19 | A73D,HFP_UPAswitchLed
20 | A740,AT_ECU
21 | A741,BRAKE_ECU
22 | A744,BCM_ECU
23 | A746,4WS_ECU
24 | A745,EPS_ECU
25 | A742,USM_ECU
26 | A733,PSMswitchLed
27 | A736,BSWleftStatusLed
28 | A737,BSWrightStatusLed
29 | A738,Front Sensor Power
30 | A73B,Rear Sensor Power
31 | A747,ECM_ECU
32 | A748,EPBK_ECU
33 | A749,IDM_ECU
34 | A74A,STRG_ECU
35 | A74B,VDC_ECU
36 | A74E,CAMERA_ECU
37 | A74C,ADAS_ECU
38 | A74D,METER_ECU
39 | A750,IVI_ECU
40 | A74F,RADAR_ECU
41 | A743,UTA_ECU
42 | E152,DTC_MUX_ADAS_A6
43 | E141,DTC_MUX_ATCU_A3
44 | E175,DTC_MUX_AVM_A8
45 | E14F,DTC_MUX_BCM_A4
46 | E140,DTC_MUX_ECM_A8
47 | E155,DTC_MUX_EPKB_A1
48 | E159,DTC_MUX_EPS_R4
49 | E16B,DTC_MUX_FRCAMERA_A1
50 | E104,DTC_MUX_FWS_R3
51 | E14E,DTC_MUX_METER_A3
52 | E176,DTC_MUX_IDM_A3
53 | E154,DTC_MUX_IVI_A5
54 | E15B,DTC_MUX_USM_A1
55 | E148,DTC_MUX_VDC_A3
56 | A751,UTA_ECU_Conf
57 | A730,RearSideLeftSensor
58 | A72F,FrontSideRightSensor
59 | A73E,DTC PLCSafetyBag
60 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/classes/ColorRange.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.classes;
23 |
24 | /**
25 | * Created by robertfisch on 26.10.2015.
26 | */
27 | public class ColorRange {
28 | public int from;
29 | public int to;
30 | public String color;
31 | public String sid;
32 |
33 | public ColorRange() {}
34 |
35 | public ColorRange(int from, int to, String color) {
36 | this.color = color;
37 | this.from = from;
38 | this.to = to;
39 | }
40 |
41 | public boolean isInside(double value)
42 | {
43 | return (from<=value && value<=to);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/classes/ForegroundCheckTask.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.classes;
2 |
3 | // source: https://stackoverflow.com/questions/8489993/check-android-application-is-in-foreground-or-not
4 |
5 | import android.app.ActivityManager;
6 | import android.content.Context;
7 | import android.os.AsyncTask;
8 |
9 | import java.util.List;
10 |
11 | public class ForegroundCheckTask extends AsyncTask {
12 |
13 | @Override
14 | protected Boolean doInBackground(Context... params) {
15 | final Context context = params[0].getApplicationContext();
16 | return isAppOnForeground(context);
17 | }
18 |
19 | private boolean isAppOnForeground(Context context) {
20 | ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
21 | List appProcesses = activityManager.getRunningAppProcesses();
22 | if (appProcesses == null) {
23 | return false;
24 | }
25 | final String packageName = context.getPackageName();
26 | for (ActivityManager.RunningAppProcessInfo appProcess : appProcesses) {
27 | if (appProcess.importance == ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND && appProcess.processName.equals(packageName)) {
28 | return true;
29 | }
30 | }
31 | return false;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/awt/Rectangle.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.awt;
23 |
24 | import android.graphics.Point;
25 |
26 | /**
27 | * Created by robertfisch on 14.08.2015.
28 | */
29 | public class Rectangle {
30 | private int x, y, width, height;
31 |
32 | public Rectangle(int x, int y, int width, int height)
33 | {
34 | this.x=x;
35 | this.y=y;
36 | this.width=width;
37 | this.height=height;
38 | }
39 |
40 | public boolean contains(Point p)
41 | {
42 | return x<=p.x &&
43 | p.x<=x+width &&
44 | y<=p.y &&
45 | p.y<=y+height;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/awt/Polygon.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.awt;
23 |
24 | import android.graphics.Point;
25 |
26 | import java.util.ArrayList;
27 |
28 | /**
29 | * Created by robertfisch on 15.08.2015.
30 | */
31 | public class Polygon {
32 | private ArrayList points = new ArrayList<>();
33 |
34 | public void addPoint(Point p)
35 | {
36 | points.add(p);
37 | }
38 |
39 | public void addPoint(int x, int y)
40 | {
41 | points.add(new Point(x,y));
42 | }
43 |
44 | public int size()
45 | {
46 | return points.size();
47 | }
48 |
49 | public Point get(int index)
50 | {
51 | return points.get(index);
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/activities/ChargingGraphActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.activities;
23 |
24 | import android.os.Bundle;
25 |
26 | import lu.fisch.canze.R;
27 | import lu.fisch.canze.interfaces.DebugListener;
28 |
29 | public class ChargingGraphActivity extends CanzeActivity implements DebugListener {
30 |
31 | @Override
32 | protected void onCreate(Bundle savedInstanceState) {
33 | super.onCreate(savedInstanceState);
34 | setContentView(R.layout.activity_charging_graph);
35 | }
36 |
37 | protected void initListeners () {
38 | if(MainActivity.getInstance()!=null)
39 | MainActivity.getInstance().setDebugListener(this);
40 | }
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/FFC_Frames.csv:
--------------------------------------------------------------------------------
1 | #Frame ID,interval ZOE, interval FLUKAN, Sending ECU
2 | #023,4,4,AIBAG # only sent at the moment of a crash
3 | 0C6,10,10,EPS
4 | 12E,10,10,ESC
5 | 130,10,10,UBP
6 | 17A,10,10,EVC
7 | 17E,10,10,EVC
8 | 186,10,10,EVC
9 | 18A,10,10,EVC
10 | 1F6,10,10,EVC
11 | 1F8,10,10,EVC
12 | 1FD,100,100,EVC
13 | 212,20,20,USM
14 | 242,20,20,ESC
15 | 29A,20,20,ESC
16 | 29C,20,20,ESC
17 | 2B7,20,20,ESC
18 | 352,40,200,ESC
19 | 354,40,40,ESC
20 | 35C,100,100,BCM
21 | 391,50,50,CLIM
22 | 3B7,100,100,CLUSTER
23 | 3F7,60,60,EVC
24 | 427,100,100,EVC
25 | 42A,100,100,CLIM
26 | 42E,100,100,EVC
27 | 430,100,100,CLIM
28 | 432,100,100,EVC
29 | 433,1000,1000,CLUSTER
30 | 4F8,100,100,CLUSTER
31 | 500,100,100,BCM
32 | 505,100,100,BCM
33 | 511,100,100,EVC
34 | 534,100,100,BCM
35 | 552,100,100,BCM
36 | 563,100,100,EPS
37 | #5D1,60000,60000,CLUSTER # this frame is AFAIK only sent at bootup
38 | 5D7,100,100,ESC
39 | 5DA,100,100,EVC
40 | 5DE,100,100,BCM
41 | 5E9,100,100,UPA
42 | 5EE,100,100,BCM
43 | 62C,100,100,EPS
44 | 62D,500,500,EVC
45 | 634,100,100,TCU
46 | 637,500,500,EVC
47 | 638,100,100,EVC
48 | 646,500,500,CLUSTER
49 | 650,100,300,EVC
50 | 653,100,100,AIRBAG
51 | 654,500,500,EVC
52 | 656,100,100,CLUSTER
53 | 657,100,100,BCM
54 | 658,3000,3000,EVC
55 | 65B,100,100,EVC
56 | 665,3000,3000,CLUSTER
57 | 666,100,200,ESC
58 | 668,100,100,CLIMA
59 | 66A,100,100,EVC
60 | 66D,100,100,UBP
61 | 671,9999,100,
62 | 673,100,100,BCM
63 | 68B,100,100,CLUSTER
64 | 68C,1000,1000,CLUSTER
65 | 699,1000,1000,CLIMA
66 | 69F,1000,1000,BCM
67 | 6F8,100,100,USM
68 | 6FB,3000,3000,CLUSTER
69 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/activities/CanSeeActivity.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.activities;
2 |
3 | import androidx.appcompat.app.AppCompatActivity;
4 | import android.os.Bundle;
5 | import android.view.Menu;
6 | import android.view.MenuItem;
7 |
8 | import lu.fisch.canze.R;
9 |
10 | public class CanSeeActivity extends AppCompatActivity {
11 |
12 | @Override
13 | protected void onCreate(Bundle savedInstanceState) {
14 | super.onCreate(savedInstanceState);
15 | getSupportActionBar().setDisplayHomeAsUpEnabled(true);
16 | setContentView(R.layout.activity_can_see);
17 | }
18 |
19 | @Override
20 | public boolean onOptionsItemSelected(MenuItem item) {
21 | // Handle action bar item clicks here. The action bar will
22 | // automatically handle clicks on the Home/Up button, so long
23 | // as you specify a parent activity in AndroidManifest.xml.
24 | int id = item.getItemId();
25 |
26 | if (id==android.R.id.home) {
27 | saveOptions ();
28 | finish();
29 | return true;
30 | }
31 | else if (id == R.id.action_cancel) {
32 | // finish without saving the settings
33 | finish();
34 | return true;
35 | }
36 |
37 | return super.onOptionsItemSelected(item);
38 | }
39 |
40 | @Override
41 | public void onBackPressed() {
42 | //toast(MainActivity.TOAST_NONE, R.string.toast_PleaseUseTop);
43 | saveOptions ();
44 | super.onBackPressed();
45 | }
46 |
47 | private void saveOptions () {
48 |
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/actors/AssetLoadHelper.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.actors;
2 |
3 |
4 | import java.io.BufferedReader;
5 | import java.io.FileNotFoundException;
6 | import java.io.IOException;
7 | import java.io.InputStream;
8 | import java.io.InputStreamReader;
9 |
10 | import android.content.Context;
11 | import android.content.res.AssetManager;
12 |
13 | import lu.fisch.canze.activities.MainActivity;
14 | import lu.fisch.canze.classes.Crashlytics;
15 |
16 | public class AssetLoadHelper {
17 |
18 | public static BufferedReader getBufferedReaderFromAsset (String asset) {
19 | try {
20 | Context myContext = MainActivity.getInstance().getApplicationContext();
21 | // call getAssets() on the private Context myContext
22 | if (myContext == null) return null;
23 | AssetManager assetmanager = myContext.getAssets();
24 | if (assetmanager == null) return null;
25 | InputStream inputStream = assetmanager.open(asset);
26 |
27 | // BufferedReader handles encoding, default is UTF-8, which is what we use
28 | InputStreamReader inputStreamReader = new InputStreamReader (inputStream);
29 | return new BufferedReader (inputStreamReader);
30 |
31 | } catch (FileNotFoundException e) {
32 | // do nothing, so return null
33 | } catch (IOException | NullPointerException e) {
34 | Crashlytics.logString("loading asset:[" + asset + "]");
35 | Crashlytics.logException(e);
36 | } // Catching null is bad practice, but I have seen one thrown by myContext.getAssets();
37 |
38 | return null;
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/app/src/main/res/values/attr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/robertfisch/Programs/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 | -keep class lu.fisch.** { *; }
19 |
20 | ##---------------Begin: proguard configuration for Gson ----------
21 | # Gson uses generic type information stored in a class file when working with fields. Proguard
22 | # removes such information by default, so configure it to keep all of it.
23 | -keepattributes Signature
24 |
25 | # Gson specific classes
26 | -keep class sun.misc.Unsafe { *; }
27 | #-keep class com.google.gson.stream.** { *; }
28 |
29 | ##------------------Begin: added rules to see if we can nip ClassNotFound in the butt ----------
30 | ## A bit of a shot in the dark taken from https://stackoverflow.com/questions/15686593/java-lang-classnotfoundexception-in-dalvik-system-basedexclassloader-findclass
31 | -keep class com.google.gson.stream.** { *; }
32 | -keep class android.support.** { *; }
33 | -keep interface android.support.** { *; }
34 | # Keep line numbers to alleviate debugging stack traces
35 | -renamesourcefileattribute SourceFile
36 | -keepattributes SourceFile,LineNumberTable
37 |
38 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/PEB_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 0030,+APC
2 | 030C,BCM (Body Control Module)
3 | 030B,Boost PWM (between rectifier and inverter modules)
4 | 0306,Charger Controler
5 | 0854,DCDC
6 | 0852,DCDC driver
7 | 0850,DCDC High voltage side
8 | 0851,DCDC low voltage side
9 | 0861,ECU monitoring (Safety torque estimation)
10 | 0860,ECU monitoring (Watchdog)
11 | 0848,Electric engine FAN
12 | 0849,Electric engine phase
13 | 0847,Electric engine temperature
14 | 030D,EVC
15 | 0820,Excitation
16 | 0821,Excitation current sensor
17 | 0830,Excitation driver (high arm)
18 | 0831,Excitation driver (low arm)
19 | 0832,Excitation driver ready
20 | 0822,Excitation temperature sensor
21 | 0870,High voltage network
22 | 0803,High voltage sensor
23 | 0801,Inverter
24 | 0802,Inverter current sensor
25 | 0810,Inverter driver (high arm)
26 | 0811,Inverter driver (low arm)
27 | 0805,Inverter temperature
28 | 0804,Inverter temperature sensor
29 | 0305,Lithium Battery Controler
30 | 0864,Main controler temperature sensor
31 | 0865,PCB controler temperature sensor
32 | 0867,Power supply 2.1
33 | 0842,PWM Electric Engine command
34 | 084A,Rotor position offset learning
35 | 0841,Rotor position sensor
36 | 0840,Rotor position speed
37 | 084B,Rotor resistance leaning
38 | 0843,Safety rotor temperature estimation
39 | 0862,SPI communication
40 | 0845,Stator temperature sensor 1
41 | 0846,Stator temperature sensor 2
42 | 0863,Supply monitoring
43 | 0806,Water temperature
44 | 030E,EVC relays
45 | 0807,Hardware over voltage protection
46 | 0808,Inverter phase
47 | 0868,Driver board temperature sensor
48 | 0880,Voltage supply A11
49 | 0809,Inverter non traction safety watch
50 | 080A,Inverter auto diagnosis
51 | 080B,Inverter DFLASH memory corruption
52 | 080C,Inverter Reset failure
53 | 0812,Inverter driver ready (high arm)
54 | 0813,Inverter driver ready (low arm)
55 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/EPS_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 5604,EPS_TorqueSensor
2 | 5608,EPS_ECU
3 | C073,CAN BUSS OFF Fault
4 | 5616,EPS Fault - Derating (H)EPS thermal protection Motor
5 | 5615,EPS Fault - Derating (H)EPS thermal protection Controller
6 | D321,EPS Fault - ECU Not configured
7 | 5601,Battery Voltage Fault
8 | 5617,Inconsistent LKA request
9 | 5606,EPS_Motor
10 | 561A,CAN ABS/VDC Fault (Wheel speed)
11 | 561B,CAN ABS/VDC Fault (Vehicle speed)
12 | E156,DTCMux - CAN Steering Wheel Angle Fault (STRG)
13 | 561C,CAN Steering Wheel Angle Fault (STRG)
14 | 5634,CAN Steering Wheel Angle Fault (STRG) (Signal Fault)
15 | 5603,CAN Steering Wheel Angle Fault (STRG) Calibration Fault)
16 | E140,DTCMux - CAN ECM Fault
17 | 5623,CAN ECM Fault1
18 | 5635,CAN ECM Fault2
19 | E15B,DTCMux - CAN USM Fault
20 | 5629,CAN USM Fault
21 | E14F,DTCMux - CAN BCM Fault
22 | 5621,CAN BCM Fault1
23 | 5622,CAN BCM Fault2
24 | 5625,CAN BCM Fault3
25 | E154,DTCMux - CAN IVI Fault
26 | E165,DTCMux - CAN HFP Fault
27 | 5626,CAN HFP Fault
28 | C078,CAN BUSS OFF Fault - ADAS
29 | 5628,CAN IPA Fault
30 | E152,DTCMux - CAN IPA Fault
31 | E26B,DTCMux - CAN LKA/LDW fault (FrCamera)
32 | 5620,CAN LCA Fault
33 | 5637,CAN LCA Fault (Signal Fault 1)
34 | 5638,CAN LCA Fault (Signal Fault 2)
35 | E252,DTCMux - CAN LCA Fault
36 | E14E,DTCMux - CAN Cluster/Meter Fault
37 | 562A,CAN Cluster/Meter Fault
38 | 5627,CAN LKA/LDW Fault 1 (FrCamera)
39 | 5639,CAN LKA/LDW Fault 2 (FrCamera)
40 | 5632,CAN G-sensor Fault1 (Signal Fault)
41 | 561E,CAN G-sensor Fault 1
42 | 5633,CAN G-sensor Fault 2
43 | E148,DTCMux - CAN ABS/VDC Fault
44 | 561F,CAN IVI Fault 1
45 | 5636,CAN IVI Fault 2
46 | 5614,Very_soft_ramp_down (below SafeAssist level)
47 | 5624,Very_soft_ramp_down (above SafeAssist level)
48 | 561D,CAN ABS/VDC Fault for LCA/TJP
49 | 5618,Inconsistent LCA request
50 | D323,EPS HOD not compensated
51 | D322,EPS HOD not fully configured
52 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/HVAC_Dtcs.csv:
--------------------------------------------------------------------------------
1 | A4A5,AQSOxydantSensor
2 | A4A8,AQSPreHeat
3 | A4A3,AQSReductorSensor
4 | A4A7,AQSSupply
5 | A4C9,BoilerCommand
6 | A4B5,BoilerFeedback
7 | D010,CANController
8 | D000,CANNetwork
9 | A4A0,ClimBox
10 | A4CB,CompressorValveCommand
11 | A4A2,Config
12 | E14F,DiagMuxBCM
13 | E140,DiagMuxECM
14 | E14E,DiagMuxMeter
15 | E15B,DiagMuxUSM
16 | A48A,EComp
17 | A489,ECompAbnormalHV
18 | A487,ECompAbnormalRunUp
19 | A48B,ECompCPU
20 | A485,ECompCurrentSensor
21 | A484,ECompOutputLineOC
22 | A483,ECompOutputLineSC
23 | A486,ECompOverload
24 | A4F9,ECompTempSensor
25 | A4A4,EvapTempSensor
26 | A4B9,FeetVentActuator
27 | A4F5,FeetVentLINActuator
28 | A4B4,FrontControlPanel
29 | A4B0,HeatSeatFrontLeftHighRelay
30 | A4AF,HeatSeatFrontLeftLowRelay
31 | A4BC,HeatSeatFrontRightHighRelay
32 | A4BA,HeatSeatFrontRightLowRelay
33 | A4AE,HotSourceTempSensor
34 | A4AB,HumiditySensor
35 | A4A6,InCarTempSensor
36 | A4B2,IonizerMode
37 | A4DE,IonizerSupply
38 | A4BB,LeftMixActuator
39 | A4F7,LeftMixLINActuator
40 | A4A9,LeftSolarSensor
41 | A4D3,LIN1
42 | A4D4,LIN2
43 | A4A1,PowerSupply
44 | A4AC,PWMAQS
45 | A4C6,PWMBlowerCommand
46 | A4D7,RearBlowerCommand
47 | A4B7,RecyActuator
48 | A4F6,RecyLINActuator
49 | A4BD,RightMixActuator
50 | A4F8,RightMixLINActuator
51 | A4F4,SteeringHeaterRelay
52 | A4CF,Valve1Command
53 | A4D1,Valve2Command
54 | A4E5,WindshieldHeating1Command
55 | A4E7,WindshieldHeating2Command
56 | E148,DiagMuxVDC
57 | A482,HPM
58 | A481,PTC
59 | A48C,HPMACleakageDynamic
60 | A4C0,HPMACleakageStatic
61 | A4C1,HPMStatusValve1
62 | A4C2,HPMStatusValve2
63 | A4C3,HPMStatusSensor1
64 | A4C4,HPMStatusSensor2
65 | A4C5,PTCStatElectronicDefect
66 | A4C7,PTCStatOverTemperature
67 | A4C8,PTCStatOverUndervoltage
68 | A4E1,PTCStatHeatercirc1off
69 | A4E2,PTCStatHeatercirc2off
70 | A4E3,PTCStatHeatercirc3off
71 | A4E4,PTCStatHeatercirc4off
72 | E154,DiagMuxIVI
73 | E150,DiagMuxACU
74 | E143,DiagMuxHEVC
75 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/INV-ME_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 0030,+APC
2 | 030C,BCM (Body Control Module)
3 | 030B,Boost PWM (between rectifier and inverter modules)
4 | 0306,Charger Controler
5 | 0854,DCDC
6 | 0852,DCDC driver
7 | 0850,DCDC High voltage side
8 | 0851,DCDC low voltage side
9 | 0868,Driver board temperature sensor
10 | 0861,ECU monitoring (Safety torque estimation)
11 | 0860,ECU monitoring (Watchdog)
12 | 0848,Electric engine FAN
13 | 0849,Electric engine phase
14 | 0847,Electric engine temperature
15 | 030D,EVC
16 | 030E,EVC relays
17 | 0820,Excitation
18 | 0821,Excitation current sensor
19 | 0830,Excitation driver (high arm)
20 | 0831,Excitation driver (low arm)
21 | 0832,Excitation driver ready
22 | 0822,Excitation temperature sensor
23 | 0807,Hardware over voltage protection
24 | 0870,High voltage network
25 | 0803,High voltage sensor
26 | 0801,Inverter
27 | 080A,Inverter auto diagnosis
28 | 0802,Inverter current sensor
29 | 080B,Inverter DFLASH memory corruption
30 | 0810,Inverter driver (high arm)
31 | 0811,Inverter driver (low arm)
32 | 0812,Inverter driver ready (high arm)
33 | 0813,Inverter driver ready (low arm)
34 | 0809,Inverter non traction safety watch
35 | 0808,Inverter phase
36 | 080C,Inverter Reset failure
37 | 0805,Inverter temperature
38 | 0804,Inverter temperature sensor
39 | 0305,Lithium Battery Controler
40 | 0864,Main controler temperature sensor
41 | 0865,PCB controler temperature sensor
42 | 0867,Power supply 2.1
43 | 0842,PWM Electric Engine command
44 | 084A,Rotor position offset learning
45 | 0841,Rotor position sensor
46 | 0840,Rotor position speed
47 | 084B,Rotor resistance leaning
48 | 0843,Safety rotor temperature estimation
49 | 0862,SPI communication
50 | 0845,Stator temperature sensor 1
51 | 0846,Stator temperature sensor 2
52 | 0863,Supply monitoring
53 | 0880,Voltage supply A11
54 | 0806,Water temperature
55 | 0908,CAN communication with battery
56 | 0A2A,Stator temperature sensors
57 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/HVAC_Dtcs.csv:
--------------------------------------------------------------------------------
1 | A4A1,VBatt
2 | A4A6,InCarTemp
3 | A4A4,EvapTemp
4 | A4A3,AQS_Reductor
5 | A4A5,AQS_Oxydant
6 | A4A7,AQS_Supply
7 | A4A8,AQS_PreHeating
8 | A4AB,HumiditySensor
9 | A4D3,LIN_Bus
10 | A4DA,AQM_FragranceMotor
11 | A4DE,AQM_Ionizer
12 | A4DC,AQM_FragranceBlower
13 | A4D4,LIN2_Bus
14 | A4B4,FrontControlPanel
15 | A4C6,BlowerControl
16 | A4B7,Motor1Actr
17 | A4BF,Motor5Actr
18 | A4B9,Motor2Actr
19 | A4D5,RearControlPanel
20 | A4D8,AQMControlPanel
21 | A4B6,CentralPanel
22 | A4BB,Motor3Actr
23 | A4C1,Motor6Actr
24 | A4C3,BlowerSystem1
25 | A4AC,AQS_PWM
26 | A4AD,RearMixActr
27 | A4BD,Motor4Actr
28 | A4CD,BatteryBlowerSystem1
29 | A4D7,RearBlowerFanFeedback
30 | A4B8,RearAirTempSensor
31 | A4A0,EEPROM
32 | A4A2,Config
33 | A4E0,RearDistActr
34 | D010,CAN Self Diag
35 | D000,CAN Communication
36 | A4E8,BlowerByLin
37 | A4B2,AQM_IonizerMode
38 | A4AE,Hot_Source / Blower_Fan_Feedback
39 | A4E1,Rear_Hot_Blower_PWM
40 | A4E3,Rear_Cold_Blower_PWM
41 | A4B5,Blower_BatFan_Feedback / Rear_Switch/Boiler_Feedback
42 | A4AA,Heated_Seat_FL_Feedback / Sensor_2nd_Sunload
43 | A4A9,Heated_Seat_RR_Feedback / Sensor_Sunload
44 | A4B1,Heated_Seat_FR_Feedback
45 | A4C7,Heated_Seat_FR_CMD / BatFan_PWM /Rear_Fan_CMD
46 | A4CB,Heated_Seat_FL_CMD_LED / Comp_Valve_output
47 | A4E5,Heated_Seat_FR_CMD_LED / Windshield_Defroster_Right
48 | A4E7,Wipers_Defroster_ /Windshield_Defroster_Left
49 | A4CF,Cabin_Cool_Valve_output
50 | A4D1,Battery_Cool_Valve_output
51 | A4C9,Heated_Seat_FL_CMD /Relay_Control_Output/Boiler_CMD
52 | A4B3,Heated_Seat_RL_Feedback or LARC
53 | A481,PTC
54 | A483,ECompOutputLineSC
55 | A484,ECompOutputLineOC
56 | A485,ECompCurrentSensor
57 | A486,ECompOverload
58 | A487,ECompAbnormalRunUp
59 | A489,ECompAbnormalHV
60 | A48A,EComp
61 | A48B,ECompCPU
62 | A48C,HPMACleakageDynamic
63 | A4C0,HPMACleakageStatic
64 | A4C8,PTCStatOverUndervoltage
65 | A4E2,PTCStatHeatercirc2off
66 | A4F9,ECompTempSensor
67 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/classes/Options.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.classes;
23 |
24 | import com.google.gson.Gson;
25 | import com.google.gson.reflect.TypeToken;
26 |
27 | import java.lang.reflect.Type;
28 | import java.util.HashMap;
29 |
30 | /**
31 | * Created by robertfisch on 07.11.2015.
32 | */
33 | public class Options {
34 |
35 | private HashMap intervals = new HashMap<>();
36 |
37 | public Options() {}
38 |
39 | public Options(String json) {
40 | Gson gson = new Gson();
41 | Type tt = new TypeToken>() {}.getType();
42 | intervals = gson.fromJson(json,tt);
43 | }
44 |
45 | public String getOption(String sid) {
46 | if(intervals.containsKey(sid))
47 | return intervals.get(sid);
48 | else
49 | return null;
50 | }
51 |
52 | public String getJson() {
53 |
54 | return (new Gson()).toJson(intervals.clone());
55 | }
56 |
57 | public void add(String sid, String option)
58 | {
59 | intervals.put(sid,option);
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/_Ecus.csv:
--------------------------------------------------------------------------------
1 | # Descriptive name, Renault ID, Network (s), From ID (used in fields), To ID, Mnemonic, Alias(ses), GetDtc responseID (s), Session required
2 | # If more than one, semicolon separated
3 | Navigation-UCC-ITM,0,,767,747,Navigation-UCC-ITM,-,5902ff,5003,0
4 | CAN1-CAN2 Gateway,0,,7A5,785,INSULATOR,-,5902ff,5003,0
5 | Body Control Module,0,,765,745,UCH,-,5902ff,5003,0
6 | Multimedia Interface Unit,0,,734,714,MIU,-,5902ff,5003,0
7 | Lithium Battery Controller,0,,7BB,79B,LBC-(EV),LBC (EV),5902ff,5003,0
8 | Security Gateway3,0,,18DAF1D2,18DAD2F1,S-GW3,-,5902ff,5003,0
9 | Climate Control,0,,764,744,HVAC,-,5902ff,5003,0
10 | Meter Cluster,0,,763,743,TDB,-,5902ff,5003,0
11 | Automatic Transmission,0,,7E9,7E1,AT,-,5902ff,5003,0
12 | USM,0,,76D,74D,UPC-EMM,-,5902ff,5003,0
13 | Engine Control Module,0,,7E8,7E0,ECM,-,5902ff,5003,0
14 | Electrical Vehicle Control module,0,,7EC,7E4,(H)-EVC,(H) EVC,5902ff,5003,0
15 | Battery Charger Block,0,,793,792,BCB-OBC,BCB,5902ff,5003,0
16 | Front camera,0,,7DD,7DC,FCAM,-,5902ff,5003,0
17 | Audio Unit,0,,732,712,Audio,-,5902ff,5003,0
18 | Airbag-SRS,0,,772,752,Airbag-SRS,-,5902ff,5003,0
19 | CSHV,0,,7D7,78A,CSHV-Airbag-Vehicle-stopped,CSHV Airbag Vehicle stopped,5902ff,5003,0
20 | Vehicle Charger Controler Unit,0,,739,719,VCCU,-,5902ff,5003,0
21 | Data Communication Module,0,,7DA,7CA,DCM,DCM Renault,5902ff,5003,0
22 | ABS-VDC,0,,760,740,ABS-VDC,-,5902ff,5003,0
23 | Vehicle Sound for Pedestrian,0,,761,73F,VSP,-,5902ff,5003,0
24 | Wireless Charger Smartphone,0,,7AD,7AA,WCGS,-,5902ff,5003,0
25 | Electric Power Steering,0,,762,742,EPS,-,5902ff,5003,0
26 | ACC,0,,77D,75D,ACC,-,5902ff,5003,0
27 | Top Control Unit,0,,76B,74B,TCU,-,5902ff,5003,0
28 | Power Electronic Box,0,,77E,75A,PEB,-,5902ff,5003,0
29 | Power Line connection/ Power Line GateWay,0,,7C8,7D8,PLC-PLGW,-,5902ff,5003,0
30 | Shift By Wire,0,,7BD,79D,SCU,-,5902ff,5003,0
31 | Audio Amplifier Unit,0,,7A2,782,AAU,-,5902ff,5003,0
32 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/classes/Intervals.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.classes;
23 |
24 | import com.google.gson.Gson;
25 | import com.google.gson.reflect.TypeToken;
26 |
27 | import java.lang.reflect.Type;
28 | import java.util.HashMap;
29 |
30 | import lu.fisch.awt.Color;
31 |
32 | /**
33 | * Created by robertfisch on 07.11.2015.
34 | */
35 | public class Intervals {
36 |
37 | private HashMap intervals = new HashMap<>();
38 |
39 | public Intervals() {}
40 |
41 | public Intervals(String json) {
42 | Gson gson = new Gson();
43 | Type tt = new TypeToken>() {}.getType();
44 | intervals = gson.fromJson(json,tt);
45 | }
46 |
47 | public int getInterval(String sid) {
48 | if(intervals.containsKey(sid))
49 | return intervals.get(sid);
50 | else
51 | return -1;
52 | }
53 |
54 | public String getJson() {
55 |
56 | return (new Gson()).toJson(intervals.clone());
57 | }
58 |
59 | public void add(String sid, int interval)
60 | {
61 | intervals.put(sid,interval);
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_logging.xml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
18 |
19 |
20 |
25 |
26 |
27 |
31 |
32 |
37 |
38 |
43 |
44 |
49 |
50 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/BCB-OBC_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 043D,Air conditionned Interlock
2 | 030C,BCM (Body Control Module)
3 | 0680,Blue Led
4 | 0309,CAN
5 | 0664,Capacity module
6 | 0613,Charge yield
7 | 0602,Charging stop
8 | 046F,Cooling temperature
9 | 0466,Cooling Temperature Sensor
10 | 0620,CPU temperature
11 | 0622,CPU Temperature sensor
12 | 0627,Driver Flyback
13 | 0668,Earth current sensor
14 | 0621,Electronic card voltage supply
15 | 0630,Electronic power driver
16 | 0631,Electronic power driver temperature
17 | 0632,Electronic power driver temperature sensor
18 | 030D,EVC
19 | 0690,External power supply
20 | 043B,Fuse interlock
21 | 0654,Hot Spot Input Module Temperature
22 | 0437,HV Battery interlock
23 | 066B,Input filter i
24 | 066A,Input filter temperature
25 | 0623,Internal power supply voltage (+5V)
26 | 0436,Junction box hood interlock
27 | 0305,Lithium Battery Controler
28 | 0669,Mains communication line
29 | 0646,Mains current regulation
30 | 0667,Mains differential current sensor
31 | 0663,Mains ground
32 | 0640,Mains identification
33 | 0648,Mains leakage
34 | 0647,Mains locking input line
35 | 0662,Mains locking motor command
36 | 064D,Mains mono phased voltage sensors
37 | 066C,Mains neutral/phase3
38 | 0642,Mains phase 1 current
39 | 065E,Mains phase 1 current sensor
40 | 064A,Mains phase 1 voltage sensor
41 | 0643,Mains phase 2 current
42 | 065F,Mains phase 2 current sensor
43 | 064B,Mains phase 2 voltage sensor
44 | 0644,Mains phase 3 current
45 | 0660,Mains phase 3 current sensor
46 | 064C,Mains phase 3 voltage sensor
47 | 0665,Mains phase current sensor
48 | 0645,Mains phase mono current
49 | 0666,Mains phase voltage sensor
50 | 0649,Mains phases voltage
51 | 0438,Mains plug interlock
52 | 0671,Neutral current regulation
53 | 0670,Neutral current sensor
54 | 0439,PEB interlock
55 | 043A,PEB neutral interlock
56 | 06A0,PLGW card
57 | 043E,PTC interlock
58 | 0626,Rectifier micro-controler
59 | 0681,Red Led
60 | 043C,Relay box interlock
61 | 0612,S2 relay control
62 | 0625,SPI communication
63 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
63 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/E-ACT-EBA_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 58F7,VDC CAN Failure
2 | 58F5,USM CAN Failure
3 | 58F3,Thermal failure
4 | 58F0,Supply Line EDLC
5 | 58F1,standalone mode
6 | 58DF,RunOut in Failure
7 | 58EF,RPS Sensor
8 | 58EC,Position sensor plausibility in failure
9 | 58ED,Motor Power supply in failure
10 | E148,Loste communication with VDC on Chassis CAN
11 | E143,Loste communication with HEVC on Chassis CAN
12 | E140,Loste communication with ECM on Chassis CAN
13 | E248,Lost Communication with VDC on Vehicle CAN
14 | E15B,Lost Communication with USM on Chassis CAN
15 | E14F,Lost Communication with BCM on Chassis CAN
16 | 58DE,LIN Communication EDLC Failure
17 | 58F6,HEVC CAN Failure
18 | 58E3,External Brake in failure
19 | 58EB,EDLC Voltage monitoring
20 | 58D6,EDLC Failure Wakeup circuit error
21 | 58DD,EDLC Failure Vref circuit error
22 | 58DB,EDLC Failure Thermister circuit error
23 | 58D0,EDLC Failure overvoltage
24 | 58D8,EDLC Failure microcomputer error
25 | 58D9,EDLC Failure Insulation error
26 | 58D3,EDLC Failure Discharging circuit short error
27 | 58D2,EDLC Failure Discharging circuit open error
28 | 58DA,EDLC Failure Charging control circuit error
29 | 58D1,EDLC Failure Charging circuit error
30 | 58D4,EDLC Failure Cell short or overvoltage error
31 | 58DC,EDLC Failure Capacitor degrading error
32 | 58D7,EDLC Failure B-IN circuit and monitor circuit error
33 | 58D5,EDLC Failure Backup circuit error
34 | 58FF,ECU Failure 2
35 | 58FB,ECU Failure 1
36 | 58E9,ECU failure
37 | 58F8,ECM CAN Failure
38 | 58FE,EBA Temperature Sensors Failure
39 | 58FD,EBA Temperature Sensor 2 Failure
40 | 58FC,EBA Temperature Sensor 1 Failure
41 | 58FA,EBA Calibration Failure
42 | 58EE,DTS Sensor
43 | 58EA,Driver Brake Wish Not Detectable
44 | 58E8,Current consumption in EDLC Mode in Failure
45 | 58F9,CRBS failure
46 | 58E5,CAN V1 Bus OFF
47 | 58E6,CAN register
48 | 58E4,CAN Chassis Bus off
49 | 58F4,BCM CAN Failure
50 | 58E2,Battery Voltage compliance
51 | 58E7,Battery Voltage
52 | 58E1,Actuation Control
53 | 58F2,Activation switch EDLC
54 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/BCB-OBC_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 030D,EVC
2 | 0305,Lithium Battery Controler
3 | 030C,BCM (Body Control Module)
4 | 0309,CAN
5 | 0436,Junction box hood interlock
6 | 0437,HV Battery interlock
7 | 0438,Mains plug interlock
8 | 0439,PEB interlock
9 | 043A,PEB neutral interlock
10 | 043E,PTC interlock
11 | 0466,Cooling Temperature Sensor
12 | 046F,Cooling temperature
13 | 0602,Charging stop
14 | 0613,Charge yield
15 | 0612,S2 relay control
16 | 0620,CPU temperature
17 | 0621,Electronic card voltage supply
18 | 0622,CPU Temperature sensor
19 | 0630,Electronic power driver
20 | 0632,Electronic power driver temperature sensor
21 | 0631,Electronic power driver temperature
22 | 0640,Mains identification
23 | 0669,Mains communication line
24 | 0642,Mains phase 1 current
25 | 0643,Mains phase 2 current
26 | 0644,Mains phase 3 current
27 | 0645,Mains phase mono current
28 | 0646,Mains current regulation
29 | 0647,Mains locking input line
30 | 0649,Mains phases voltage
31 | 064A,Mains phase 1 voltage sensor
32 | 064B,Mains phase 2 voltage sensor
33 | 064C,Mains phase 3 voltage sensor
34 | 064D,Mains mono phased voltage sensors
35 | 065E,Mains phase 1 current sensor
36 | 065F,Mains phase 2 current sensor
37 | 0660,Mains phase 3 current sensor
38 | 0670,Neutral current sensor
39 | 0671,Neutral current regulation
40 | 043D,Air conditionned Interlock
41 | 043B,Fuse interlock
42 | 043C,Relay box interlock
43 | 0623,Internal power supply voltage (+5V)
44 | 0625,SPI communication
45 | 0662,Mains locking motor command
46 | 0663,Mains ground
47 | 0664,Capacity module
48 | 0626,Rectifier micro-controler
49 | 0665,Mains phase current sensor
50 | 0666,Mains phase voltage sensor
51 | 0668,Earth current sensor
52 | 0680,Blue Led
53 | 0681,Red Led
54 | 066A,Input filter temperature
55 | 066B,Input filter i
56 | 066C,Mains neutral/phase3
57 | 0648,Mains leakage
58 | 0627,Driver Flyback
59 | 0690,External power supply
60 | 0654,Hot Spot Input Module Temperature
61 | 06A0,PLGW card
62 | 0667,Mains differential current sensor
63 | 0672,CPL card
64 | 0673,Relay Box
65 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/BCB-OBC_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 030D,EVC
2 | 0305,Lithium Battery Controler
3 | 030C,BCM (Body Control Module)
4 | 0309,CAN
5 | 0436,Junction box hood interlock
6 | 0437,HV Battery interlock
7 | 0438,Mains plug interlock
8 | 0439,PEB interlock
9 | 043A,PEB neutral interlock
10 | 043E,PTC interlock
11 | 0466,Cooling Temperature Sensor
12 | 046F,Cooling temperature
13 | 0602,Charging stop
14 | 0613,Charge yield
15 | 0612,S2 relay control
16 | 0620,CPU temperature
17 | 0621,Electronic card voltage supply
18 | 0622,CPU Temperature sensor
19 | 0630,Electronic power driver
20 | 0632,Electronic power driver temperature sensor
21 | 0631,Electronic power driver temperature
22 | 0640,Mains identification
23 | 0669,Mains communication line
24 | 0642,Mains phase 1 current
25 | 0643,Mains phase 2 current
26 | 0644,Mains phase 3 current
27 | 0645,Mains phase mono current
28 | 0646,Mains current regulation
29 | 0647,Mains locking input line
30 | 0649,Mains phases voltage
31 | 064A,Mains phase 1 voltage sensor
32 | 064B,Mains phase 2 voltage sensor
33 | 064C,Mains phase 3 voltage sensor
34 | 064D,Mains mono phased voltage sensors
35 | 065E,Mains phase 1 current sensor
36 | 065F,Mains phase 2 current sensor
37 | 0660,Mains phase 3 current sensor
38 | 0670,Neutral current sensor
39 | 0671,Neutral current regulation
40 | 043D,Air conditionned Interlock
41 | 043B,Fuse interlock
42 | 043C,Relay box interlock
43 | 0623,Internal power supply voltage (+5V)
44 | 0625,SPI communication
45 | 0662,Mains locking motor command
46 | 0663,Mains ground
47 | 0664,Capacity module
48 | 0626,Rectifier micro-controler
49 | 0665,Mains phase current sensor
50 | 0666,Mains phase voltage sensor
51 | 0668,Earth current sensor
52 | 0680,Blue Led
53 | 0681,Red Led
54 | 066A,Input filter temperature
55 | 066B,Input filter i
56 | 066C,Mains neutral/phase3
57 | 0648,Mains leakage
58 | 0627,Driver Flyback
59 | 0690,External power supply
60 | 0654,Hot Spot Input Module Temperature
61 | 06A0,PLGW card
62 | 0667,Mains differential current sensor
63 | 0672,CPL card
64 | 0673,Relay Box
65 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/_Ecus.csv:
--------------------------------------------------------------------------------
1 | # Descriptive name, Renault ID, Network (s), From ID (used in fields), To ID, Mnemonic, Alias(ses), GetDtc responseID (s), Session required
2 | # If more than one, semicolon separated
3 | ABS-VDC,0,,18daf12d,18da2df1,ABS-VDC,ESC;ABS,590201,5003,0
4 | Airbag,0,,772,752,AIRBAG-SRS,AIBAG;AIRBAG,5902ff,50c0,0
5 | Audio Amplifier Unit,0,,7a2,782,AAU,,5902ff,5003,0
6 | Automatic Parking Brake,0,,775,755,APB,,5902af,5003,0
7 | Battery Charger Block,0,,18daf1de,18dadef1,BCB-OBC,BCB,5902af,50c0,0
8 | Body Control Module,0,,765,745,UCH,BCM;UCH,5902ff,5003,0
9 | Climate Control,0,,764,744,HVAC,CLIM;CLIMA;CLIMBOX,5902ff,5003,0
10 | Data Communication Module,0,,7da,7ca,DCM,TCU,5902ff,5003,0
11 | E-ACT-EBA,0,,18daf1e2,18dae2f1,E-ACT-EBA,-,590201,5003,0
12 | Electrical Power Steering,0,,762,742,EPS,PAS,5902ff,5003,0
13 | Front Camera,0,,7dd,7dc,FCAM,-,5902ff,5003,0
14 | Hands Free Module,0,,7b9,799,HFM,-,5902ff,5003,0
15 | Integrated Dynamics Control Module,0,,700,70c,IDM,-,5902ff,5000,0
16 | INV-ME,0,,18daf1df,18dadff1,INV-ME,-,5902af,50c0,0
17 | Laser radar for Adaptive Cruise Control System,0,,735,723,FRRAD,-,5902ff,5003,0
18 | Lithium Battery Controller,0,,18daf1db,18dadbf1,LBC,-,5902ff,5003,0
19 | Lithium Battery Controller 2,0,,18daf1dc,18dadcf1,LBC2,-,5902ff,5003,0
20 | Meter Cluster,0,,763,743,TDB,CLUSTER;BIC,5902ff,5003,0
21 | Multimedia Interface Unit,0,,734,714,MIU,-,5902ff,5003,0
22 | Navigation-UCC-ITM,0,,767,747,Navigation-UCC-ITM,-,5902ff,5003,0
23 | Parking Sonar,0,,76e,74e,Parking-Sonar,-,5902ff,5003,0
24 | Power Line connection/ Power Line Gateway,0,,7c8,7d8,PLC-PLGW,-,5902ff,5003,0
25 | Security Gateway,0,,18daf1d2,18dad2f1,S-GW3,-,5902ff,5003,0
26 | U Safety Module,0,,76d,74d,USM,UPC;UCM,5902af,50c0,0
27 | Vehicle Controle Module,0,,18daf1da,18dadaf1,EVC-HCM-VCM,EVC;SCH,5902af,5003,0
28 | Vehicle Sound for Pedestrians,0,,761,73f,VSP,-,5902ff,50c0,0
29 | Wireless Charger Smartphone,0,,7ad,7aa,WCGS,-,5902ff,5003,0
30 | # 0x800 - 0x8ff is reserved for CanZE's virtuals
31 | VirtualField computer,9999,V,800,800,VFC,-,,50c0,0
32 | Free fields,9998,V,801,801,FFC,-,,50c0,0
33 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/activities/LeakCurrentsActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.activities;
23 |
24 | import android.os.Bundle;
25 |
26 | import lu.fisch.canze.R;
27 | import lu.fisch.canze.classes.Sid;
28 | import lu.fisch.canze.interfaces.DebugListener;
29 |
30 | public class LeakCurrentsActivity extends CanzeActivity implements DebugListener {
31 |
32 | // Bcbtesterinit and -awake are hardcoded here, but shoud of course be optionally taken from
33 | // the ECU getSessionRequired and getStartDiag. However, since the BCB fields are aliassed in
34 | // Ph2 to the 11 bits address, we leave it like this for now
35 |
36 | /* Todo
37 | Add unaliased settings for BCB tester fields in _FieldsPh2, and make tester logic here
38 | use the formal ECU settings
39 | */
40 |
41 | @Override
42 | protected void onCreate(Bundle savedInstanceState) {
43 | super.onCreate(savedInstanceState);
44 | setContentView(R.layout.activity_leak_currents);
45 | }
46 |
47 | protected void initListeners() {
48 | MainActivity.getInstance().setDebugListener(this);
49 | addField(Sid.BcbTesterInit, lu.fisch.canze.devices.Device.INTERVAL_ONCE);
50 | addField(Sid.BcbTesterAwake, 1500);
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/USM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | A0B5,2ND_SIGNAL_GROUND
2 | A0C7,AC_Clutch
3 | A0C8,AC_valve
4 | E141,AT_Communication Failure
5 | 922D,Auto_Stop_Wiper
6 | 923A,BATTERY
7 | E14F,BCM_Communication Failure
8 | D000,CAN_failure
9 | C073,CAN_failure_BUS_OFF
10 | E112,EBA_Communication Failure
11 | E140,ECM_Communication Failure
12 | E159,EPS_Communication Failure
13 | A0B4,FL_BAT_1
14 | A0B6,FL_BAT_2
15 | E143,HEVC_Communication_Failure
16 | E153,HVAC_Communication Failure
17 | A0BD,I_CURRENT_SENSOR
18 | 9C01,I_HEIGHT_FRONT
19 | 9C02,I_HEIGHT_REAR
20 | 922F,I_LIGHT_REVERSE_SW
21 | A0BE,I_TEMP_SENSOR
22 | 92A4,IBS
23 | E004,IDM_Communication Failure
24 | A0DE,IGN_RLY_ON_OFF_STUCK
25 | A0DD,IGN_RLY_ON_STUCK
26 | 921F,IGNITION
27 | E154,IVI_Communication Failure
28 | A0DB,Levellizer_app_conf
29 | 9C11,Levellizer_front_sensor
30 | 9C10,Levellizer_MANUAL_SW
31 | 9C12,Levellizer_rear_sensor
32 | 92A0,LI_HOOD_SW
33 | A0E2,LI_LED_Detection_1
34 | A0E3,LI_LED_Detection_2
35 | 922E,LI_NEUTRAL_SW
36 | 922C,LI_OIL_PRESSURE_SW
37 | A0BF,LI_STARTER_SWITCH1
38 | A0C0,LI_STARTER_SWITCH2
39 | 9272,LIGHTS
40 | 92A2,LO_FAN_RELAY1
41 | 9240,LO_FAN_RELAY2_PWM
42 | 921C,LO_WASHER
43 | E166,MBL_Communication Failure
44 | E14E,METER_ Communication Failure
45 | 920F,NETWORK_14V
46 | A0A3,O_ACTUATOR_5
47 | A0A1,O_ACTUATOR_ON
48 | A0D8,O_FBL_LH
49 | A0D9,O_FBL_RH
50 | A0B2,O_FR_WIPER
51 | 92A3,O_FUEL_PUMP
52 | 9C00,O_HEIGHT_SENSOR_SUPPLY
53 | 921D,O_IGN_NOT_COLUMN_LOCK
54 | 9C07,O_LEVELIZER_DC_MOTOR
55 | A0D2,O_LIGHT_CLEARANCE_FR_RH_LH
56 | A0CB,O_LIGHT_DTRL_LH
57 | 9231,O_LIGHT_DTRL_RH
58 | 921A,O_LIGHT_FR_FOG_LAMPS_LH
59 | 9256,O_LIGHT_FR_FOG_LAMPS_RH
60 | A0CE,O_LIGHT_HBEAM_LH
61 | A0CF,O_LIGHT_HBEAM_RH
62 | A0D0,O_LIGHT_LBEAM_LH
63 | A0D1,O_LIGHT_LBEAM_RH
64 | A0D5,O_LIGHT_LICENCE_PLATE
65 | A0D4,O_LIGHT_POSITION_REAR_LH_RH
66 | 9230,O_STARTER
67 | A0D7,SIGNAL GND
68 | 9299,SS_STARTER_RELAY
69 | A0A9,Starter_RLY_External Failure_OC
70 | A0A8,Starter_RLY_External Failure_undervoltage
71 | A0DF,Starter_RLY_OFF
72 | A10D,Starter_RLY_ON
73 | 929A,TRAILER_RELAY
74 | 920E,USM_ECU failure
75 | E10B,VADA_Communication Failure
76 | E148,VDC_Communication Failure
77 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/ui/AppSectionsPagerAdapter.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.ui;
23 |
24 | import androidx.annotation.NonNull;
25 | import androidx.fragment.app.Fragment;
26 | import androidx.fragment.app.FragmentManager;
27 | import androidx.fragment.app.FragmentPagerAdapter;
28 | import java.util.ArrayList;
29 |
30 | import lu.fisch.canze.fragments.CustomFragment;
31 | import lu.fisch.canze.fragments.ExperimentalFragment;
32 | import lu.fisch.canze.fragments.MainFragment;
33 | import lu.fisch.canze.fragments.TechnicalFragment;
34 |
35 | public class AppSectionsPagerAdapter extends FragmentPagerAdapter {
36 |
37 | private final ArrayList fragments = new ArrayList<>();
38 |
39 | public AppSectionsPagerAdapter(FragmentManager fm) {
40 | super(fm, FragmentPagerAdapter.BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
41 |
42 | fragments.add(new MainFragment()); // 0
43 | fragments.add(new TechnicalFragment()); // 1
44 | fragments.add(new ExperimentalFragment()); // 2
45 | fragments.add(new CustomFragment()); // 2
46 | }
47 |
48 | @NonNull
49 | @Override
50 | public Fragment getItem(int i) {
51 | return fragments.get(i);
52 | }
53 |
54 | @Override
55 | public int getCount() {
56 | return fragments.size();
57 | }
58 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_dtc.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
18 |
19 |
20 |
25 |
26 |
33 |
34 |
41 |
42 |
43 |
44 |
45 |
46 |
51 |
52 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/activities/WidgetActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.activities;
23 |
24 | import android.os.Bundle;
25 | import android.view.Menu;
26 |
27 | import lu.fisch.canze.R;
28 | import lu.fisch.canze.widgets.WidgetView;
29 |
30 | public class WidgetActivity extends CanzeActivity {
31 |
32 | @Override
33 | protected void onCreate(Bundle savedInstanceState) {
34 | widgetView=true;
35 | widgetClicked=true;
36 |
37 | super.onCreate(savedInstanceState);
38 | setContentView(R.layout.activity_widget);
39 |
40 | WidgetView wv = findViewById(R.id.selectedWidget);
41 | wv.setClickable(false);
42 | if(WidgetView.selectedDrawable!=null) {
43 | wv.setDrawable(WidgetView.selectedDrawable);
44 | if(WidgetView.selectedDrawable.getField()!=null)
45 | wv.setFieldSID(WidgetView.selectedDrawable.getField().getSID());
46 | setTitle(WidgetView.selectedDrawable.getTitle());
47 | }
48 |
49 | }
50 |
51 | protected void initListeners () {}
52 |
53 | @Override
54 | protected void onDestroy() {
55 | WidgetView wv = findViewById(R.id.selectedWidget);
56 | wv.reset();
57 |
58 | super.onDestroy();
59 | }
60 |
61 | @Override
62 | protected void onResume() {
63 | super.onResume();
64 | widgetClicked=true;
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/fastlane/metadata/android/en-US/full_description.txt:
--------------------------------------------------------------------------------
1 | Description
2 | ---------------
3 | If you want to learn about your Renault ZOE electric vehicle, you’ve come to a good starting point. We will supply you with an app that displays driving stats and lots of interesting information about your car, all you need is a bluetooth OBDII dongle and an Android device. Note: CanZE will not work yet on a ZOE model ZE50
4 |
5 | More on http://canze.fisch.lu
6 |
7 |
8 | Informal warning
9 | -----------------------
10 | Before you download and use this software consider the following: you are interfering with your car and doing that with hardware and software beyond your control (and frankly, for a large part beyond ours), created by a loose team of interested amateurs in this field. Any car is a possibly lethal piece of machinery and you might hurt or kill yourself or others by using it, or even by paying attention to the display instead of watching the road. Be extremely prudent!
11 |
12 | By even downloading this software, or the source code provided on Github, you agree to have completely understand this.
13 |
14 |
15 | Formal disclaimer
16 | -----------------------
17 | CANZE ("THE SOFTWARE") IS PROVIDED AS IS. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS MAKE NO WARRANTIES AS TO PERFORMANCE OR FITNESS FOR A PARTICULAR PURPOSE, OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO ORAL OR WRITTEN COMMUNICATION FROM OR INFORMATION PROVIDED BY THE AUTHORS SHALL CREATE A WARRANTY. UNDER NO CIRCUMSTANCES SHALL THE AUTHORS BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM THE USE, MISUSE, OR INABILITY TO USE THE SOFTWARE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THESE EXCLUSIONS AND LIMITATIONS MAY NOT APPLY IN ALL JURISDICTIONS. YOU MAY HAVE ADDITIONAL RIGHTS AND SOME OF THESE LIMITATIONS MAY NOT APPLY TO YOU. THIS SOFTWARE IS ONLY INTENDED FOR SCIENTIFIC USAGE.
18 |
19 | Requested permissions
20 | -----------------------
21 | - location (ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION): Include location in optional local logging
22 | - Bluetooth (BLUETOOTH, BLUETOOTH_ADMIN): Canbus dongle communication
23 | - storage (WRITE_EXTERNAL_STORAGE and thus implicitly also READ_EXTERNAL_STORAGE): Optional writing of logs
24 | - network (INTERNET): Get app news from GitHub repo
25 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/TDB_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9401,Oil level sensor monitoring
2 | 9402,Fuel gauge monitoring
3 | 9403,Brake fluid level
4 | 9404,Warning Airbag telltale monitoring
5 | F003,Power supply monitoring
6 | 9414,Backlight Dimming level inputs monitoring
7 | 9415,High Side PWM outputs for backlight monitoring
8 | 9413,Error Configuration
9 | 9410,Trip computer input(s) monitoring
10 | C028,BUS OFF CAN V
11 | C037,BUS OFF CAN M
12 | 9423,FWS Frame Safety mechanisms
13 | 9424,SafetyBag triggering
14 | 9425,STOP Telltale diagnosis (SS1)
15 | 9426,SERVICE Telltale diagnosis (SS2)
16 | 940C,NVM monitoring
17 | 9412,ExternalTemperature Inputs monitoring
18 | 9422,EPS Frame Safety mechanisms
19 | C103,Perte trame VNodeSBW
20 | C118,Perte trame VNodeSCR
21 | C122,Perte trame VNodeESC
22 | C127,Perte trame VNodeTPMS
23 | E254,Perte trame NodeMULTIMEDIA_CANM
24 | C198,Perte trame VNodeEcall
25 | C19F,Perte trame VNodeMULTIDRIVE
26 | C235,Perte trame VNodeAEBS
27 | C244,Perte trame VNodeHFP_FAST
28 | E104,Perte trame NodeFWS
29 | C243,Perte trame VNodeHFP
30 | E10B,Perte trame NodeVADA
31 | E113,Perte trame NodeVSP
32 | E118,Perte trame NodeHFM
33 | C129,Perte trame VNodeTPW
34 | E13D,Perte trame NodeADB
35 | E140,Perte trame NodeECM
36 | E141,Perte trame NodeAT
37 | E143,Perte trame NodeHEVC
38 | E148,Perte trame NodeBrake_ABS_VDC Control Module
39 | E14A,Perte trame NodeETC_4GRIP
40 | E14F,Perte trame NodeBCM
41 | E150,Perte trame NodeACU
42 | E152,Perte trame NodeADAS
43 | E154,Perte trame NodeMULTIMEDIA_CANV
44 | E155,Perte trame NodeEPKB
45 | E159,Perte trame NodeEPS
46 | E15B,Perte trame NodeUSM
47 | E15F,Perte trame NodeRADAR
48 | E164,Perte trame NodeDSMU
49 | E165,Perte trame NodeUPA_SONAR
50 | E166,Perte trame NodeMBL
51 | E16B,Perte trame NodeFront_Camera
52 | E16D,Perte trame NodeTCU
53 | E173,Perte trame NodeHUD
54 | E176,Perte trame NodeIDM module
55 | E178,Perte trame NodeMAGIC_FOLDING
56 | 9406,Safety Monitoring Reset (Historical DTC only)
57 | 9416,+ Batt PWM monitoring
58 | 9405,HANDS OFF Telltale diagnosis
59 | E167,Perte trame NodeEBA
60 | 9428,EBA Frame Safety mechanism
61 | 9429,VDC EV/PHEV Frame Safety mechanism
62 | 940E,Loss of Ethernet connection
63 | 940F,Lost communication with Multimedia
64 | E174,Perte trame VNodeBSWSonar
65 | 9430,LCTakeOverFrame Safety mechanisms
66 | 9408,SBR telltale command monitoring (ext telltale)
67 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_alldata.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
19 |
20 |
23 |
24 |
25 |
26 |
29 |
30 |
35 |
36 |
37 |
38 |
39 |
40 |
45 |
46 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
64 |
65 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/PEB_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 1000,PEB Ctrl Board
2 | 1001,PEB Ctrl Board ADC
3 | 1002,PEB Ctrl Board ATIC81
4 | 1003,PEB Ctrl Board microprocessor
5 | 1004,Internal voltage sensor on HV side
6 | 1006,Interlock electrical circuit
7 | 1007,PEB HV DC link discharge failure
8 | 1009,14V supply wire (KL30)
9 | 100A,DCDC internal Power module Temp sensor
10 | 100B,DCDC internal Driver Board Temp sensor
11 | 100C,DCDC current sensor LV side
12 | 100D,DCDC Sigma delta voltage sensor 14V side
13 | 100E,DCDC internal MOS+drivers
14 | 100F,DCDC internal FPGA_CPLD component
15 | 1010,14V_DCDC wire
16 | 1011,HV_DCDC wire
17 | 1012,DCDC Temp
18 | 1013,INV internal temp sensor
19 | 1014,INV phase U internal current sensor
20 | 1015,INV phase V internal current sensor
21 | 1016,INV phase W internal current sensor
22 | 1018,INV internal FPGA_CPLD component
23 | 1019,HV_Inverter wire
24 | 101A,INV_EM Iphase
25 | 101B,INV_EM Phase U wire
26 | 101C,INV_EM Phase V wire
27 | 101D,INV_EM Phase W wire
28 | 101E,INV+EXCIT Temp
29 | 101F,EXCIT Temp sensor
30 | 1020,EXCIT +current sensor
31 | 1021,EXCIT -current sensor
32 | 1023,EM Iexcit signal
33 | 1024,APC by wire
34 | 1025,EM_SIN signal
35 | 1026,EM_COS signal
36 | 1027,EM_SIN_COS signals
37 | 1028,EM position sensor Supply signal
38 | 1029,Excitation current sensors
39 | 102A,EM_TEMP signal
40 | 102B,EMR Interlock electrical circuit
41 | 102C,EM Temp
42 | 102E,Spiderbox Interlock electrical circuit
43 | 102F,Excitation Interlock electrical circuit
44 | 1031,Switch power test procedure
45 | 1032,Software parametrization
46 | 1033,DCDC Trafo temp sensor
47 | 1034,DCDC Power Supply
48 | 1036,Program flow
49 | 1037,DCDC Failure Class C
50 | 1038,Inverter+ Excitation Failure Class C
51 | 1039,PEB Failure Class C
52 | 103A,Inverter Power Supply
53 | 103E,DCDC ADC voltage sensor 14V side
54 | 1040,DCDC voltage sensors 14V side
55 | 1041,Writing of rotor resistance
56 | 1042,Writing of the position sensor
57 | 1043,OV flags Data Received by CAN
58 | 1044,Torque request deviation
59 | D000,CAN communication
60 | D001,Communication with EVC
61 | D002,Torque request from EVC
62 | D004,Communication with LBC
63 | D003,14V Data from USM
64 | 1045,Incoherent requests from EVC
65 | D005,Communication in charge mode
66 | 1046,EM positive overspeed
67 | 1047,EM negative overspeed
68 | 1048,Wrong direction of the wheels
69 | 1049,PWM signal
70 | 1050,CPLD reprogramming
71 | 1052,PEB Failure Class B with safety alert
72 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/actors/VirtualField.java:
--------------------------------------------------------------------------------
1 | package lu.fisch.canze.actors;
2 |
3 | import java.util.Collection;
4 | import java.util.HashMap;
5 |
6 | import lu.fisch.canze.interfaces.FieldListener;
7 | import lu.fisch.canze.interfaces.VirtualFieldAction;
8 |
9 | /**
10 | * Created by robertfisch on 15.11.2015.
11 | */
12 | public class VirtualField extends Field implements FieldListener {
13 |
14 | // the list of fields this field depends on
15 | private final HashMap dependantFields;
16 |
17 | // the method to be executed for the calculation of this field
18 | private final VirtualFieldAction virtualFieldAction;
19 |
20 |
21 | public VirtualField(String responseId, HashMap dependantFields, int decimals, String unit, VirtualFieldAction virtualFieldAction)
22 | {
23 | // virtual frame added in the initialization block
24 | // super(Frames.getInstance().createVirtualIfNotExists(id), 0, 0, 1, 1, 0, unit, "", "", 0);
25 | // We're creating a new Field, frame 800, bit position 24-31, resolution 1, decimals 0, offset 0, given unit, empty requestId, given responseId, generic car
26 | super("", Frames.getInstance().getById(0x800), (short)24, (short)31, 1, 0, 0, unit, responseId, (short)0, null, null);
27 |
28 | // register dependant listeners
29 | for (Field field : dependantFields.values()) {
30 | if(field!=null)
31 | field.addListener(this);
32 | }
33 |
34 | this.dependantFields = dependantFields;
35 | this.virtualFieldAction = virtualFieldAction;
36 | this.virtual = true;
37 | this.setUnit(unit);
38 | this.setDecimals(decimals);
39 | }
40 |
41 | @Override
42 | public void onFieldUpdateEvent(Field field) {
43 | if(virtualFieldAction!=null) {
44 | setValue(virtualFieldAction.updateValue(dependantFields));
45 | }
46 | }
47 |
48 | @Override
49 | public void removeListener(FieldListener fieldListener)
50 | {
51 | // remove our listener
52 | super.removeListener(fieldListener);
53 |
54 | // remove listeners to dependant listeners
55 | for (Field field : dependantFields.values()) {
56 | fieldListeners.remove(this);
57 | }
58 | }
59 |
60 | public Collection getFields()
61 | {
62 | return dependantFields.values();
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CanZE
2 |
3 | You have to read and agree to the informal warning and the formal disclaimer at the end of this readme.md file!
4 |
5 | CanZE is an Android App that allows you to read out some useful information out of your Renault ZE car (actually Zoe,
6 | Kangoo & Fluence) that you cannot access using the on-board computer or display.
7 |
8 | The website can be found at http://canze.fisch.lu
9 |
10 |
11 | # Issues and language
12 |
13 | We strongly urge you to report bugs, issues and requests here on github using the issue system. You have to have a github account for that, but it offloads the team from an awful lot of administrative tasks, wasting valuable time that would better be spent on more productive work. You can report in English (preferred, and really, we don't mind language errors, NONE of the team members are native speakers!), German, French, Portuguese, Dutch and Danish, as long as you don't mind us answering in English, to keep things coordinated.
14 |
15 |
16 | # Informal warning
17 |
18 | Before you download and use this software consider the following:
19 | you are interfering with your car and doing that with hardware and software beyond your control (and frankly, for
20 | a large part beyond ours), created by a loose team of interested amateurs in this field. Any car is a possibly
21 | lethal piece of machinery and you might hurt or kill yourself or others using it, or even paying attention to
22 | the displays instead of watching the road. Be extremely prudent!
23 |
24 | By even downloading this software, or the source code provided on github, you agree to have completely understand this.
25 |
26 | # Formal disclaimer
27 |
28 | CANZE (“THE SOFTWARE”) IS PROVIDED AS IS. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS MAKE NO WARRANTIES AS TO
29 | PERFORMANCE OR FITNESS FOR A PARTICULAR PURPOSE, OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO ORAL OR
30 | WRITTEN COMMUNICATION FROM OR INFORMATION PROVIDED BY THE AUTHORS SHALL CREATE A WARRANTY. UNDER NO CIRCUMSTANCES
31 | SHALL THE AUTHORS BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM THE
32 | USE, MISUSE, OR INABILITY TO USE THE SOFTWARE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
33 | DAMAGES. THESE EXCLUSIONS AND LIMITATIONS MAY NOT APPLY IN ALL JURISDICTIONS. YOU MAY HAVE ADDITIONAL RIGHTS AND
34 | SOME OF THESE LIMITATIONS MAY NOT APPLY TO YOU. THIS SOFTWARE IS ONLY INTENDED FOR SCIENTIFIC USAGE.
35 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twizy/_Fields.csv:
--------------------------------------------------------------------------------
1 | # SID (defaults to ID.startBit.[responseId]), ID (hex), startBit, endBit, resolution, offset (aplied BEFORE resolution multiplication), decimals, unit, requestID (hex string), responseID (hex string), options (hex, see MainActivity for definitions), optional name, optional list
2 | # Dummies to avoid excessive Toast messages
3 | 7ec.623203.24,763,24,24,1,0,0,,999999,999999,ff,dummy
4 | 7ec.623204.24,763,24,24,1,0,0,,999999,999999,ff,dummy
5 | 5d7.0,763,24,24,1,0,0,,999999,999999,ff,dummy
6 | 7bc.624b7d.28,763,24,24,1,0,0,,999999,999999,ff,dummy
7 | 130.44,763,24,24,1,0,0,,999999,999999,ff,dummy
8 | 1f8.28,763,24,24,1,0,0,,999999,999999,ff,dummy
9 | 18a.27,763,24,24,1,0,0,,999999,999999,ff,dummy
10 | 77e.623025.24,763,24,24,1,0,0,,999999,999999,ff,dummy
11 | 186.16,763,24,24,1,0,0,,999999,999999,ff,dummy
12 | 764.6145.29,763,24,24,1,0,0,,999999,999999,ff,dummy
13 | 699.8,763,24,24,1,0,0,,999999,999999,ff,dummy
14 | 654.42,763,24,24,1,0,0,,999999,999999,ff,dummy
15 | 7ec.622006.24,763,24,24,1,0,0,,999999,999999,ff,dummy
16 | 793.625026.24,763,24,24,1,0,0,,999999,999999,ff,dummy
17 | #
18 | ,763,56,63,1,0,0,,2180,6180,ff,diagVersion
19 | ,763,64,87,1,0,0,,2180,6180,2ff,Supplier (string!)
20 | ,763,128,143,1,0,0,,2180,6180,ff,Soft
21 | ,763,5144,159,1,0,0,,2180,6180,ff,Version
22 | ,763,24,55,1,0,0,,22F18A,62F18A,2ff,systemSupplierIdentifier
23 | ,763,24,279,1,0,0,,22F194,62F194,2ff,systemSupplierECUSoftwareNumber
24 | ,763,24,279,1,0,0,,22F195,62F195,2ff,systemSupplierECUSoftwareVersionNumber
25 | ,763,24,31,1,0,0,,22F1A0,62F1A0,ff,diagnosticVersion
26 | ,7BB,56,63,1,0,0,,2180,6180,ff,diagVersion
27 | ,7BB,64,87,1,0,0,,2180,6180,2ff,Supplier (string!)
28 | ,7BB,128,143,1,0,0,,2180,6180,ff,Soft
29 | ,7BB,5144,159,1,0,0,,2180,6180,ff,Version
30 | ,7BB,24,55,1,0,0,,22F18A,62F18A,2ff,systemSupplierIdentifier
31 | ,7BB,24,279,1,0,0,,22F194,62F194,2ff,systemSupplierECUSoftwareNumber
32 | ,7BB,24,279,1,0,0,,22F195,62F195,2ff,systemSupplierECUSoftwareVersionNumber
33 | ,7BB,24,31,1,0,0,,22F1A0,62F1A0,ff,diagnosticVersion
34 | ,793,56,63,1,0,0,,2180,6180,ff,diagVersion
35 | ,793,64,87,1,0,0,,2180,6180,2ff,Supplier (string!)
36 | ,793,128,143,1,0,0,,2180,6180,ff,Soft
37 | ,793,5144,159,1,0,0,,2180,6180,ff,Version
38 | ,793,24,55,1,0,0,,22F18A,62F18A,2ff,systemSupplierIdentifier
39 | ,793,24,279,1,0,0,,22F194,62F194,2ff,systemSupplierECUSoftwareNumber
40 | ,793,24,279,1,0,0,,22F195,62F195,2ff,systemSupplierECUSoftwareVersionNumber
41 | ,793,24,31,1,0,0,,22F1A0,62F1A0,ff,diagnosticVersion
42 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/_Frames.csv:
--------------------------------------------------------------------------------
1 | #Frame ID,interval ZOE, interval FLUKAN, Sending ECU
2 | 023,4,4,AIBAG
3 | 0C6,10,10,EPS
4 | 12E,10,10,ESC
5 | 130,10,10,UBP
6 | 17A,10,10,EVC
7 | 17E,10,10,EVC
8 | 186,10,10,EVC
9 | 18A,10,10,EVC
10 | 1F6,10,10,EVC
11 | 1F8,10,10,EVC
12 | 1FD,100,100,EVC
13 | 212,20,20,USM
14 | 242,20,20,ESC
15 | 29A,20,20,ESC
16 | 29C,20,20,ESC
17 | 2B7,20,20,ESC
18 | 352,40,200,ESC
19 | 354,40,40,ESC
20 | 35C,100,100,BCM
21 | 391,50,50,CLIM
22 | 3B7,100,100,CLUSTER
23 | 3F7,60,60,EVC
24 | 427,100,100,EVC
25 | 42A,100,100,CLIM
26 | 42E,100,100,EVC
27 | 430,100,100,CLIM
28 | 432,100,100,EVC
29 | 433,1000,1000,CLUSTER
30 | 4F8,100,100,CLUSTER
31 | 500,100,100,BCM
32 | 505,100,100,BCM
33 | 511,100,100,EVC
34 | 534,100,100,BCM
35 | 552,100,100,BCM
36 | 563,100,100,EPS
37 | #5D1,60000,60000,CLUSTER # this frame is AFAIK only sent at bootup
38 | 5D7,100,100,ESC
39 | 5DA,100,100,EVC
40 | 5DE,100,100,BCM
41 | 5E9,100,100,UPA
42 | 5EE,100,100,BCM
43 | 62C,100,100,EPS
44 | 62D,500,500,EVC
45 | 634,100,100,TCU
46 | 637,500,500,EVC
47 | 638,100,100,EVC
48 | 646,500,500,CLUSTER
49 | 650,100,300,EVC
50 | 653,100,100,AIRBAG
51 | 654,500,500,EVC
52 | 656,100,100,CLUSTER
53 | 657,100,100,BCM
54 | 658,3000,3000,EVC
55 | 65B,100,100,EVC
56 | 665,3000,3000,CLUSTER
57 | 666,100,200,ESC
58 | 668,100,100,CLIMA
59 | 66A,100,100,EVC
60 | 66D,100,100,UBP
61 | 671,9999,100,
62 | 673,100,100,BCM
63 | 68B,100,100,CLUSTER
64 | 68C,1000,1000,CLUSTER
65 | 699,1000,1000,CLIMA
66 | 69F,1000,1000,BCM
67 | 6F8,100,100,USM
68 | 6FB,3000,3000,CLUSTER
69 | 702,100,100, # LINSCH
70 | 722,100,100,LINSCH
71 | 740,100,100, # ESC
72 | 742,100,100, # EPS
73 | 743,100,100, # CLUSTER
74 | 744,100,100, # CLIM
75 | 745,100,100, # BCM
76 | 74D,100,100, # USM
77 | 74E,100,100, # UPA
78 | 752,100,100, # AIBAG
79 | 75A,100,100, # PEB
80 | 760,100,100,ESC
81 | 762,100,100,EPS
82 | 763,100,100,CLUSTER
83 | 764,100,100,CLIM
84 | 765,100,100,BCM
85 | 76D,100,100,USM
86 | 76E,100,100,UPA
87 | 772,100,100,AIBAG
88 | 77E,100,100,PEB
89 | 792,100,100, # BCB
90 | 793,100,100,BCB
91 | 796,100,100, # LBC2
92 | 79B,100,100, # LBC
93 | 79C,100,100, # UBP
94 | 7B6,100,100,LBC2
95 | 7BB,100,100,LBC
96 | 7BC,100,100,UBP
97 | 7CA,100,100, # TCU
98 | 7DA,100,100,TCU
99 | 7DF,100,100, # Broadcast
100 | 7E4,100,100, # EVC
101 | 7EC,100,100,EVC
102 | 800,100,100,VFC
103 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/UCH_Dtcs.csv:
--------------------------------------------------------------------------------
1 | 9553,APC/ line
2 | 9562,AUTO_START_CLUTCH_PEDAL
3 | 95E3,Card Identifier Button1
4 | 95E5,Card Identifier Button2
5 | 95E7,Card Identifier Button3
6 | 95E9,Card Identifier Button4
7 | 95F0,Card Reader Com
8 | 95F1,Card ReaderAlim
9 | 95F4,Card ReaderSwitch
10 | 95B0,CHILDLOCK
11 | 9590,COMBI_SWITCH
12 | 953E,Default antenna Ext Left
13 | 953F,Default antenna Ext Right
14 | 9540,Default antenna Ext TR
15 | 953B,Default antenna int1
16 | 953C,Default antenna int2
17 | 953D,Default antenna int3
18 | 9533,DONGLE
19 | 957B,DTC_ACC1
20 | 957C,DTC_ACC2
21 | 957E,DTC_APC
22 | 957D,DTC_APC2
23 | 957A,DTC_BatTempRelay
24 | 9581,DTC_Defroster
25 | 9582,DTC_EepromFailure
26 | 9512,DTC_ElectronicIRXFailed
27 | 9579,DTC_FogLamp
28 | 9578,DTC_Glasshatch
29 | 9511,DTC_IRXComFailed
30 | 95D1,DTC_LeftFlashBulbOutage
31 | 95D7,DTC_LeftFlashOverload
32 | 9510,DTC_LVE
33 | 9574,DTC_PowerDoorlock
34 | 958A,DTC_PowerECU
35 | 9572,DTC_PowerFlasher
36 | 9573,DTC_PowerStopLamp
37 | 9571,DTC_PowerWiper
38 | 957F,DTC_PTC1
39 | 9580,DTC_PTC2
40 | 956D,DTC_PTC3
41 | 956E,DTC_PTC4
42 | 956F,DTC_PTC5
43 | 9586,DTC_RegistersFailure
44 | 95C3,DTC_Rheostat
45 | 95D0,DTC_RightFlashBulbOutage
46 | 95D6,DTC_RightFlashOverload
47 | 9585,DTC_RomFailure
48 | 9583,DTC_RoomL1
49 | 9584,DTC_RoomL2
50 | 9587,DTC_RoomL3
51 | 9588,DTC_RoomL4
52 | 9589,DTC_RoomL5
53 | 955B,DTC_SAFETY_LINE_SSD
54 | 9591,DTC_SteeringWheelHorn
55 | 9570,DTC_StopLamp
56 | 9577,DTC_Tailgate
57 | 9561,END_CLUTCH_PEDAL
58 | 9556,ESCL BCM Relay
59 | 9552,ESCL function
60 | 9551,ESCL module
61 | 9554,ESCL sensor line
62 | 9550,ESCL supply lines
63 | 95D3,LIGHT SENSOR
64 | 95D2,LINNETWORK
65 | 95D8,LINNETWORK2
66 | 9522,MASTER_MOTOR_FAILURE
67 | 9521,MOTOR_COMM_FAILURE
68 | 9567,ParkingBrakeStatus
69 | 9520,RAIN_SENSOR
70 | 95A0,REAR_WIPER_AUTOSTOP
71 | 95C1,SAFETY LINE BDU
72 | 9523,SLAVE_MOTOR_FAILURE
73 | 95D4,SOLAR SENSOR1
74 | 95D5,SOLAR SENSOR2
75 | 9560,START_CLUTCH_PEDAL
76 | 9563,STOP_PEDAL_DFT_11
77 | 9564,STOP_PEDAL_DFT_12
78 | 9565,STOP_PEDAL_DFT_21
79 | 9566,STOP_PEDAL_DFT_22
80 | 5A80,TPMS Function
81 | 5A82,TPMS VALVE1
82 | 5A83,TPMS VALVE2
83 | 5A84,TPMS VALVE3
84 | 5A85,TPMS VALVE4
85 | 9531,VSC BCM APV
86 | 9542,VSC BCM Atic64_Géneral_default
87 | 9532,VSC BCM Optical Sensor
88 | 9536,VSC BCM Optical Sensor ASS
89 | 9535,VSC BCM Optical Sensor DR
90 | 9538,VSC BCM Optical Sensor R_ASS
91 | 9537,VSC BCM Optical Sensor R_DR
92 | 9530,VSC BCM RF
93 | 5A60,TPMS_UNDER_INFLATED
94 | 5A72,TPMS_WHEEL_AVG
95 | 5A73,TPMS_WHEEL_AVD
96 | 5A74,TPMS_WHEEL_ARD
97 | 5A75,TPMS_WHEEL_ARG
98 | 9557,Bad ESCL Configuration
99 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE/_FramesAlt.csv:
--------------------------------------------------------------------------------
1 | #Frame ID,interval ZOE, interval FLUKAN, Sending ECU
2 | #023,4,4,AIBAG
3 | #0C6,10,10,EPS
4 | #12E,10,10,ESC
5 | #130,10,10,UBP
6 | #17A,10,10,EVC
7 | #17E,10,10,EVC
8 | 186,10,10,EVC
9 | 18A,10,10,EVC
10 | #1F6,10,10,EVC
11 | 1F8,10,10,EVC
12 | #1FD,100,100,EVC
13 | #212,20,20,USM
14 | #242,20,20,ESC
15 | #29A,20,20,ESC
16 | #29C,20,20,ESC
17 | #2B7,20,20,ESC
18 | #352,40,200,ESC
19 | #354,40,40,ESC
20 | #35C,100,100,BCM
21 | #391,50,50,CLIM
22 | #3B7,100,100,CLUSTER
23 | #3F7,60,60,EVC
24 | #427,100,100,EVC
25 | #42A,100,100,CLIM
26 | #42E,100,100,EVC
27 | #430,100,100,CLIM
28 | #432,100,100,EVC
29 | #433,1000,1000,CLUSTER
30 | #4F8,100,100,CLUSTER
31 | #500,100,100,BCM
32 | #505,100,100,BCM
33 | #511,100,100,EVC
34 | #534,100,100,BCM
35 | #552,100,100,BCM
36 | #563,100,100,EPS
37 | #5D1,60000,60000,CLUSTER # this frame is AFAIK only sent at bootup
38 | #5D7,100,100,ESC
39 | #5DA,100,100,EVC
40 | #5DE,100,100,BCM
41 | #5E9,100,100,UPA
42 | #5EE,100,100,BCM
43 | #62C,100,100,EPS
44 | #62D,500,500,EVC
45 | #634,100,100,TCU
46 | #637,500,500,EVC
47 | #638,100,100,EVC
48 | #646,500,500,CLUSTER
49 | #650,100,300,EVC
50 | #653,100,100,AIRBAG
51 | #654,500,500,EVC
52 | #656,100,100,CLUSTER
53 | #657,100,100,BCM
54 | #658,3000,3000,EVC
55 | 65B,100,100,EVC
56 | #665,3000,3000,CLUSTER
57 | #666,100,200,ESC
58 | #668,100,100,CLIMA
59 | #66A,100,100,EVC
60 | #66D,100,100,UBP
61 | #671,9999,100,
62 | #673,100,100,BCM
63 | #68B,100,100,CLUSTER
64 | #68C,1000,1000,CLUSTER
65 | 699,1000,1000,CLIMA
66 | #69F,1000,1000,BCM
67 | #6F8,100,100,USM
68 | #6FB,3000,3000,CLUSTER
69 | 702,100,100, # LINSCH
70 | 722,100,100,LINSCH
71 | 740,100,100, # ESC
72 | 742,100,100, # EPS
73 | 743,100,100, # CLUSTER
74 | 744,100,100, # CLIM
75 | 745,100,100, # BCM
76 | 74D,100,100, # USM
77 | 74E,100,100, # UPA
78 | 752,100,100, # AIBAG
79 | 75A,100,100, # PEB
80 | 760,100,100,ESC
81 | 762,100,100,EPS
82 | 763,100,100,CLUSTER
83 | 764,100,100,CLIM
84 | 765,100,100,BCM
85 | 76D,100,100,USM
86 | 76E,100,100,UPA
87 | 772,100,100,AIBAG
88 | 77E,100,100,PEB
89 | 792,100,100, # BCB
90 | 793,100,100,BCB
91 | 796,100,100, # LBC2
92 | 79B,100,100, # LBC
93 | 79C,100,100, # UBP
94 | 7B6,100,100,LBC2
95 | 7BB,100,100,LBC
96 | 7BC,100,100,UBP
97 | 7CA,100,100, # TCU
98 | 7DA,100,100,TCU
99 | 7DF,100,100, # Broadcast
100 | 7E4,100,100, # EVC
101 | 7EC,100,100,EVC
102 | 800,100,100,VFC
103 |
--------------------------------------------------------------------------------
/app/src/main/java/lu/fisch/canze/database/CanzeOpenHelper.java:
--------------------------------------------------------------------------------
1 | /*
2 | CanZE
3 | Take a closer look at your ZE car
4 |
5 | Copyright (C) 2015 - The CanZE Team
6 | http://canze.fisch.lu
7 |
8 | This program is free software: you can redistribute it and/or modify
9 | it under the terms of the GNU General Public License as published by
10 | the Free Software Foundation, either version 3 of the License, or any
11 | later version.
12 |
13 | This program is distributed in the hope that it will be useful,
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 | GNU General Public License for more details.
17 |
18 | You should have received a copy of the GNU General Public License
19 | along with this program. If not, see .
20 | */
21 |
22 | package lu.fisch.canze.database;
23 |
24 | import android.content.Context;
25 | import android.database.sqlite.SQLiteDatabase;
26 | import android.database.sqlite.SQLiteOpenHelper;
27 |
28 | import lu.fisch.canze.classes.Crashlytics;
29 |
30 | public class CanzeOpenHelper extends SQLiteOpenHelper {
31 | private static final int DATABASE_VERSION = 1;
32 | private static final String DATABASE_NAME = "lu.fisch.canze.db";
33 |
34 | CanzeOpenHelper(Context context) {
35 | super(context, DATABASE_NAME, null, DATABASE_VERSION);
36 | }
37 |
38 | @Override
39 | public void onCreate(SQLiteDatabase db) {
40 | try {
41 | // create the database
42 | db.execSQL("CREATE TABLE data (sid TEXT NOT NULL, moment INTEGER NOT NULL, value REAL NOT NULL)");
43 | // set an index on the "sid" field
44 | db.execSQL("CREATE INDEX indexSid ON data (sid)");
45 | //db.execSQL("CREATE TABLE data (id_data INTEGER PRIMARY KEY AUTOINCREMENT, sid TEXT NOT NULL, moment INTEGER NOT NULL, value REAL NOT NULL)");
46 | } catch (Exception e) {
47 | Crashlytics.logException(e);
48 | // do nothing
49 | }
50 | }
51 |
52 | @Override
53 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
54 | onCreate(db);
55 | }
56 |
57 | public void clear(SQLiteDatabase db) {
58 | try {
59 | db.execSQL("DROP TABLE IF EXISTS data");
60 | } catch (Exception e) {
61 | Crashlytics.logException(e);
62 | // do nothing
63 | }
64 | }
65 |
66 | public void reinit(SQLiteDatabase db) {
67 | clear(db);
68 | onCreate(db);
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/DCM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | AE09,Ecall Red LED
2 | AE08,Ecall Microphone
3 | AE0B,Ecall Auto LED
4 | AE0C,Ecall Blacklight LED
5 | AE0D,Ecall Button
6 | AE13,HU/NAVI USB
7 | AE14,SMS
8 | AE16,PPP Data Communication
9 | AE17,Vnext Authentification
10 | AE22,SIM
11 | AE24,CEP Certificate Expired
12 | AE25,CEP Certificate Revoked
13 | AE26,CEP Bad Certificate
14 | AE27,CEP Certificate Unsupported
15 | AE28,CEP Certificate Unknown
16 | AE30,CEP Unknown
17 | AE32,Audio Head-Unit Failure
18 | AE00,Battery Level
19 | AE06,Aux_In_Info/Tel_Mute_Out Failure
20 | AE34,Cellular Ext Antenna
21 | AE23,Cellular Registration Denied
22 | AE33,Speaker Failure
23 | AE4F,BCM Pairing DTC
24 | AE4E,Remote Actuator- PIN code missing
25 | AE4C,Remote Actuator without unknown ID
26 | AE4B,Remote Actuator without Cipher key
27 | AE49,Remote Actuator not Activated
28 | AE01,Internal Battery Status
29 | AE04,Internal Battery Capacity
30 | AE10,MIC OUT SIGNAL
31 | AE94,RELAY Control
32 | AE0E,System Internal Failure
33 | AE36,Accelerometer Failure
34 | AE15,VOICE FAILURE
35 | AE18,Vnext Functional
36 | AE19,Vnext Config
37 | AE21,Invalid A-IVC
38 | AE38,Vnext Master Authentication NOK
39 | AE39,Vnext Regional Authentication NOK
40 | AE3A,Vnext Master timeout
41 | AE3B,Vnext Regional timeout
42 | AE3C,Part ID is unknown
43 | AE3D,Bad Pairing A-IVC & VIN
44 | AE3E,No Certificate available
45 | AE3F,Part Certificate Verification fails
46 | AE41,A-IVC Authentication Fails
47 | AE42,A-IVC no Region Setting
48 | AE43,A-IVC Invalid Region Setting
49 | AE44,Region Setting Storage error
50 | AE45,A-IVC no Partition Setting
51 | AE46,A-IVC Invalid Partition Setting
52 | AE47,Partition Setting Storage error
53 | AE48,Service Check not complete
54 | AE29,CEP ILLEGAL PARAMETER
55 | E141,Lost communication with Automatic Transmission
56 | E14F,Lost communication with Body Control Module
57 | E140,Lost communication with Electronic Control Moteur
58 | E159,Lost communication with Electric Powered Steering
59 | E118,Lost communication with Hand Free Module
60 | E153,Lost communication with Climate Control
61 | E14E,Lost communication with Cluster
62 | E15B,Lost communication with Underhood Switching Module
63 | E148,Lost communication with Electronic Stability Control
64 | E143,Lost communication with Hybrid Electric Vehicle Control
65 | AE0A,Ecall Green LED
66 | AE11,A-IVC Overheat
67 | AE12,VIRGIN Configuration
68 | AE31,A-IVC Clock
69 | AE35,GNSS Ext Antenna
70 | C079,CAN V
71 | C074,CAN M
72 | AE05,Airbag Failure(eCall)
73 | AE37,Airbag Hardwire Malfunction
74 | AE40,Part Certificate Storage error
75 | AE50,HTTP Failures
76 | AE51,HTTP Server error
77 | AE0F,MODEM FAILURE
78 | E150,Lost communication with Airbag Control Unit
79 | E144,Lost communication with Lithium-ion Battery Controller
80 | E157,Lost communication with DC to DC Converter Control Module
81 | 9380,ECU Wifi module
82 |
--------------------------------------------------------------------------------
/app/src/main/assets/Twingo_3_Ph2/DCM_Dtcs.csv:
--------------------------------------------------------------------------------
1 | AE09,Ecall Red LED
2 | AE08,Ecall Microphone
3 | AE0B,Ecall Auto LED
4 | AE0C,Ecall Blacklight LED
5 | AE0D,Ecall Button
6 | AE13,HU/NAVI USB
7 | AE14,SMS
8 | AE16,PPP Data Communication
9 | AE17,Vnext Authentification
10 | AE22,SIM
11 | AE24,CEP Certificate Expired
12 | AE25,CEP Certificate Revoked
13 | AE26,CEP Bad Certificate
14 | AE27,CEP Certificate Unsupported
15 | AE28,CEP Certificate Unknown
16 | AE30,CEP Unknown
17 | AE32,Audio Head-Unit Failure
18 | AE00,Battery Level
19 | AE06,Aux_In_Info/Tel_Mute_Out Failure
20 | AE34,Cellular Ext Antenna
21 | AE23,Cellular Registration Denied
22 | AE33,Speaker Failure
23 | AE4F,BCM Pairing DTC
24 | AE4E,Remote Actuator- PIN code missing
25 | AE4C,Remote Actuator without unknown ID
26 | AE4B,Remote Actuator without Cipher key
27 | AE49,Remote Actuator not Activated
28 | AE01,Internal Battery Status
29 | AE04,Internal Battery Capacity
30 | AE10,MIC OUT SIGNAL
31 | AE94,RELAY Control
32 | AE0E,System Internal Failure
33 | AE36,Accelerometer Failure
34 | AE15,VOICE FAILURE
35 | AE18,Vnext Functional
36 | AE19,Vnext Config
37 | AE21,Invalid A-IVC
38 | AE38,Vnext Master Authentication NOK
39 | AE39,Vnext Regional Authentication NOK
40 | AE3A,Vnext Master timeout
41 | AE3B,Vnext Regional timeout
42 | AE3C,Part ID is unknown
43 | AE3D,Bad Pairing A-IVC & VIN
44 | AE3E,No Certificate available
45 | AE3F,Part Certificate Verification fails
46 | AE41,A-IVC Authentication Fails
47 | AE42,A-IVC no Region Setting
48 | AE43,A-IVC Invalid Region Setting
49 | AE44,Region Setting Storage error
50 | AE45,A-IVC no Partition Setting
51 | AE46,A-IVC Invalid Partition Setting
52 | AE47,Partition Setting Storage error
53 | AE48,Service Check not complete
54 | AE29,CEP ILLEGAL PARAMETER
55 | E141,Lost communication with Automatic Transmission
56 | E14F,Lost communication with Body Control Module
57 | E140,Lost communication with Electronic Control Moteur
58 | E159,Lost communication with Electric Powered Steering
59 | E118,Lost communication with Hand Free Module
60 | E153,Lost communication with Climate Control
61 | E14E,Lost communication with Cluster
62 | E15B,Lost communication with Underhood Switching Module
63 | E148,Lost communication with Electronic Stability Control
64 | E143,Lost communication with Hybrid Electric Vehicle Control
65 | AE0A,Ecall Green LED
66 | AE11,A-IVC Overheat
67 | AE12,VIRGIN Configuration
68 | AE31,A-IVC Clock
69 | AE35,GNSS Ext Antenna
70 | C079,CAN V
71 | C074,CAN M
72 | AE05,Airbag Failure(eCall)
73 | AE37,Airbag Hardwire Malfunction
74 | AE40,Part Certificate Storage error
75 | AE50,HTTP Failures
76 | AE51,HTTP Server error
77 | AE0F,MODEM FAILURE
78 | E150,Lost communication with Airbag Control Unit
79 | E144,Lost communication with Lithium-ion Battery Controller
80 | E157,Lost communication with DC to DC Converter Control Module
81 | 9380,ECU Wifi module
82 |
--------------------------------------------------------------------------------
/app/src/main/assets/ZOE_Ph2/UCH_Dtcs.csv:
--------------------------------------------------------------------------------
1 | AF08,ALARM_VOLUMETRIC
2 | AC55,ASSIST_DEFROSTER
3 | AFAC,AUTO_ACC_RL
4 | AC3B,AUTO_MIRROR_RL
5 | AF04,BCM_APV_CODE
6 | E150,CAN_ACU
7 | E152,CAN_ADAS
8 | E13D,CAN_ADB
9 | E114,CAN_ANC
10 | E141,CAN_ATCU
11 | E025,CAN_AUDIO_AMP
12 | C073,CAN_BCM
13 | E18B,CAN_BMS_12V
14 | E18C,CAN_CGW
15 | E181,CAN_CPLC
16 | E17C,CAN_DSMU
17 | E18F,CAN_DSU
18 | E112,CAN_EBA
19 | E140,CAN_ECM
20 | E155,CAN_EPKB
21 | E188,CAN_EVAP
22 | E16B,CAN_FR_CAMERA
23 | E143,CAN_HEVC
24 | E118,CAN_HFM
25 | E153,CAN_HVAC
26 | E154,CAN_IVI
27 | E14E,CAN_METER
28 | E169,CAN_PBD
29 | E16D,CAN_TCU
30 | E15B,CAN_USM
31 | E148,CAN_VDC
32 | AF03,CHILDLOCK
33 | AC39,CHILDLOCK_WL_RL
34 | AF74,CLUTCH_END_SW
35 | AF73,CLUTCH_START_SW
36 | AC95,COMBI_SWITCH
37 | AC91,DI_FR_SR_LEFT
38 | AC90,DI_FR_SR_RIGHT
39 | AC93,DI_RR_LEFT
40 | AC92,DI_RR_RIGHT
41 | AF00,DONGLE
42 | AC40,DPC
43 | AC54,DRIVER_DEFROSTER
44 | AF09,DRIVER_DOOR
45 | AC21,DRIVER_SEAT_BELT
46 | AF60,DRIVER_SEAT_BELT_CONF
47 | AFAA,EEPROM
48 | AF02,ETA
49 | AC99,FOG_LAMP
50 | AC41,IFLW
51 | AC42,IFRW
52 | AFAE,IGN_CAB_RL
53 | AFAF,IGN_OFFLOAD1_RL
54 | AFB0,IGN_OFFLOAD2_RL
55 | AC43,IRLW
56 | AC44,IRRW
57 | AC76,LCM01
58 | AC77,LCM02
59 | AC78,LCM03
60 | AC79,LCM04
61 | AC7A,LCM05
62 | AC7B,LCM06
63 | AC7C,LCM07
64 | AC7D,LCM08
65 | AC7E,LCM09
66 | AC7F,LCM10
67 | AC80,LCM11
68 | AC81,LCM12
69 | AC96,LIGHT_SENSOR
70 | DC01,LIN_ACCESS
71 | DC03,LIN_AMBIANT
72 | DC02,LIN_DOOR
73 | DC00,LIN_RLS
74 | ACB0,MASTER_MOTOR
75 | ACB3,MOTOR_COMM
76 | ACCF,PMU
77 | AC50,PTC1_RL
78 | AC51,PTC2_RL
79 | AC52,PTC3_RL
80 | AC70,PWM_ROOMLAMP_1
81 | AC71,PWM_ROOMLAMP_2
82 | AC72,PWM_ROOMLAMP_3
83 | AC73,PWM_ROOMLAMP_4
84 | AC74,PWM_ROOMLAMP_5
85 | AC75,PWM_ROOMLAMP_6
86 | AFA9,PWR_AT_LOCKED
87 | AFA8,PWR_AUTO_LIGHT
88 | AFA6,PWR_DOORLOCK1
89 | AFA7,PWR_DOORLOCK2
90 | AFAB,PWR_ECU
91 | AFA4,PWR_FLASHERS
92 | AFA5,PWR_STOP_LAMP
93 | AFA3,PWR_WIPER
94 | ACB4,RAIN_SENSOR
95 | AFA2,RAM
96 | AC53,REAR_DEFROSTER
97 | ACB5,REAR_WIPER
98 | AFA0,REGISTERS
99 | AFA1,ROM
100 | AFAD,ROOMLAMP_BATSAVER_RL
101 | AF07,SAFETY_LINE_ESCL
102 | AC22,SHIFTLOCK_RL
103 | ACB1,SLAVE_MOTOR
104 | AF99,SRU
105 | AFB1,SSM
106 | AF98,SSU
107 | AC20,ST_CUT_RELAY
108 | AC9A,STOP_LAMP_1_OR_2
109 | AC9B,STOP_LAMP_3
110 | AF70,STOP_PEDAL
111 | AF71,STOP_PEDAL_SW1
112 | AF72,STOP_PEDAL_SW2
113 | AF06,TAILGATE_OPENER
114 | 5741,TPMS_COMM_SENSOR_1
115 | 5742,TPMS_COMM_SENSOR_2
116 | 5743,TPMS_COMM_SENSOR_3
117 | 5744,TPMS_COMM_SENSOR_4
118 | 5700,TPMS_FUNCTION
119 | 5731,TPMS_SENSOR_1
120 | 5732,TPMS_SENSOR_2
121 | 5733,TPMS_SENSOR_3
122 | 5734,TPMS_SENSOR_4
123 | 5711,TPMS_WHEEL_1
124 | 5712,TPMS_WHEEL_2
125 | 5713,TPMS_WHEEL_3
126 | 5714,TPMS_WHEEL_4
127 | AC98,TRAILER_DI_LEFT
128 | AC97,TRAILER_DI_RIGHT
129 | AF05,TRANSPONDER
130 | ACB2,WIPER_TEACHIN
131 | AC38,WL_AUTHORIZATION_RL
132 | AC45,WL_CENTRAL_CLOSE_RL
133 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 | apply plugin: 'com.google.gms.google-services'
3 | apply plugin: 'com.google.firebase.crashlytics'
4 |
5 | android {
6 | signingConfigs {
7 | release {
8 | storeFile file("$project.rootDir/keystores/CanZeKeyStore.jks")
9 | storePassword 'canze4us!'
10 | keyAlias = 'canze-upload'
11 | keyPassword 'canze4us!'
12 | }
13 | }
14 | compileSdk 33
15 |
16 | defaultConfig {
17 | applicationId "lu.fisch.canze"
18 | minSdkVersion 21
19 | versionName '1.68beta2'
20 | versionCode 102
21 | }
22 | buildTypes {
23 | release {
24 | // minifyEnabled false
25 | // minifyEnabled true
26 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
27 | }
28 | //debug {
29 | // minifyEnabled true
30 | // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
31 | //}
32 | }
33 | flavorDimensions "edition"
34 | productFlavors {
35 | playstore {
36 | dimension "edition"
37 | }
38 | fdroid {
39 | dimension "edition"
40 | }
41 | }
42 | defaultConfig {
43 |
44 | targetSdk 33
45 | buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
46 | buildConfigField "String", "BRANCH", "\"" + getGitRevParseInfo() + "\""
47 | signingConfig signingConfigs.release
48 | }
49 | namespace 'lu.fisch.canze'
50 | lint {
51 | abortOnError false
52 | checkReleaseBuilds false
53 | disable 'TypographyFractions'
54 | }
55 | }
56 |
57 | def getGitRevParseInfo() {
58 | def cmd = "git rev-parse --abbrev-ref HEAD"
59 | def proc = cmd.execute()
60 | proc.text.trim()
61 | }
62 |
63 | dependencies {
64 | // BoM for the Firebase platform
65 | playstoreImplementation platform('com.google.firebase:firebase-bom:32.2.2')
66 |
67 | // Dependencies for the desired Firebase products without specifying versions
68 | playstoreImplementation 'com.google.firebase:firebase-analytics:21.3.0'
69 | playstoreImplementation 'com.google.firebase:firebase-crashlytics:18.4.0'
70 |
71 | implementation fileTree(include: ['*.jar'], dir: 'libs')
72 | implementation 'androidx.legacy:legacy-support-v4:1.0.0'
73 | implementation 'androidx.appcompat:appcompat:1.6.1'
74 | implementation 'me.drakeet.support:toastcompat:1.1.0'
75 | implementation 'com.google.code.gson:gson:2.10.1'
76 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
77 | implementation 'androidx.preference:preference:1.2.1'
78 |
79 | implementation 'com.google.firebase:firebase-crashlytics-ktx:18.4.0'
80 | implementation 'com.google.firebase:firebase-analytics-ktx:21.3.0'
81 |
82 | //implementation 'com.firebase:firebase-client-android:2.5.0'
83 |
84 |
85 | }
86 |
--------------------------------------------------------------------------------