Download as PDF
AUDAC - Inspired by sound
Hardware command manual

NWP220

Network input panel - 2 x XLR + BT (4 CH)

Table of contents

NWP220 Commands List

ASCII Commands (NWP220 1.0.2)

This is the list of ASCII Commands supported by this device. An ASCII command always follows the same structure:

#|Destination|Source|Type^Target^Command|Arguments|CRC|CRLF

This format uses 3 separator characters for different levels of separating each value in the message:

Messages are Case sensitive, if the example shows the text in uppercase, this should always be uppercase!

Destination

The target device. This consists of 2 parts: Device>Address.

Device
This is the device type: NWP220

Address
This is the user configurable device address, default: 1. You can also leave this field empty, this results in all Nwp220 devices that receive this command to respond.

ExamplesDestination
default destinationNWP220>1
broadcast to all Nwp220 devicesNWP220

Device Matching

If the device type or address does not match, the message will be ignored. Device Address 0 is a special address and will always match (this can be seen as a broadcast)

DestinationDevice address: NWP220>2Remarks
NWP220>2Destination Matches Devicethis is an exact match
NWP220>1Message ignoredthe destination address does not match
NWP220Destination Matches Devicethe destination address will always match
NWP220>0Destination Matches DeviceEquivalent to NWP220
CLIENT>2Message ignoredthe device type does not match
CLIENTMessage ignoredthe device type does not match

Source (optional)

The source address is optional when sending, but the device will always fill this field with its own address.

Examplessent messageresponse message NWP220>2
broadcast to a Nwp220#|NWP220||...|<CRLF>#||NWP220>2|...|<CRLF>
send to a specific Nwp220#|NWP220>2||...|<CRLF>#||NWP220>2|...|<CRLF>
use a source address in the request message#|NWP220|CLIENT>1|...|<CRLF>#|CLIENT>1|NWP220>2|...|<CRLF>

Type

The type explains what the message wants to do. There are 3 supported message types:

TypeFromToExplanation
SET_REQCLIENTNwp220Change a setting in the Nwp220
GET_REQCLIENTNwp220Request the current status of a setting in the Nwp220
GET_RSPNwp220CLIENTResponse to either a GET_REQ or SET_REQ, if the request was valid

Command, Target, Arguments

These 3 parameters are explained together, because they influence each other. The command dictates the meaning of the argument, while the target distinguishes which exact setting you want to change. the target can also influence the valid range of the argument.

Some commands (like the mixer) can have a range arguments (for the mixer: all mixer volumes are an individual argument). In this case, the argument looks like: idx>val[^idx2>val2], where the part in between the brackets [] can appear 0 or more times.

VOLUME

Set a single Volume in dB

Argument (volume)
the requested Volume in dB

TargetArgumentExample (default value)
INPUT_XLR>1>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_XLR>1>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_XLR>2>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_XLR>2>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_BLUETOOTH>1>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_BLUETOOTH>1>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_BLUETOOTH>2>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_BLUETOOTH>2>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_DANTE>1>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_DANTE>1>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_DANTE>2>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_DANTE>2>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_DANTE>3>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_DANTE>3>VOLUME>1^VOLUME|0|U|<CRLF>
INPUT_DANTE>4>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^INPUT_DANTE>4>VOLUME>1^VOLUME|0|U|<CRLF>
OUTPUT_DANTE>1>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>1>VOLUME>1^VOLUME|0|U|<CRLF>
OUTPUT_DANTE>2>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>2>VOLUME>1^VOLUME|0|U|<CRLF>
OUTPUT_DANTE>3>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>3>VOLUME>1^VOLUME|0|U|<CRLF>
OUTPUT_DANTE>4>VOLUME>1min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>4>VOLUME>1^VOLUME|0|U|<CRLF>

MUTE

mute an audio channel

Argument (enabled)
is the audio channel muted

