I made a digital speedometer for my car using Hudiy's API, which requests the current speed and other parameters from the ELM327 device (over serial). My issue is that whenever I turn off my car (say I am stopping to get gas), the ELM327 device disconnects from Hudiy and, upon starting back up my car, does not automatically reconnect until I reboot the entire system. My question is, is it possible to have Hudiy automatically reconnect the ELM327 device upon turning off and on my car? Is this what the maxInvalidResponseCount is used for in the main_configuration.json? If so, would I just increase this value to some arbitrarily long number to avoid the device disconnection?
I appreciate the help