blob: 5402e1604ba2fe6d17423be89e88f562722cc8fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//! Status protocol for the MMX 150 wireless dongle (reverse-engineered).
//!
//! Placeholder: the dongle rejects `GET_FEATURE`/`GET_INPUT` control
//! transfers, so the status query is a write-then-read exchange over the
//! vendor output/feature reports. The exact command bytes and the response
//! layout for battery level and headset link state are being determined in
//! Phase 1 (see `src/bin/probe.rs`).
/// Vendor output report IDs available on the dongle.
pub mod reports {
/// 60-byte output/feature report.
pub const OUT_60_A: u8 = 0x2a;
/// 60-byte feature report.
pub const FEAT_60_B: u8 = 0x2b;
/// 60-byte output/feature report.
pub const OUT_60_C: u8 = 0x3a;
/// 60-byte feature report.
pub const FEAT_60_D: u8 = 0x3b;
/// 16-byte output report.
pub const OUT_16_A: u8 = 0x2d;
/// 16-byte output report.
pub const OUT_16_B: u8 = 0x3d;
}
|