ELM327 Bluetooth communication issueHow can I make continuous communication with OBD II ELM327 adapter?Ford CAN Data and ELM327Serial Port Communication using Bluetooth not Receiving Response, VC++, MFCobdII bluetooth with CANCaseXL toolBluetoothChat-to-ELM327 split response messageBluetoothSerial cordova plugin echoing writeBasic Serial-Communication over Bluetooth (Cmd Syntax Issue?)Android Bluetooth Serial Communication reads symbol “�”USB bluetooth dongle with PuTTYCommunicating with a Bluetooth OBDII dongle (I think it's an ELM327)

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

How can I use the arrow sign in my bash prompt?

Mapping a list into a phase plot

What is the oldest known work of fiction?

What would be the benefits of having both a state and local currencies?

Failed to fetch jessie backports repository

What are the ramifications of creating a homebrew world without an Astral Plane?

Is expanding the research of a group into machine learning as a PhD student risky?

Why "be dealt cards" rather than "be dealing cards"?

Products and sum of cubes in Fibonacci

Is it correct to write "is not focus on"?

Generic lambda vs generic function give different behaviour

Can I Retrieve Email Addresses from BCC?

How was Earth single-handedly capable of creating 3 of the 4 gods of chaos?

Can criminal fraud exist without damages?

Using parameter substitution on a Bash array

Can somebody explain Brexit in a few child-proof sentences?

What's a natural way to say that someone works somewhere (for a job)?

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Do there exist finite commutative rings with identity that are not Bézout rings?

If you attempt to grapple an opponent that you are hidden from, do they roll at disadvantage?

Do I need a multiple entry visa for a trip UK -> Sweden -> UK?

Confused about a passage in Harry Potter y la piedra filosofal

Student evaluations of teaching assistants



ELM327 Bluetooth communication issue


How can I make continuous communication with OBD II ELM327 adapter?Ford CAN Data and ELM327Serial Port Communication using Bluetooth not Receiving Response, VC++, MFCobdII bluetooth with CANCaseXL toolBluetoothChat-to-ELM327 split response messageBluetoothSerial cordova plugin echoing writeBasic Serial-Communication over Bluetooth (Cmd Syntax Issue?)Android Bluetooth Serial Communication reads symbol “�”USB bluetooth dongle with PuTTYCommunicating with a Bluetooth OBDII dongle (I think it's an ELM327)













0















I made an Android app to communicate with an ELM327 OBD-II dongle via bluetooth.
When I test the app with a bluetooth serial terminal (CoolTerm / macOS) the app is receiving and sending data without an issue.



Using my app to transfer commands to the ELM will result in broken and splitted answers.



Output:



DataReceivedHandler: 9V
DataReceivedHandler: 9V>
DataReceivedHandler: 11.
DataReceivedHandler: 9V>


Screenshot



The example above should show the result of the AT RV command which queries the battery's voltage of the vehicle (I sent the command multiple times).



Expected (good) result should look like this: >11.9V



Before I send the first command to query OBD values the ELM is initialized by these AT-commands:



AT D
AT Z
AT E0
AT L0
AT S0
AT H0
AT SP 0


If you have any idea how to get clear answers from the ELM, please let me know.



Thanks in advance!










share|improve this question



















  • 1





    Seems everything is ok, but you read and show only part of the data buffer. Please add source code of communication part to clarify issue.

    – Andrii Omelchenko
    Mar 21 at 17:09















0















I made an Android app to communicate with an ELM327 OBD-II dongle via bluetooth.
When I test the app with a bluetooth serial terminal (CoolTerm / macOS) the app is receiving and sending data without an issue.



Using my app to transfer commands to the ELM will result in broken and splitted answers.



Output:



DataReceivedHandler: 9V
DataReceivedHandler: 9V>
DataReceivedHandler: 11.
DataReceivedHandler: 9V>


Screenshot



The example above should show the result of the AT RV command which queries the battery's voltage of the vehicle (I sent the command multiple times).



Expected (good) result should look like this: >11.9V



Before I send the first command to query OBD values the ELM is initialized by these AT-commands:



AT D
AT Z
AT E0
AT L0
AT S0
AT H0
AT SP 0


If you have any idea how to get clear answers from the ELM, please let me know.



Thanks in advance!










share|improve this question



















  • 1





    Seems everything is ok, but you read and show only part of the data buffer. Please add source code of communication part to clarify issue.

    – Andrii Omelchenko
    Mar 21 at 17:09













0












0








0








I made an Android app to communicate with an ELM327 OBD-II dongle via bluetooth.
When I test the app with a bluetooth serial terminal (CoolTerm / macOS) the app is receiving and sending data without an issue.



Using my app to transfer commands to the ELM will result in broken and splitted answers.



Output:



DataReceivedHandler: 9V
DataReceivedHandler: 9V>
DataReceivedHandler: 11.
DataReceivedHandler: 9V>


Screenshot



The example above should show the result of the AT RV command which queries the battery's voltage of the vehicle (I sent the command multiple times).



Expected (good) result should look like this: >11.9V



Before I send the first command to query OBD values the ELM is initialized by these AT-commands:



AT D
AT Z
AT E0
AT L0
AT S0
AT H0
AT SP 0


If you have any idea how to get clear answers from the ELM, please let me know.



Thanks in advance!










share|improve this question
















I made an Android app to communicate with an ELM327 OBD-II dongle via bluetooth.
When I test the app with a bluetooth serial terminal (CoolTerm / macOS) the app is receiving and sending data without an issue.



Using my app to transfer commands to the ELM will result in broken and splitted answers.



Output:



DataReceivedHandler: 9V
DataReceivedHandler: 9V>
DataReceivedHandler: 11.
DataReceivedHandler: 9V>


Screenshot



The example above should show the result of the AT RV command which queries the battery's voltage of the vehicle (I sent the command multiple times).



Expected (good) result should look like this: >11.9V



Before I send the first command to query OBD values the ELM is initialized by these AT-commands:



AT D
AT Z
AT E0
AT L0
AT S0
AT H0
AT SP 0


If you have any idea how to get clear answers from the ELM, please let me know.



Thanks in advance!







android bluetooth elm327






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 21 at 15:35









Chad Gilbert

31.1k36078




31.1k36078










asked Mar 21 at 15:26









Martin PfefferMartin Pfeffer

5,77563759




5,77563759







  • 1





    Seems everything is ok, but you read and show only part of the data buffer. Please add source code of communication part to clarify issue.

    – Andrii Omelchenko
    Mar 21 at 17:09












  • 1





    Seems everything is ok, but you read and show only part of the data buffer. Please add source code of communication part to clarify issue.

    – Andrii Omelchenko
    Mar 21 at 17:09







1




1





Seems everything is ok, but you read and show only part of the data buffer. Please add source code of communication part to clarify issue.

– Andrii Omelchenko
Mar 21 at 17:09





Seems everything is ok, but you read and show only part of the data buffer. Please add source code of communication part to clarify issue.

– Andrii Omelchenko
Mar 21 at 17:09












1 Answer
1






active

oldest

votes


















0














Found the solution..



The terminal program was sending n and the ELM sends r for the termination of the statement.






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55283908%2felm327-bluetooth-communication-issue%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Found the solution..



    The terminal program was sending n and the ELM sends r for the termination of the statement.






    share|improve this answer



























      0














      Found the solution..



      The terminal program was sending n and the ELM sends r for the termination of the statement.






      share|improve this answer

























        0












        0








        0







        Found the solution..



        The terminal program was sending n and the ELM sends r for the termination of the statement.






        share|improve this answer













        Found the solution..



        The terminal program was sending n and the ELM sends r for the termination of the statement.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 21 at 17:14









        Martin PfefferMartin Pfeffer

        5,77563759




        5,77563759





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55283908%2felm327-bluetooth-communication-issue%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript