bluetooth-spec-gatt
Bluetooth UUIDs from GATT specifications,
gathered from bluetooth.org
var gatt = require('bluetooth-spec-gatt');
gatt.uuid.characteristic.temperature;
{
"title": "Temperature",
"code": "temperature",
"id": "0x2A6E",
"fields": [
{
"name": "Temperature",
"informativetext": "Unit is in degrees Celsius with a resolution of 0.01 degrees Celsius",
"requirement": "Mandatory",
"format": "sint16",
"unit": "thermodynamic_temperature.degree_celsius",
"decimalexponent": "-2"
}
]
}
gatt.uuid.unit["thermodynamic_temperature.degree_celsius"];
var ref = gatt.uuid.shortUUID["0x2A6E"];
ref.scope;
ref.code;
gatt.uuid[ref.scope][ref.code];
Complex characteristics such as Enumeration
and Bitfield
is also parsed.
Fields such as Abstract
, Summary
, Example
and Notes
not parsed.
Services lacks characteristics and descriptors.
uuid.js
is generated, rebuild it with npm run fetch-uuids