uholeschak / ediabaslib

.NET BMW and VAG Ediabas interpreter library
GNU General Public License v3.0
653 stars 159 forks source link

Connect to ELM327 Deep OBD WiFi (ESP8266) with STA mode. #140

Closed shar34 closed 1 year ago

shar34 commented 1 year ago

I create WiFi access point on Android device and connect ESP8266 adapter to this network. I can get web interface, but in Deep OBD application there is no IP address manual setting: 1 2

If I connect Android device directly to ESP8266 WiFi point, buttons "read" and "device configurations" become available. Is possible set manual IP address (192.168.236.154 like my photo for example) when Android device in WiFi access point mode?

uholeschak commented 1 year ago

At the moment I am working to set the IP and port in the GUI manually. Then you could set any IP address for the adapter you want.

shar34 commented 1 year ago

I'll be waiting, thank you very much!

uholeschak commented 1 year ago

There will be a new beta when it's finished. You have to activate bete testing for the app.

uholeschak commented 1 year ago

In the current Beta there is the possibility to edit the adapter IP address and port in the menu. In Hotspot mode (AP on, WiFi off), you must enter the adapter assigned IP address and port otherwise communication will not start. There is no official support in Android for Hotspot mode in the app, so there is no guarantee that this will work.

shar34 commented 1 year ago

Tried on Android multimedia headunit, everything works well, thanks! 5

Maybe set port to 23 by default (in ELM327 Deep OBD WiFi ESP8266EX manual device configuration)?

uholeschak commented 1 year ago

Thanks for the info. You mean in Hotspot mode the default port is 23? Are there other WiFi devices that could be used in Hotspot mode that have port 35000?

shar34 commented 1 year ago

ESP-Link use 23 port by default in serial bridge: In order to connect through the esp-link to a microcontroller use port 23. Screenshot_20230129-133927_Deep_OBD

uholeschak commented 1 year ago

Yes I know, but the IP edit is also intended for other WiFi adapters in non Hotspot mode. All other adapters use port 35000. What I could perhaps do: If the port is missing and Hotspot mode is active, the default port would switch to 23, because only ESP is able to work in Hotspot mode.

uholeschak commented 1 year ago

In the next beta the default port in hotspot mode is 23 (if not specified).