Package Exports
- ble-standard-identifiers
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ble-standard-identifiers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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]