OBD2 BLE communication from iOS





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I will be using OBD2 device to get data form a car. I don't have the dongle yet, but am reading into how things should be done. As far as I understand the device should be with BLE on and should scan for peripherals with some specific service.



For example I need to get the speed of the vehicle. How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received. For devices using GATT profiles for example they could be found here: https://www.bluetooth.com/specifications/gatt/services . But I don't find any such documentation for OBD2. I found this answer: here and the first one here. As far as I understand they suggest I need to look through all peripherals and all services there and try all characteristics to find the needed ones and distinguish them by the response. Is this the only way to do this? I found also this project: here where some UUID is used but I cannot understand where it comes from. Any suggestions how to get the needed UUID-s?










share|improve this question























  • How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received - shouldn't that information be in your device's documentation?

    – mag_zbc
    Nov 22 '18 at 15:44











  • @mag_zbc Thanks for your response. I don't have the dongle yet, so I guess it is possible, but I thought they were the same for all OBD2 dongles because I think it should be possible for a device to scan for such services without having the exact UUID for every different dongle. But I may be misunderstanding it.

    – surToTheW
    Nov 22 '18 at 15:54











  • If the manufacturers say you need to read/wirte from a special characteristic they will provide the UDID for that characteristic. If there is no such UDID you can check (when you have the dongle) the characteristic properties (if it's read & write, if it's write & notify..etc) based on these properties you can figure some of the right charactersitics but this is not as good as the manufacturer specs.

    – danypata
    Nov 22 '18 at 16:11











  • @danypata Thanks. So I guess I am waiting for the dongle.

    – surToTheW
    Nov 22 '18 at 16:18











  • I gave an answer in stackoverflow.com/questions/52075456/…

    – DrMickeyLauer
    Dec 4 '18 at 9:01


















0















I will be using OBD2 device to get data form a car. I don't have the dongle yet, but am reading into how things should be done. As far as I understand the device should be with BLE on and should scan for peripherals with some specific service.



For example I need to get the speed of the vehicle. How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received. For devices using GATT profiles for example they could be found here: https://www.bluetooth.com/specifications/gatt/services . But I don't find any such documentation for OBD2. I found this answer: here and the first one here. As far as I understand they suggest I need to look through all peripherals and all services there and try all characteristics to find the needed ones and distinguish them by the response. Is this the only way to do this? I found also this project: here where some UUID is used but I cannot understand where it comes from. Any suggestions how to get the needed UUID-s?










share|improve this question























  • How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received - shouldn't that information be in your device's documentation?

    – mag_zbc
    Nov 22 '18 at 15:44











  • @mag_zbc Thanks for your response. I don't have the dongle yet, so I guess it is possible, but I thought they were the same for all OBD2 dongles because I think it should be possible for a device to scan for such services without having the exact UUID for every different dongle. But I may be misunderstanding it.

    – surToTheW
    Nov 22 '18 at 15:54











  • If the manufacturers say you need to read/wirte from a special characteristic they will provide the UDID for that characteristic. If there is no such UDID you can check (when you have the dongle) the characteristic properties (if it's read & write, if it's write & notify..etc) based on these properties you can figure some of the right charactersitics but this is not as good as the manufacturer specs.

    – danypata
    Nov 22 '18 at 16:11











  • @danypata Thanks. So I guess I am waiting for the dongle.

    – surToTheW
    Nov 22 '18 at 16:18











  • I gave an answer in stackoverflow.com/questions/52075456/…

    – DrMickeyLauer
    Dec 4 '18 at 9:01














0












0








0








I will be using OBD2 device to get data form a car. I don't have the dongle yet, but am reading into how things should be done. As far as I understand the device should be with BLE on and should scan for peripherals with some specific service.



For example I need to get the speed of the vehicle. How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received. For devices using GATT profiles for example they could be found here: https://www.bluetooth.com/specifications/gatt/services . But I don't find any such documentation for OBD2. I found this answer: here and the first one here. As far as I understand they suggest I need to look through all peripherals and all services there and try all characteristics to find the needed ones and distinguish them by the response. Is this the only way to do this? I found also this project: here where some UUID is used but I cannot understand where it comes from. Any suggestions how to get the needed UUID-s?










share|improve this question














I will be using OBD2 device to get data form a car. I don't have the dongle yet, but am reading into how things should be done. As far as I understand the device should be with BLE on and should scan for peripherals with some specific service.



For example I need to get the speed of the vehicle. How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received. For devices using GATT profiles for example they could be found here: https://www.bluetooth.com/specifications/gatt/services . But I don't find any such documentation for OBD2. I found this answer: here and the first one here. As far as I understand they suggest I need to look through all peripherals and all services there and try all characteristics to find the needed ones and distinguish them by the response. Is this the only way to do this? I found also this project: here where some UUID is used but I cannot understand where it comes from. Any suggestions how to get the needed UUID-s?







