Comments (3)
HID reports with Report IDs are one byte bigger than what's in the HID Report Descriptor, in order to hold the Report ID.
from blink1.
HID reports with Report IDs are one byte bigger than what's in the HID Report Descriptor, in order to hold the Report ID.
But as per your document, the first byte is also already report_id
:
- byte 0 = 0x01 (report_id )
- byte 1 = 'c' (command "fade to rgb")
- byte 2 = red value
- byte 3 = green value
- byte 4 = blue value
- byte 5 = th (fadeMillis/10 high byte)
- byte 6 = tl (fadeMillis/10 low byte)
- byte 7 = ledn (unused on mk1, 0=all on mk2)
So actually the byte 8
exists, but always set as 0?
from blink1.
And what's the HID Report Descriptor part of blink(1)? From byte 1 to byte 8 (and the byte 8 is omitted)?
from blink1.
Related Issues (20)
- Big Sur Support HOT 11
- I really wanna drive my CircuitPlayground, RGB lights, and everything with this. HOT 1
- HTTP API: Typo in blink(1) Status JSON? Quotes issue? HOT 1
- "certificate has expired" HOT 1
- How to send POST or GET to control blink(1)? HOT 4
- Some notes regarding blink(1) mk3 powered by Mac keyboard USB hub HOT 1
- Failed to compile the blink1mk2 firmware HOT 2
- Cannot Add Pattern with API HOT 1
- blink1control2 can't find device HOT 3
- cannot install as directory blink1/commandline does not exist
- how can i upgrade the firmware?
- What's the `Set ledn` for? HOT 1
- Availability and Status of blink(1) product in Far East HOT 2
- confusing ledn definition for read current color cmd
- what's `Test command format: { 1, '!', 0,0,0, 0,0, 0 }` and how to use it?
- Differentiating between blink(1) Devices (mk1, mk2, mk3) in a C++ Application
- Inconsistent Position Definition for Serverdown Tickle and PlayLoop HOT 2
- Fail to Set Individual LED RGB Color (command: 'n') for mk2 Devices HOT 1
- blink1-tool folder in openwrt is empty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blink1.