Comments (7)
This Scanner has 2 Bluetooth Connections/Modules "Android-Vlink" and "IOS-Vlink". Only the last one uses BLE. Just bought one because of this to try it an maybe tinkering with BLE later.
from elmduino.
Anyone used one of these before, successfully ?
from elmduino.
The library does not support BLE scanners - not even sure how you got this far with your device. Perhaps try increasing the timeout value to an insane value like 10 seconds or so
from elmduino.
@themagicm this looks like an issue I've encountered and am working through today. The quick and dirty fix is that given by @PowerBroker2 - bump up the timeout - I'm using 20 sec. and that works although you may not get data on your first query.
The more robust fix is to modify the initializeELM() method to complete the protocol search when using AUTO protocol value. My fix looks like this:
if ((String)protocol == "0")
{ //Auto search for protocol
sprintf(command, TRY_PROT_H_AUTO_SEARCH, protocol);
if (sendCommand_Blocking(command) == ELM_SUCCESS)
{ // Now we need to send OBD command to initiate protocol search
if (sendCommand_Blocking("0100") == ELM_SUCCESS)
{// Not using the return value currently, but it gives a list of supported PIDs
connected = true;
return connected;
}
}
}
else
{
// set protocol
}
from elmduino.
Would you be cool with submitting a PR?
from elmduino.
from elmduino.
Merged
from elmduino.
Related Issues (20)
- batteryVoltage() returns zero HOT 2
- Adapter version HOT 3
- Help with Volkswagen MEB (ID.3, Skoda Enyaq etc.) needed HOT 8
- Reading more values HOT 11
- ELMulator - a useful tool for your ELMDuino development
- ELM_TIMEOUT only when using eSPI library for TFT Display HOT 1
- Value returned by supportedPIDS_xx_xx() methods is off by one bit. HOT 4
- Issue in getting the value of oilTemp() HOT 1
- Custom PIDs HOT 14
- set a special pisd of ELMDUINO with header HOT 9
- Setting Protocol not working correctly HOT 6
- Problem querying data with ESP32 HOT 5
- custom pid no response HOT 1
- Sending false Command? HOT 5
- Custom PID for KM since last DPF regeneration HOT 2
- Crash on calling batteryVoltage() HOT 7
- ELM327::isPidSupported Error
- Custom PID, how it works HOT 9
- PID 70: Boost pressure control (Service 01) HOT 1
- Problem with flashing RPM value on OLED when using latest version of ELMduino HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elmduino.