obd-ii

Make Android simultaneously use WiFi to talk to a device and mobile data to talk to a server?

末鹿安然 提交于 2019-11-27 19:51:40
I'm developing an Android application which connects to an OBD2 device by Wifi and app can read Speed, RPM, Engine coolant temperature details etc. So wifi is used only for connecting with the OBD2 device(it doesn't have facility to connect with internet, only for communication with local clients). I also need an internet connection for web services. But after connecting my wifi I am not able to connect internet via my mobile data network in android. The similar application is also developed for iOS. In iOS, I can use device over Wifi (Static Wifi setting) and Internet connection from my

Send multiple OBD commands together and get response simultaneously

倖福魔咒の 提交于 2019-11-27 12:30:52
问题 I'm working on application which connects OBD2 adapter and getting the real time data like speed,rpm,throttle position etc..When I read one command at a time, it works fine like by sending command "010C\r", I get current RPM. I think that sending multiple commands in one request is not possible.But in other applications like EngineLink HD ,Dashcommand, we found that multiple components are updated at a time like if we are driving the car and check the RPM,Sped and Throttle then they are

Unable to send ATZ command to ELM 327 after establishing connection with ELM327 in android

為{幸葍}努か 提交于 2019-11-27 07:02:31
问题 I have written a code which is successfully able to find the paired OBD and establish the connection with ELM327 but when i am trying to send ATZ command the application gets crash. Here's the code snippet, I may have done wrong public HashMap<String, String> startOBDCommunicator( BluetoothSocket btSocketConnected, String paramClassName, String methodName) { HashMap<String, String> dataRetriever = new HashMap<String, String>(); sendDataToOBD(btSocketConnected, "ATZ\r"); dataRetriever.put(