Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ Each device decoder must export:
- `name` (optional): If specified, the BLE device name must match this for the decoder to apply
- `manufacturer` (optional): If specified, the BLE manufacturer data must begin with this 2-byte manufacturer ID (in hex string form e.g. "9904")
- `serviceUUID` (optional): If specified, advertisement must contain this service UUID to match (in hex string form e.g. "fcd2")
- `advertisementDecode` (optional): Function to decode BLE manufacturer data in advertisements
- `servicedataDecode` (optional): Function to decode service data in BLE advertisements if the `serviceUUID` matches
- `advertisementDecode` (optional): Function to decode BLE manufacturer or service data in advertisements
- `start` (optional): Function called to start data collection from the device, typically for sending the command to start data streaming
- `stop` (optional): Function to stop data collection, typically for sending the command to stop data streaming
- `notify` (optional): Listeners to set up given a serviceUUID and characteristicUUID, these may return decoded data (or null when listening for other information, such as the device sensor scale factor)
Expand Down
Loading