ble-standard-identifiers
v1.1.0
Published
The current, publicly published Service, Characteristic, Declarations, and Descriptor IDs.
Downloads
1
Readme
ble-standard-identifiers
The current, publicly published Service, Declarations, Characteristic, and Descriptor IDs.
Usage
Step 1: Look up the description of the ID you want.
Step 2: Perform a lookup.
import { Services, Characteristics, Declarations } from "ble-standard-identifiers";
console.log(Services.id("Generic Access")); // 00001800
console.log(Characteristics.description("00002A06")); // Alert Level
console.log(Declarations.all); // [0x2803, 0x2802, 0x2800, 0x2801]