ios bluetooth-lowenergy obd-ii






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 '18 at 15:41









surToTheWsurToTheW

257114




257114













  • How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received - shouldn't that information be in your device's documentation?

    – mag_zbc
    Nov 22 '18 at 15:44











  • @mag_zbc Thanks for your response. I don't have the dongle yet, so I guess it is possible, but I thought they were the same for all OBD2 dongles because I think it should be possible for a device to scan for such services without having the exact UUID for every different dongle. But I may be misunderstanding it.

    – surToTheW
    Nov 22 '18 at 15:54











  • If the manufacturers say you need to read/wirte from a special characteristic they will provide the UDID for that characteristic. If there is no such UDID you can check (when you have the dongle) the characteristic properties (if it's read & write, if it's write & notify..etc) based on these properties you can figure some of the right charactersitics but this is not as good as the manufacturer specs.

    – danypata
    Nov 22 '18 at 16:11











  • @danypata Thanks. So I guess I am waiting for the dongle.

    – surToTheW
    Nov 22 '18 at 16:18











  • I gave an answer in stackoverflow.com/questions/52075456/…

    – DrMickeyLauer
    Dec 4 '18 at 9:01



















  • How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received - shouldn't that information be in your device's documentation?

    – mag_zbc
    Nov 22 '18 at 15:44











  • @mag_zbc Thanks for your response. I don't have the dongle yet, so I guess it is possible, but I thought they were the same for all OBD2 dongles because I think it should be possible for a device to scan for such services without having the exact UUID for every different dongle. But I may be misunderstanding it.

    – surToTheW
    Nov 22 '18 at 15:54











  • If the manufacturers say you need to read/wirte from a special characteristic they will provide the UDID for that characteristic. If there is no such UDID you can check (when you have the dongle) the characteristic properties (if it's read & write, if it's write & notify..etc) based on these properties you can figure some of the right charactersitics but this is not as good as the manufacturer specs.

    – danypata
    Nov 22 '18 at 16:11











  • @danypata Thanks. So I guess I am waiting for the dongle.

    – surToTheW
    Nov 22 '18 at 16:18











  • I gave an answer in stackoverflow.com/questions/52075456/…

    – DrMickeyLauer
    Dec 4 '18 at 9:01

















How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received - shouldn't that information be in your device's documentation?

– mag_zbc
Nov 22 '18 at 15:44





How should I know what is the UUID of the service I am looking for and what are the UUIDs of its characteristics and possibly some details about the data that should be received - shouldn't that information be in your device's documentation?

– mag_zbc
Nov 22 '18 at 15:44













@mag_zbc Thanks for your response. I don't have the dongle yet, so I guess it is possible, but I thought they were the same for all OBD2 dongles because I think it should be possible for a device to scan for such services without having the exact UUID for every different dongle. But I may be misunderstanding it.

– surToTheW
Nov 22 '18 at 15:54





@mag_zbc Thanks for your response. I don't have the dongle yet, so I guess it is possible, but I thought they were the same for all OBD2 dongles because I think it should be possible for a device to scan for such services without having the exact UUID for every different dongle. But I may be misunderstanding it.

– surToTheW
Nov 22 '18 at 15:54













If the manufacturers say you need to read/wirte from a special characteristic they will provide the UDID for that characteristic. If there is no such UDID you can check (when you have the dongle) the characteristic properties (if it's read & write, if it's write & notify..etc) based on these properties you can figure some of the right charactersitics but this is not as good as the manufacturer specs.

– danypata
Nov 22 '18 at 16:11





If the manufacturers say you need to read/wirte from a special characteristic they will provide the UDID for that characteristic. If there is no such UDID you can check (when you have the dongle) the characteristic properties (if it's read & write, if it's write & notify..etc) based on these properties you can figure some of the right charactersitics but this is not as good as the manufacturer specs.

– danypata
Nov 22 '18 at 16:11













@danypata Thanks. So I guess I am waiting for the dongle.

– surToTheW
Nov 22 '18 at 16:18





@danypata Thanks. So I guess I am waiting for the dongle.

– surToTheW
Nov 22 '18 at 16:18













I gave an answer in stackoverflow.com/questions/52075456/…

– DrMickeyLauer
Dec 4 '18 at 9:01





I gave an answer in stackoverflow.com/questions/52075456/…

– DrMickeyLauer
Dec 4 '18 at 9:01












0






active

oldest

votes












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%2f53434331%2fobd2-ble-communication-from-ios%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f53434331%2fobd2-ble-communication-from-ios%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

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents