docs: add an example for streaming feature (#99)

This commit is contained in:
Dien-Nhung Nguyen
2025-07-22 05:54:46 +07:00
committed by GitHub
parent ac64530847
commit f625f57b02
3 changed files with 57 additions and 1 deletions

View File

@@ -231,3 +231,9 @@ Returns:
- Parameters out of range: `0xff`.
- `speed_ms` or `brightness_level` is out of allowed range: `0x02`.
- Success: `0x00`.
#### Example
There were some examples created for a better understanding of this next-gen protocol. This requires expect and bluez to be installed.
Put the badge in Bluetooth mode, or enable the always-on BLE. Identify the badges MAC address. Put it in the script. Then, in the project root directory, for example, run `./example/streaming.sh` to test the streaming feature.