Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.48 KB

32.md

File metadata and controls

66 lines (44 loc) · 1.48 KB

0x32 BMBT Volume (Dial)

BMBT 0xf0 → Radio 0x68
BMBT 0xf0 → Telephone 0xc8

Related Commands

Example Frames

F0 04 68 32 10 BE
F0 04 68 32 30 9E
F0 04 C8 32 11 1F

Parameters

Fixed length. One byte bit field.

DIRECTION   = 0b0000_0001
STEPS       = 0b1111_0000

Direction 0b000_0001

DIRECTION_DOWN    = 0b0
DIRECTION_UP      = 0b1

Steps 0b1111_0000

Velocity of the control, i.e. the faster the control is turned, the greater the number of steps.

STEPS_MIN     = 0b0001
...
STEPS_MAX     = 0b1111

Use Cases

Radio Volume

Radio volume control is the default behaviour.

# Radio Volume Down
F0 04 68 32 10 BE   # -1 step
F0 04 68 32 20 8E   # -2 steps
F0 04 68 32 30 9E   # -3 steps
F0 04 68 32 40 EE   # -4 steps and so on...

# Radio Volume Up
F0 04 68 32 11 BF   # +1 step
F0 04 68 32 21 8F   # +2 steps
F0 04 68 32 31 9F   # +3 steps
F0 04 68 32 41 EF   # +4 steps and so on...

Telephone Volume (Handsfree)

In order for BMBT to send volume commands to Telephone 0xc8, telephone status must have "active" and "handsfree" bits set.

# Telephone Volume Down
F0 04 C8 32 10 1E   # 1 step etc..

# Telephone Volume Up
F0 04 C8 32 11 1F   # 1 step etc..