Setting up Custom BTLE Adapter

Discussions on all kinds of sensors (GPS, OBD, video/audio) and other accessories like mounts
thehoonery
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 4
Joined: Sat Jul 15, 2017 11:06 pm

Setting up Custom BTLE Adapter

Postby thehoonery » Tue Oct 17, 2017 2:48 pm

I am trying to use this BTLE adapter with iOS:

https://www.amazon.com/LELink-Bluetooth ... low+energy

The adapter connects to the phone automatically with other apps, but I can't figure out how connect it to Lap Timer. When I click on "Custom BTLE OBD," this field comes up:

https://i.imgur.com/HuJfFae.png

I don't know what to enter, and regardless of what I enter,I do not get the following configuration screens as exampled in this thread:
viewtopic.php?f=39&t=2748

Is it possible to use this adapter? Thanks.


User avatar
Harry
Site Admin
Site Admin
Posts: 8370
Joined: Sun Sep 12, 2010 10:32 am
Location: Cologne, Germany
Has thanked: 97 times
Been thanked: 349 times
Contact:

Re: Setting up Custom BTLE Adapter

Postby Harry » Thu Oct 19, 2017 11:22 am

You need to configure connection parameters for Custom BTLE OBD Adapter in LapTimer's Expert Settings. You need to sniff the UUIDs required using a tool like LightBlue. All for fields are required, the first one needs to match the adapter's name (otherwise LapTimer will not connect). Please be precise with all these entries, LapTimer has only limit error checking in this area. If values are wrong it will simply not connect. Furthermore, please "cold start" the app after each changed (send to background, kill, restart).

- Harry


Image Image Image Image
thehoonery
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 4
Joined: Sat Jul 15, 2017 11:06 pm

Re: Setting up Custom BTLE Adapter

Postby thehoonery » Fri Oct 27, 2017 6:06 am

So these are the values I'm getting from LightBlue, and what I entered

Image

Image

Image

1) Peripheral name. It just says OBDBLE in Lightblue. Is this correct?
2) Service UUID, seems correct.
3) Read Characteristics. Same value as Write?
4) Write Characteristics. Same value as Read?

Can you confirm I'm using the correct Name? Also, there is no distinction for Read/Write, and there is no other unique UUID value that fits the parameters. Should I be using the same value for both?

I tried to connect, without success, but now that I'm back at a computer I realize I did not restart the app before trying. I will try again next chance I have.


User avatar
Harry
Site Admin
Site Admin
Posts: 8370
Joined: Sun Sep 12, 2010 10:32 am
Location: Cologne, Germany
Has thanked: 97 times
Been thanked: 349 times
Contact:

Re: Setting up Custom BTLE Adapter

Postby Harry » Fri Oct 27, 2017 8:42 am

Try using a 128bit service UUID. You need to set positions 4 to 8 of the base uuid to FFE1: https://www.bluetooth.com/specification ... -discovery


Image Image Image Image
User avatar
Harry
Site Admin
Site Admin
Posts: 8370
Joined: Sun Sep 12, 2010 10:32 am
Location: Cologne, Germany
Has thanked: 97 times
Been thanked: 349 times
Contact:

Re: Setting up Custom BTLE Adapter

Postby Harry » Mon Nov 13, 2017 4:23 pm

The BT LE base id is

Code: Select all

00000000-0000-1000-8000-00805F9B34FB

Setting positions 4 to 8 to the 16 bit UUID FFE1 makes it

Code: Select all

0000FFE1-0000-1000-8000-00805F9B34FB

- Harry


Image Image Image Image

Return to “Accessories”

Who is online

Users browsing this forum: No registered users and 2 guests