Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup btle handles by UUID to support different hardware versions #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fredericgermain
Copy link

Hi,

Here is a test to have a universal version with your hardware and the
The one I got on 27 feb 2022 is from https://fr.aliexpress.com/item/1005002565904356.html

This version load char-desc mapping, and match uuid with handles. Hopefully they are the same as your hardware version.

UUID of interest are 0000ff01-0000-1000-8000-00805f9b34fb and 0000ff02-0000-1000-8000-00805f9b34fb.

handle: 0x0001, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x0002, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0003, uuid: 00002a05-0000-1000-8000-00805f9b34fb
handle: 0x0004, uuid: 00002902-0000-1000-8000-00805f9b34fb
handle: 0x0005, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x0006, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0007, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0008, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0009, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x000a, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x000b, uuid: 00002a04-0000-1000-8000-00805f9b34fb
handle: 0x000c, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x000d, uuid: 00002aa6-0000-1000-8000-00805f9b34fb
handle: 0x000e, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x000f, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0010, uuid: 0000ff01-0000-1000-8000-00805f9b34fb
handle: 0x0011, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0012, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0013, uuid: 0000ff02-0000-1000-8000-00805f9b34fb
handle: 0x0014, uuid: 00002902-0000-1000-8000-00805f9b34fb
handle: 0x0015, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0016, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0017, uuid: 0000ff03-0000-1000-8000-00805f9b34fb
handle: 0x0018, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0019, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x001a, uuid: 0000ff04-0000-1000-8000-00805f9b34fb
handle: 0x001b, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x001c, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x001d, uuid: 0000ff05-0000-1000-8000-00805f9b34fb
handle: 0x001e, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x001f, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0020, uuid: 0000ff06-0000-1000-8000-00805f9b34fb
handle: 0x0021, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0022, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0023, uuid: 0000ff07-0000-1000-8000-00805f9b34fb
handle: 0x0024, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0025, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0026, uuid: 0000ff08-0000-1000-8000-00805f9b34fb
handle: 0x0027, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0028, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0029, uuid: 0000ff09-0000-1000-8000-00805f9b34fb
handle: 0x002a, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x002b, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x002c, uuid: 0000ff0a-0000-1000-8000-00805f9b34fb
handle: 0x002d, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x002e, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x002f, uuid: 0000ff0b-0000-1000-8000-00805f9b34fb
handle: 0x0030, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0031, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0032, uuid: 0000fff0-0000-1000-8000-00805f9b34fb
handle: 0x0033, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0034, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0035, uuid: 0000fff1-0000-1000-8000-00805f9b34fb
handle: 0x0036, uuid: 00002901-0000-1000-8000-00805f9b34fb
handle: 0x0037, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x0038, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0039, uuid: 00002a29-0000-1000-8000-00805f9b34fb
handle: 0x003a, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x003b, uuid: 00002a24-0000-1000-8000-00805f9b34fb
handle: 0x003c, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x003d, uuid: 00002a25-0000-1000-8000-00805f9b34fb
handle: 0x003e, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x003f, uuid: 00002a27-0000-1000-8000-00805f9b34fb
handle: 0x0040, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0041, uuid: 00002a26-0000-1000-8000-00805f9b34fb
handle: 0x0042, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0043, uuid: 00002a28-0000-1000-8000-00805f9b34fb
handle: 0x0044, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0045, uuid: 00002a23-0000-1000-8000-00805f9b34fb
handle: 0x0046, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0047, uuid: 00002a2a-0000-1000-8000-00805f9b34fb
handle: 0x0048, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0049, uuid: 00002a50-0000-1000-8000-00805f9b34fb
handle: 0x004a, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x004b, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x004c, uuid: 0000ffd1-0000-1000-8000-00805f9b34fb
handle: 0x004d, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x004e, uuid: 0000ffd2-0000-1000-8000-00805f9b34fb
handle: 0x004f, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0050, uuid: 0000ffd3-0000-1000-8000-00805f9b34fb
handle: 0x0051, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0052, uuid: 0000ffd4-0000-1000-8000-00805f9b34fb
handle: 0x0053, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0054, uuid: 0000ffd5-0000-1000-8000-00805f9b34fb
handle: 0x0055, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0056, uuid: 0000ffd8-0000-1000-8000-00805f9b34fb
handle: 0x0057, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0058, uuid: 0000fff1-0000-1000-8000-00805f9b34fb
handle: 0x0059, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x005a, uuid: 0000fff2-0000-1000-8000-00805f9b34fb
handle: 0x005b, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x005c, uuid: 0000ffe0-0000-1000-8000-00805f9b34fb

@fredericgermain fredericgermain changed the title Pr/btle handles by UUID Lookup btle handles by UUID to support different hardware versions Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant