Fohhn-Net protocol documentation - © Fohhn Audio AG - 15.04.20116 / 8
Set Routing
Master sends
1. Byte Startbyte 0xF0
2. Byte Device Address 0x01 .. 0xFE
3. Byte Databyte Count 0x03
4. Byte Command Byte 0x81 // command SetRouting
5. Byte Channels 0xXX // output channels
6. Byte Index 0x0X // input channel
7. Byte Volume_H 0xXX // gain
8. Byte Volume_L 0xXX // gain
9. Byte Flags 0xXX // flags
Acknowledge from Fohhn Audio DSP (slave)
1. Byte Device Address 0x01 .. 0xFE
2. Byte Startbyte 0xF0 // end of reply
Example: set routing for device 1, output channel 1
Input 1 0.0dB On: 0xF0 0x01 0x03 0x81 0x01 0x01 0x00 0x00 0x01
Input 3 0.0dB On: 0xF0 0x01 0x03 0x81 0x01 0x03 0x00 0x00 0x01
Input 1 0.0dB Off: 0xF0 0x01 0x03 0x81 0x01 0x01 0x00 0x00 0x00
Input 3 0.0dB Off: 0xF0 0x01 0x03 0x81 0x01 0x03 0x00 0x00 0x00
Notes
You can set multiple output channels with one command.
Each output channel has a value:
Output channel 1: 0x01
Output channel 2: 0x02
Output channel 3: 0x04
Output channel 4: 0x08
Output channel 5: 0x10
Output channel 6: 0x20
Examples:
For channel 1 and 2, this is 0x03
For all channels 1 to 6, the value is 0x3F
You can set one input channel with one command, only.
Input channel 1: 0x01
Input channel 2: 0x02
Input channel 3: 0x03
Input channel 4: 0x04
Input channels can not be combined.
The gain is a 16-bit signed value. (value * 10)
Flags 0x01 is on, 0x00 mute.