TargetArgumentExample (default value)
INPUT_XLR>1>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_XLR>1>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_XLR>2>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_XLR>2>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_BLUETOOTH>1>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_BLUETOOTH>1>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_BLUETOOTH>2>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_BLUETOOTH>2>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_DANTE>1>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_DANTE>1>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_DANTE>2>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_DANTE>2>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_DANTE>3>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_DANTE>3>VOLUME>1^MUTE|FALSE|U|<CRLF>
INPUT_DANTE>4>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^INPUT_DANTE>4>VOLUME>1^MUTE|FALSE|U|<CRLF>
OUTPUT_DANTE>1>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^OUTPUT_DANTE>1>VOLUME>1^MUTE|FALSE|U|<CRLF>
OUTPUT_DANTE>2>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^OUTPUT_DANTE>2>VOLUME>1^MUTE|FALSE|U|<CRLF>
OUTPUT_DANTE>3>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^OUTPUT_DANTE>3>VOLUME>1^MUTE|FALSE|U|<CRLF>
OUTPUT_DANTE>4>VOLUME>1options: TRUE,FALSE#|NWP220>1||SET_REQ^OUTPUT_DANTE>4>VOLUME>1^MUTE|FALSE|U|<CRLF>

MIXER

mixer slider for zones

Argument (volume)
mixing volume

TargetArgument indexArgumentExample (default value)
OUTPUT_DANTE>1>MIXER>1min: 1, max: 12min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>1>MIXER>1^MIXER|1>0^2>-90^3>-90^4>-90^5>-90^6>-90^7>-90^8>-90^9>-90^10>-90^11>-90^12>-90|U|<CRLF>
OUTPUT_DANTE>2>MIXER>1min: 1, max: 12min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>2>MIXER>1^MIXER|1>-90^2>0^3>-90^4>-90^5>-90^6>-90^7>-90^8>-90^9>-90^10>-90^11>-90^12>-90|U|<CRLF>
OUTPUT_DANTE>3>MIXER>1min: 1, max: 12min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>3>MIXER>1^MIXER|1>-90^2>-90^3>-90^4>-90^5>0^6>-90^7>-90^8>-90^9>-90^10>-90^11>-90^12>-90|U|<CRLF>
OUTPUT_DANTE>4>MIXER>1min: 1, max: 12min: -90, max: 0#|NWP220>1||SET_REQ^OUTPUT_DANTE>4>MIXER>1^MIXER|1>-90^2>-90^3>-90^4>-90^5>-90^6>0^7>-90^8>-90^9>-90^10>-90^11>-90^12>-90|U|<CRLF>

CRC

The CRC block is calculated over the message starting from and including the first pipe "|", up to and including the last pipe before the CRC Block. These CRC's can ensure message integrity if desired.

CRC TypeConfigurationFormatExamplenotes
None/U#|NWP220>1||SET_REQ^INPUT_XLR>1>VOLUME>1^VOLUME|0|U|<CRLF>'U' means unused
CRC16-ARC
  • input reflected
  • output reflected
  • polynomial: 0x8005
  • initial value: 0x0000
  • final exor: 0x0000
XXXX#|ALL||SET_REQ^INPUT_LINE>1^VOLUME|0|C06C|<CRLF>calculator
CRC32
  • input reflected
  • output reflected
  • polynomial: 0x4C11DB7
  • initial value: 0xFFFFFFFF
  • final exor: 0xFFFFFFFF
XXXX#|ALL||SET_REQ^INPUT_LINE>1^VOLUME|0|D887125C|<CRLF>calculator

The examples in the table above are examples for calculating the CRC, they may not be a valid command for the NWP220

The CRC can ensure data integrity across unreliable data channels (RS232, RS485), but they are by no means a security measure! If someone has the knowledge and means to maliciously alter a message, correcting the CRC becomes trivial for the attacker. We support different kinds of CRC for maximum flexibility, but we recommend not using any so you do not get a false sense of security.

Stop bytes

The final 2 characters are denoted as <CRLF>, they mean "Carriage Return, Line Feed" or simply put a new line. Depending on the tool used to create the command, you can have different representations:

We support both CRLF and LF only

Top