27 lines
830 B
INI
27 lines
830 B
INI
; ELMulator — fake ELM327 OBD-II adapter for testing without a car.
|
|||
|
|
; Runs on a CLASSIC ESP32 (Bluetooth Classic SPP). Library lives in lib/ELMulator.
|
||
|
|
; One env per example: pio run -e simple | custom | wifi
|
||
|
|
|
||
|
|
[platformio]
|
||
|
|
default_envs = simple
|
||
|
|
|
||
|
|
[env]
|
||
|
|
platform = espressif32@6.10.0
|
||
|
|
board = esp32dev
|
||
|
|
framework = arduino
|
||
|
|
board_build.partitions = huge_app.csv
|
||
|
|
; upload_port = COMxx ; the classic ESP32's port (COM21 is the JC3636W518)
|
||
|
|
monitor_speed = 115200
|
||
|
|
monitor_filters = esp32_exception_decoder
|
||
|
|
|
||
|
|
; all Mode 01 PIDs answered with mock data, BT name "ELMULATOR"
|
||
|
|
[env:simple]
|
||
|
|
build_src_filter = +<simple/>
|
||
|
|
|
||
|
|
; custom PID handler + DTC response, BT name "ELMULATOR"
|
||
|
|
[env:custom]
|
||
|
|
build_src_filter = +<custom/>
|
||
|
|
|
||
|
|
; custom handler, BT name "OBDII" (matches what elm327_wifi_bridge connects to)
|
||
|
|
[env:wifi]
|
||
|
|
build_src_filter = +<wifi/>
|