bluetooth-spec-gatt
Bluetooth UUIDs from GATT specifications, gathered from bluetooth.org
var gatt = ; // getting temperature characteristicgattuuidcharacteristictemperature; "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" // how the unit looks likegattuuidunit"thermodynamic_temperature.degree_celsius"; // how about short UUID?var ref = gattuuidshortUUID"0x2A6E";refscope; // characteristicrefcode; // temperature gattuuidrefscoperefcode;
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