obd-ii

Android BLE peripheral disconnects with status code BLE_HCI_INSTANT_PASSED(0x28)

纵饮孤独 提交于 2020-07-09 17:02:11
问题 My application is able to connect to the BLE peripheral(which is an OBDII/J1939 device) device successfully. 2018-01-24 14:58:38,413 INFO LogUtil - GATT Server Status = (0) : BLE_HCI_STATUS_CODE_SUCCESS(0x00) 2018-01-24 14:58:38,414 INFO LogUtil - GATT Server New State = (2) : STATE_CONNECTED 2018-01-24 14:58:38,414 INFO LogUtil - Connected to GATT server. Application started communication with the device but after some time it received GATT server disconnection message in

What BLE characteristic should I use in a BLE IOS device for OBDII

冷暖自知 提交于 2020-05-30 17:15:34
问题 Hello I am wondering what write and notify characteristic I should use from this OBDII BLE device/Dongle?: I want to create a program for IOS in Flutter. There are quite a few : Device name: VEEPEAK Device id: 34E2B2AF-60F4-9362-DBF6-AD750321AABA Number of discovered Services: 3 Service Service: UUID: 0000180a-0000-1000-8000-00805f9b34fb Charac.: UUID: 00002a29-0000-1000-8000-00805f9b34fb Can read: true Can write: false Can notify: false Charac.: UUID: 00002a24-0000-1000-8000-00805f9b34fb Can

How to use BLE OBDII Peripheral

两盒软妹~` 提交于 2020-05-12 01:06:57
问题 I'm trying to create an iOS app that will read from an OBDII Bluetooth 4 (LE) device. I purchased a Vgate icar3 bluetooth(4.0) elm327 OBDII. I plug it into my car and find IOS-VLink peripheral that advertises some services. I can then get the characteristics for those services. These are the services I find: <CBService: 0x1780729c0, isPrimary = YES, UUID = Battery> <CBService: 0x178072a80, isPrimary = YES, UUID = 1803> <CBService: 0x178072ac0, isPrimary = YES, UUID = 1802> <CBService:

How to use BLE OBDII Peripheral

拜拜、爱过 提交于 2020-05-12 01:04:35
问题 I'm trying to create an iOS app that will read from an OBDII Bluetooth 4 (LE) device. I purchased a Vgate icar3 bluetooth(4.0) elm327 OBDII. I plug it into my car and find IOS-VLink peripheral that advertises some services. I can then get the characteristics for those services. These are the services I find: <CBService: 0x1780729c0, isPrimary = YES, UUID = Battery> <CBService: 0x178072a80, isPrimary = YES, UUID = 1803> <CBService: 0x178072ac0, isPrimary = YES, UUID = 1802> <CBService:

How to use BLE OBDII Peripheral

老子叫甜甜 提交于 2020-05-12 01:00:11
问题 I'm trying to create an iOS app that will read from an OBDII Bluetooth 4 (LE) device. I purchased a Vgate icar3 bluetooth(4.0) elm327 OBDII. I plug it into my car and find IOS-VLink peripheral that advertises some services. I can then get the characteristics for those services. These are the services I find: <CBService: 0x1780729c0, isPrimary = YES, UUID = Battery> <CBService: 0x178072a80, isPrimary = YES, UUID = 1803> <CBService: 0x178072ac0, isPrimary = YES, UUID = 1802> <CBService:

Is it possible to request all desired ODB II PIDs via a .dbc file?

孤街浪徒 提交于 2020-01-17 07:28:10
问题 What I'm looking to do is request all desired PIDs via a .dbc file made in Vector db Editor++. I understand enough about CAN communication to be able to do this with 1 or 2 PIDs because the DLC allows up to 8 bytes of data per CAN message. I am also familiar with this resource on querying and responses of PID https://en.wikipedia.org/wiki/OBD-II_PIDs#CAN_.2811-bit.29_bus_format What I'm having trouble understanding is how diagnostic tools are able to query every PID the manufacturer of a

Which GATT Profile and Services are used by OBD BLE Adapters like LELink, Automatic, Carista?

核能气质少年 提交于 2020-01-11 10:43:10
问题 I am exploring building apps (Android & iOS) for Car OBD2 Adapters that support BLE (Bluetooth Low Energy). In order for the app to be able to work with such adapters from different vendors, I presume there would be a standard set of GATT profile i.e. Services and Characteristics that these adapters would be using for standard features like engine RPM, Fuel level etc. Is this info available somewhere that I can refer while building the mobile app? 回答1: OBD2 BLE adapters don't use any fixed

Unable to communicate with ELM327 bluetooth

亡梦爱人 提交于 2020-01-03 03:08:09
问题 Here is my code for establishing a bluetooth connection with an ELM327 and comunicating with it using a laptop: import java.io.*; import java.util.Vector; import javax.bluetooth.*; import javax.microedition.io.Connector; import javax.microedition.io.StreamConnection; import javax.swing.*; public class elmbtooth implements DiscoveryListener { private static Object lock=new Object(); private static Vector remdevices=new Vector(); private static String connectionURL=null; public static void main

Communication with OBD-II using Windows Phone

删除回忆录丶 提交于 2019-12-25 08:28:12
问题 I have a problem with sending and receiving data from elm327 device. I tried to connect to the device using channel 01 (on Bluetooth) but it doesn't matter what command I send, I just receive the string "AT+BRSF=24\r" as an answer. I tried also to connect at channel 16 and there I receive a string "NO DATA" somebody knows what is the problem? thank you, Arie 回答1: The AT+BRSF=24 response sounds like you're communicating with the wrong Bluetooth device (perhaps a headset?). "NO DATA" sounds

OBD2Kit Swift example can't typecast, keep getting nil

蹲街弑〆低调 提交于 2019-12-23 16:03:37
问题 Since there was no example code for using OBD2Kit and Swift I forked it into https://github.com/YannisDC/OBD2Kit and used it as a pod. I translated some OBJ-C example code but can't seem to downcast the FLWiFiScanTool into the ELM327 type. Why do I keep getting nil? import UIKit import OBD2Kit class ViewController: UIViewController, FLScanToolDelegate { @IBOutlet weak var hostIpAddress: UITextField! var scanTool: ELM327! @IBOutlet weak var statusLabel: UILabel! @IBOutlet weak var