Setting up Custom BTLE Adapter

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

Setting up Custom BTLE Adapter

Post by thehoonery »

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: 10517
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Setting up Custom BTLE Adapter

Post by Harry »

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

Post by thehoonery »

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: 10517
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Setting up Custom BTLE Adapter

Post by Harry »

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: 10517
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Setting up Custom BTLE Adapter

Post by Harry »

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
Post Reply