Page 1 of 1

Setting up Custom BTLE Adapter

Posted: Tue Oct 17, 2017 2:48 pm
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.

Re: Setting up Custom BTLE Adapter

Posted: Thu Oct 19, 2017 11:22 am
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

Re: Setting up Custom BTLE Adapter

Posted: Fri Oct 27, 2017 6:06 am
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.

Re: Setting up Custom BTLE Adapter

Posted: Fri Oct 27, 2017 8:42 am
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

Re: Setting up Custom BTLE Adapter

Posted: Mon Nov 13, 2017 4:23 pm
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