ANDROID ELM327 / OBD2协议 [英] ANDROID ELM327/OBD2 PROTOCOL

查看:317
本文介绍了ANDROID ELM327 / OBD2协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从机器人发送命令到ELM327 / OBD2协议(WIFI诊断的麻烦)。 我下载了一个API或库:<一href="https://$c$c.google.com/p/android-obd-reader/">https://$c$c.google.com/p/android-obd-reader/ 这个API没有任何文件的问题。 我们需要帮助有关命令和协议来交换数据。 谢谢!

I am trying to send command from ANDROID to ELM327/OBD2 protocol (WIFI Diagnostic troubles). I downloaded an api or library from: https://code.google.com/p/android-obd-reader/ The problem that this api not have any documentation. We need help about the command and protocol to exchange data. Thanks!

推荐答案

那你真的想知道吗?

随着ELM327协议是相当容易的。您只需发送一个PID ASCII码,您将收到的ASCII答复。它是基于轮询。所以,你将获得1回答1请求。只要你不送,你不收。

With the ELM327 the protocol is fairly easy. You just send a PID in ASCII, and you will receive an answer in ASCII. It's based on polling. So you will receive 1 answer for 1 request. As long as you don't send, you don't receive.

有关转换,什么命令发送,检查我提供的链接。

For converting and what commands to send, check the links I provided.

一些更多的链接:

AT命令
OBD-II指令

这篇关于ANDROID ELM327 / OBD2协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