ZGW Proxy - bill57p9/BMW_ZGW_emulator GitHub Wiki

Overview

The ZGW Proxy component looks to E-Sys/ISTA like the ENET connection on a car.

E-Sys/ISTA should be configured to connect to the proxy which will then route the messages appropriately between the actual ZGW and the CAN Gateway.

+---------------------------------------------------------+
|                           PC                            |
|                                                         |
| +------------------+               +------------------+ |
| |      E-Sys/      |               |                  | |
| |      ISTA/       |=====ENET=====>|     ZGW Proxy    | |
| |      Tool32      |               |                  | |
| +------------------+               +------------------+ |
|                                        |          =     |
+----------------------------------------|----------=-----+
                                         |          =
  +------------------+                  USB       ENET
  |                  |                   |          =
  |   CAN Gateway    |<------------------+     +---------+
  |                  |                         |   ZGW   |
  +------------------+                         +---------+
           X                                        X
XXXXXXXXXXXXXXXXXXXXXXXXX CAN BUS XXXXXXXXXXXXXXXXXXXXXXXXX  

Installation from package (Windows 64 bit)

The pre bundled package should work on any Windows 7/8/10 64 bit system.

  1. Download the ZIP bundle here
  2. Unzip the bundle

Using the proxy

These instructions assume Windows, which is a reasonable assumption given that E-Sys, ISTA and Tool32 are all Windows only.

  1. Connect the CAN Gateway via USB
  2. Use Device Manager to identify which COM port the CAN Gateway is connected. It will show as USB-SERIAL CH340
  3. Configure the serial port, either by editing config/default.json and changing the serialCANproxy.port parameter or setting the environment variable CAN_GW
  4. Configure the IP address of the actual ENET connection either by editing config/default.json and changing the icom.host and discover.address parameters or setting the environment variable ENET_ADDRESS
  5. Start the proxy by running proxy.cmd
  6. Connect E-Sys/ISTA/Tool32 to localhost / 127.0.0.1 The proxy should appear in the search list with your vehicle VIN but your IP address