An open API service indexing awesome lists of open source software.

https://github.com/yohannfra/generate_bluetooth_16_bits_uuid_json

Generate a json file with all the 16-bits ble identifiers
https://github.com/yohannfra/generate_bluetooth_16_bits_uuid_json

ble json python toolbox

Last synced: 3 months ago
JSON representation

Generate a json file with all the 16-bits ble identifiers

Awesome Lists containing this project

README

          

# generate_bluetooth_16_bits_uuid_json

A little script to generate a json file from the content of [this pdf](https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf) that describes all ble 16-bits identifiers.

I made this script to easily generate a dictionary to get identifier name from 16 bit raw bytes (for [this program](https://github.com/Yohannfra/ble_repl))

## Access fields

The [generated json](./ble_16_bits_uuids.json) is composed of these arrays:

```json
"16-bit UUID for Members": [],
"GATT Characteristic and Object Type": [],
"GATT Declarations ": [],
"GATT Descriptor": [],
"GATT Service": [],
"GATT Unit ": [],
"Protocol Identifier": [],
"SDO GATT Service": [],
"Service Classes and Profiles": [],
```

And all identifiers are objects with this format.

eg.
```json
{
"uuid": "0xFCE1",
"name": "Sony Group Corporation"
},
```