ArtNet.Packet.EnumTable.AddressCommand (ArtNet v0.1.0)

View Source

Address command values used by ArtNet.Packet.ArtAddress.

These values encode the command byte that changes node state or per-port behavior.

Values

AtomDescriptionValue
ac_noneNo command.0x0 / 0b00000000
ac_cancel_mergeCancel merge mode.0x1 / 0b00000001
ac_led_normalSet indicator LEDs to normal.0x2 / 0b00000010
ac_led_muteMute indicator LEDs.0x3 / 0b00000011
ac_led_locateSet indicator LEDs to locate.0x4 / 0b00000100
ac_reset_rx_flagsReset receiver status flags.0x5 / 0b00000101
ac_analysis_onEnable analysis mode.0x6 / 0b00000110
ac_analysis_offDisable analysis mode.0x7 / 0b00000111
ac_fail_holdSet failsafe behavior to hold last output.0x8 / 0b00001000
ac_fail_zeroSet failsafe behavior to all zero.0x9 / 0b00001001
ac_fail_fullSet failsafe behavior to all full.0xA / 0b00001010
ac_fail_sceneSet failsafe behavior to playback scene.0xB / 0b00001011
ac_fail_recordRecord the failsafe scene.0xC / 0b00001100
ac_merge_ltp0Set output port 0 to LTP merge.0x10 / 0b00010000
ac_merge_ltp1Set output port 1 to LTP merge.0x11 / 0b00010001
ac_merge_ltp2Set output port 2 to LTP merge.0x12 / 0b00010010
ac_merge_ltp3Set output port 3 to LTP merge.0x13 / 0b00010011
ac_direction_tx0Set port 0 to output.0x20 / 0b00100000
ac_direction_tx1Set port 1 to output.0x21 / 0b00100001
ac_direction_tx2Set port 2 to output.0x22 / 0b00100010
ac_direction_tx3Set port 3 to output.0x23 / 0b00100011
ac_direction_rx0Set port 0 to input.0x30 / 0b00110000
ac_direction_rx1Set port 1 to input.0x31 / 0b00110001
ac_direction_rx2Set port 2 to input.0x32 / 0b00110010
ac_direction_rx3Set port 3 to input.0x33 / 0b00110011
ac_merge_htp0Set output port 0 to HTP merge.0x50 / 0b01010000
ac_merge_htp1Set output port 1 to HTP merge.0x51 / 0b01010001
ac_merge_htp2Set output port 2 to HTP merge.0x52 / 0b01010010
ac_merge_htp3Set output port 3 to HTP merge.0x53 / 0b01010011
ac_art_net_sel0Select Art-Net input for port 0.0x60 / 0b01100000
ac_art_net_sel1Select Art-Net input for port 1.0x61 / 0b01100001
ac_art_net_sel2Select Art-Net input for port 2.0x62 / 0b01100010
ac_art_net_sel3Select Art-Net input for port 3.0x63 / 0b01100011
ac_acn_sel0Select sACN input for port 0.0x70 / 0b01110000
ac_acn_sel1Select sACN input for port 1.0x71 / 0b01110001
ac_acn_sel2Select sACN input for port 2.0x72 / 0b01110010
ac_acn_sel3Select sACN input for port 3.0x73 / 0b01110011
ac_clear_op0Clear output state for port 0.0x90 / 0b10010000
ac_clear_op1Clear output state for port 1.0x91 / 0b10010001
ac_clear_op2Clear output state for port 2.0x92 / 0b10010010
ac_clear_op3Clear output state for port 3.0x93 / 0b10010011
ac_style_delta0Select delta output style for port 0.0xA0 / 0b10100000
ac_style_delta1Select delta output style for port 1.0xA1 / 0b10100001
ac_style_delta2Select delta output style for port 2.0xA2 / 0b10100010
ac_style_delta3Select delta output style for port 3.0xA3 / 0b10100011
ac_style_const0Select constant output style for port 0.0xB0 / 0b10110000
ac_style_const1Select constant output style for port 1.0xB1 / 0b10110001
ac_style_const2Select constant output style for port 2.0xB2 / 0b10110010
ac_style_const3Select constant output style for port 3.0xB3 / 0b10110011
ac_rdm_enable0Enable RDM on port 0.0xC0 / 0b11000000
ac_rdm_enable1Enable RDM on port 1.0xC1 / 0b11000001
ac_rdm_enable2Enable RDM on port 2.0xC2 / 0b11000010
ac_rdm_enable3Enable RDM on port 3.0xC3 / 0b11000011
ac_rdm_disable0Disable RDM on port 0.0xD0 / 0b11010000
ac_rdm_disable1Disable RDM on port 1.0xD1 / 0b11010001
ac_rdm_disable2Disable RDM on port 2.0xD2 / 0b11010010
ac_rdm_disable3Disable RDM on port 3.0xD3 / 0b11010011
ac_bqp0Configure the BQP value to 0.0xE0 / 0b11100000
ac_bqp1Configure the BQP value to 1.0xE1 / 0b11100001
ac_bqp2Configure the BQP value to 2.0xE2 / 0b11100010
ac_bqp3Configure the BQP value to 3.0xE3 / 0b11100011
ac_bqp4Configure the BQP value to 4.0xE4 / 0b11100100
ac_bqp5Configure the BQP value to 5.0xE5 / 0b11100101
ac_bqp6Configure the BQP value to 6.0xE6 / 0b11100110
ac_bqp7Configure the BQP value to 7.0xE7 / 0b11100111
ac_bqp8Configure the BQP value to 8.0xE8 / 0b11101000
ac_bqp9Configure the BQP value to 9.0xE9 / 0b11101001
ac_bqp10Configure the BQP value to 10.0xEA / 0b11101010
ac_bqp11Configure the BQP value to 11.0xEB / 0b11101011
ac_bqp12Configure the BQP value to 12.0xEC / 0b11101100
ac_bqp13Configure the BQP value to 13.0xED / 0b11101101
ac_bqp14Configure the BQP value to 14.0xEE / 0b11101110
ac_bqp15Configure the BQP value to 15.0xEF / 0b11101111

Summary

Functions

Returns the integer code for :ac_acn_sel0.

Returns the integer code for :ac_acn_sel1.

Returns the integer code for :ac_acn_sel2.

Returns the integer code for :ac_acn_sel3.

Returns the integer code for :ac_analysis_off.

Returns the integer code for :ac_analysis_on.

Returns the integer code for :ac_art_net_sel0.

Returns the integer code for :ac_art_net_sel1.

Returns the integer code for :ac_art_net_sel2.

Returns the integer code for :ac_art_net_sel3.

Returns the integer code for :ac_bqp0.

Returns the integer code for :ac_bqp1.

Returns the integer code for :ac_bqp2.

Returns the integer code for :ac_bqp3.

Returns the integer code for :ac_bqp4.

Returns the integer code for :ac_bqp5.

Returns the integer code for :ac_bqp6.

Returns the integer code for :ac_bqp7.

Returns the integer code for :ac_bqp8.

Returns the integer code for :ac_bqp9.

Returns the integer code for :ac_bqp10.

Returns the integer code for :ac_bqp11.

Returns the integer code for :ac_bqp12.

Returns the integer code for :ac_bqp13.

Returns the integer code for :ac_bqp14.

Returns the integer code for :ac_bqp15.

Returns the integer code for :ac_cancel_merge.

Returns the integer code for :ac_clear_op0.

Returns the integer code for :ac_clear_op1.

Returns the integer code for :ac_clear_op2.

Returns the integer code for :ac_clear_op3.

Returns the integer code for :ac_direction_rx0.

Returns the integer code for :ac_direction_rx1.

Returns the integer code for :ac_direction_rx2.

Returns the integer code for :ac_direction_rx3.

Returns the integer code for :ac_direction_tx0.

Returns the integer code for :ac_direction_tx1.

Returns the integer code for :ac_direction_tx2.

Returns the integer code for :ac_direction_tx3.

Returns the integer code for :ac_fail_full.

Returns the integer code for :ac_fail_hold.

Returns the integer code for :ac_fail_record.

Returns the integer code for :ac_fail_scene.

Returns the integer code for :ac_fail_zero.

Returns the integer code for :ac_led_locate.

Returns the integer code for :ac_led_mute.

Returns the integer code for :ac_led_normal.

Returns the integer code for :ac_merge_htp0.

Returns the integer code for :ac_merge_htp1.

Returns the integer code for :ac_merge_htp2.

Returns the integer code for :ac_merge_htp3.

Returns the integer code for :ac_merge_ltp0.

Returns the integer code for :ac_merge_ltp1.

Returns the integer code for :ac_merge_ltp2.

Returns the integer code for :ac_merge_ltp3.

Returns the integer code for :ac_none.

Returns the integer code for :ac_rdm_disable0.

Returns the integer code for :ac_rdm_disable1.

Returns the integer code for :ac_rdm_disable2.

Returns the integer code for :ac_rdm_disable3.

Returns the integer code for :ac_rdm_enable0.

Returns the integer code for :ac_rdm_enable1.

Returns the integer code for :ac_rdm_enable2.

Returns the integer code for :ac_rdm_enable3.

Returns the integer code for :ac_reset_rx_flags.

Returns the integer code for :ac_style_const0.

Returns the integer code for :ac_style_const1.

Returns the integer code for :ac_style_const2.

Returns the integer code for :ac_style_const3.

Returns the integer code for :ac_style_delta0.

Returns the integer code for :ac_style_delta1.

Returns the integer code for :ac_style_delta2.

Returns the integer code for :ac_style_delta3.

Returns the number of bits used to encode values in this enum table.

Converts an integer code into its enum atom.

Converts an enum atom into its integer code.

Types

type()

@type type() ::
  :ac_none
  | :ac_cancel_merge
  | :ac_led_normal
  | :ac_led_mute
  | :ac_led_locate
  | :ac_reset_rx_flags
  | :ac_analysis_on
  | :ac_analysis_off
  | :ac_fail_hold
  | :ac_fail_zero
  | :ac_fail_full
  | :ac_fail_scene
  | :ac_fail_record
  | :ac_merge_ltp0
  | :ac_merge_ltp1
  | :ac_merge_ltp2
  | :ac_merge_ltp3
  | :ac_direction_tx0
  | :ac_direction_tx1
  | :ac_direction_tx2
  | :ac_direction_tx3
  | :ac_direction_rx0
  | :ac_direction_rx1
  | :ac_direction_rx2
  | :ac_direction_rx3
  | :ac_merge_htp0
  | :ac_merge_htp1
  | :ac_merge_htp2
  | :ac_merge_htp3
  | :ac_art_net_sel0
  | :ac_art_net_sel1
  | :ac_art_net_sel2
  | :ac_art_net_sel3
  | :ac_acn_sel0
  | :ac_acn_sel1
  | :ac_acn_sel2
  | :ac_acn_sel3
  | :ac_clear_op0
  | :ac_clear_op1
  | :ac_clear_op2
  | :ac_clear_op3
  | :ac_style_delta0
  | :ac_style_delta1
  | :ac_style_delta2
  | :ac_style_delta3
  | :ac_style_const0
  | :ac_style_const1
  | :ac_style_const2
  | :ac_style_const3
  | :ac_rdm_enable0
  | :ac_rdm_enable1
  | :ac_rdm_enable2
  | :ac_rdm_enable3
  | :ac_rdm_disable0
  | :ac_rdm_disable1
  | :ac_rdm_disable2
  | :ac_rdm_disable3
  | :ac_bqp0
  | :ac_bqp1
  | :ac_bqp2
  | :ac_bqp3
  | :ac_bqp4
  | :ac_bqp5
  | :ac_bqp6
  | :ac_bqp7
  | :ac_bqp8
  | :ac_bqp9
  | :ac_bqp10
  | :ac_bqp11
  | :ac_bqp12
  | :ac_bqp13
  | :ac_bqp14
  | :ac_bqp15

Functions

ac_acn_sel0()

@spec ac_acn_sel0() :: non_neg_integer()

Returns the integer code for :ac_acn_sel0.

The code is 0x70.

ac_acn_sel1()

@spec ac_acn_sel1() :: non_neg_integer()

Returns the integer code for :ac_acn_sel1.

The code is 0x71.

ac_acn_sel2()

@spec ac_acn_sel2() :: non_neg_integer()

Returns the integer code for :ac_acn_sel2.

The code is 0x72.

ac_acn_sel3()

@spec ac_acn_sel3() :: non_neg_integer()

Returns the integer code for :ac_acn_sel3.

The code is 0x73.

ac_analysis_off()

@spec ac_analysis_off() :: non_neg_integer()

Returns the integer code for :ac_analysis_off.

The code is 0x7.

ac_analysis_on()

@spec ac_analysis_on() :: non_neg_integer()

Returns the integer code for :ac_analysis_on.

The code is 0x6.

ac_art_net_sel0()

@spec ac_art_net_sel0() :: non_neg_integer()

Returns the integer code for :ac_art_net_sel0.

The code is 0x60.

ac_art_net_sel1()

@spec ac_art_net_sel1() :: non_neg_integer()

Returns the integer code for :ac_art_net_sel1.

The code is 0x61.

ac_art_net_sel2()

@spec ac_art_net_sel2() :: non_neg_integer()

Returns the integer code for :ac_art_net_sel2.

The code is 0x62.

ac_art_net_sel3()

@spec ac_art_net_sel3() :: non_neg_integer()

Returns the integer code for :ac_art_net_sel3.

The code is 0x63.

ac_bqp0()

@spec ac_bqp0() :: non_neg_integer()

Returns the integer code for :ac_bqp0.

The code is 0xE0.

ac_bqp1()

@spec ac_bqp1() :: non_neg_integer()

Returns the integer code for :ac_bqp1.

The code is 0xE1.

ac_bqp2()

@spec ac_bqp2() :: non_neg_integer()

Returns the integer code for :ac_bqp2.

The code is 0xE2.

ac_bqp3()

@spec ac_bqp3() :: non_neg_integer()

Returns the integer code for :ac_bqp3.

The code is 0xE3.

ac_bqp4()

@spec ac_bqp4() :: non_neg_integer()

Returns the integer code for :ac_bqp4.

The code is 0xE4.

ac_bqp5()

@spec ac_bqp5() :: non_neg_integer()

Returns the integer code for :ac_bqp5.

The code is 0xE5.

ac_bqp6()

@spec ac_bqp6() :: non_neg_integer()

Returns the integer code for :ac_bqp6.

The code is 0xE6.

ac_bqp7()

@spec ac_bqp7() :: non_neg_integer()

Returns the integer code for :ac_bqp7.

The code is 0xE7.

ac_bqp8()

@spec ac_bqp8() :: non_neg_integer()

Returns the integer code for :ac_bqp8.

The code is 0xE8.

ac_bqp9()

@spec ac_bqp9() :: non_neg_integer()

Returns the integer code for :ac_bqp9.

The code is 0xE9.

ac_bqp10()

@spec ac_bqp10() :: non_neg_integer()

Returns the integer code for :ac_bqp10.

The code is 0xEA.

ac_bqp11()

@spec ac_bqp11() :: non_neg_integer()

Returns the integer code for :ac_bqp11.

The code is 0xEB.

ac_bqp12()

@spec ac_bqp12() :: non_neg_integer()

Returns the integer code for :ac_bqp12.

The code is 0xEC.

ac_bqp13()

@spec ac_bqp13() :: non_neg_integer()

Returns the integer code for :ac_bqp13.

The code is 0xED.

ac_bqp14()

@spec ac_bqp14() :: non_neg_integer()

Returns the integer code for :ac_bqp14.

The code is 0xEE.

ac_bqp15()

@spec ac_bqp15() :: non_neg_integer()

Returns the integer code for :ac_bqp15.

The code is 0xEF.

ac_cancel_merge()

@spec ac_cancel_merge() :: non_neg_integer()

Returns the integer code for :ac_cancel_merge.

The code is 0x1.

ac_clear_op0()

@spec ac_clear_op0() :: non_neg_integer()

Returns the integer code for :ac_clear_op0.

The code is 0x90.

ac_clear_op1()

@spec ac_clear_op1() :: non_neg_integer()

Returns the integer code for :ac_clear_op1.

The code is 0x91.

ac_clear_op2()

@spec ac_clear_op2() :: non_neg_integer()

Returns the integer code for :ac_clear_op2.

The code is 0x92.

ac_clear_op3()

@spec ac_clear_op3() :: non_neg_integer()

Returns the integer code for :ac_clear_op3.

The code is 0x93.

ac_direction_rx0()

@spec ac_direction_rx0() :: non_neg_integer()

Returns the integer code for :ac_direction_rx0.

The code is 0x30.

ac_direction_rx1()

@spec ac_direction_rx1() :: non_neg_integer()

Returns the integer code for :ac_direction_rx1.

The code is 0x31.

ac_direction_rx2()

@spec ac_direction_rx2() :: non_neg_integer()

Returns the integer code for :ac_direction_rx2.

The code is 0x32.

ac_direction_rx3()

@spec ac_direction_rx3() :: non_neg_integer()

Returns the integer code for :ac_direction_rx3.

The code is 0x33.

ac_direction_tx0()

@spec ac_direction_tx0() :: non_neg_integer()

Returns the integer code for :ac_direction_tx0.

The code is 0x20.

ac_direction_tx1()

@spec ac_direction_tx1() :: non_neg_integer()

Returns the integer code for :ac_direction_tx1.

The code is 0x21.

ac_direction_tx2()

@spec ac_direction_tx2() :: non_neg_integer()

Returns the integer code for :ac_direction_tx2.

The code is 0x22.

ac_direction_tx3()

@spec ac_direction_tx3() :: non_neg_integer()

Returns the integer code for :ac_direction_tx3.

The code is 0x23.

ac_fail_full()

@spec ac_fail_full() :: non_neg_integer()

Returns the integer code for :ac_fail_full.

The code is 0xA.

ac_fail_hold()

@spec ac_fail_hold() :: non_neg_integer()

Returns the integer code for :ac_fail_hold.

The code is 0x8.

ac_fail_record()

@spec ac_fail_record() :: non_neg_integer()

Returns the integer code for :ac_fail_record.

The code is 0xC.

ac_fail_scene()

@spec ac_fail_scene() :: non_neg_integer()

Returns the integer code for :ac_fail_scene.

The code is 0xB.

ac_fail_zero()

@spec ac_fail_zero() :: non_neg_integer()

Returns the integer code for :ac_fail_zero.

The code is 0x9.

ac_led_locate()

@spec ac_led_locate() :: non_neg_integer()

Returns the integer code for :ac_led_locate.

The code is 0x4.

ac_led_mute()

@spec ac_led_mute() :: non_neg_integer()

Returns the integer code for :ac_led_mute.

The code is 0x3.

ac_led_normal()

@spec ac_led_normal() :: non_neg_integer()

Returns the integer code for :ac_led_normal.

The code is 0x2.

ac_merge_htp0()

@spec ac_merge_htp0() :: non_neg_integer()

Returns the integer code for :ac_merge_htp0.

The code is 0x50.

ac_merge_htp1()

@spec ac_merge_htp1() :: non_neg_integer()

Returns the integer code for :ac_merge_htp1.

The code is 0x51.

ac_merge_htp2()

@spec ac_merge_htp2() :: non_neg_integer()

Returns the integer code for :ac_merge_htp2.

The code is 0x52.

ac_merge_htp3()

@spec ac_merge_htp3() :: non_neg_integer()

Returns the integer code for :ac_merge_htp3.

The code is 0x53.

ac_merge_ltp0()

@spec ac_merge_ltp0() :: non_neg_integer()

Returns the integer code for :ac_merge_ltp0.

The code is 0x10.

ac_merge_ltp1()

@spec ac_merge_ltp1() :: non_neg_integer()

Returns the integer code for :ac_merge_ltp1.

The code is 0x11.

ac_merge_ltp2()

@spec ac_merge_ltp2() :: non_neg_integer()

Returns the integer code for :ac_merge_ltp2.

The code is 0x12.

ac_merge_ltp3()

@spec ac_merge_ltp3() :: non_neg_integer()

Returns the integer code for :ac_merge_ltp3.

The code is 0x13.

ac_none()

@spec ac_none() :: non_neg_integer()

Returns the integer code for :ac_none.

The code is 0x0.

ac_rdm_disable0()

@spec ac_rdm_disable0() :: non_neg_integer()

Returns the integer code for :ac_rdm_disable0.

The code is 0xD0.

ac_rdm_disable1()

@spec ac_rdm_disable1() :: non_neg_integer()

Returns the integer code for :ac_rdm_disable1.

The code is 0xD1.

ac_rdm_disable2()

@spec ac_rdm_disable2() :: non_neg_integer()

Returns the integer code for :ac_rdm_disable2.

The code is 0xD2.

ac_rdm_disable3()

@spec ac_rdm_disable3() :: non_neg_integer()

Returns the integer code for :ac_rdm_disable3.

The code is 0xD3.

ac_rdm_enable0()

@spec ac_rdm_enable0() :: non_neg_integer()

Returns the integer code for :ac_rdm_enable0.

The code is 0xC0.

ac_rdm_enable1()

@spec ac_rdm_enable1() :: non_neg_integer()

Returns the integer code for :ac_rdm_enable1.

The code is 0xC1.

ac_rdm_enable2()

@spec ac_rdm_enable2() :: non_neg_integer()

Returns the integer code for :ac_rdm_enable2.

The code is 0xC2.

ac_rdm_enable3()

@spec ac_rdm_enable3() :: non_neg_integer()

Returns the integer code for :ac_rdm_enable3.

The code is 0xC3.

ac_reset_rx_flags()

@spec ac_reset_rx_flags() :: non_neg_integer()

Returns the integer code for :ac_reset_rx_flags.

The code is 0x5.

ac_style_const0()

@spec ac_style_const0() :: non_neg_integer()

Returns the integer code for :ac_style_const0.

The code is 0xB0.

ac_style_const1()

@spec ac_style_const1() :: non_neg_integer()

Returns the integer code for :ac_style_const1.

The code is 0xB1.

ac_style_const2()

@spec ac_style_const2() :: non_neg_integer()

Returns the integer code for :ac_style_const2.

The code is 0xB2.

ac_style_const3()

@spec ac_style_const3() :: non_neg_integer()

Returns the integer code for :ac_style_const3.

The code is 0xB3.

ac_style_delta0()

@spec ac_style_delta0() :: non_neg_integer()

Returns the integer code for :ac_style_delta0.

The code is 0xA0.

ac_style_delta1()

@spec ac_style_delta1() :: non_neg_integer()

Returns the integer code for :ac_style_delta1.

The code is 0xA1.

ac_style_delta2()

@spec ac_style_delta2() :: non_neg_integer()

Returns the integer code for :ac_style_delta2.

The code is 0xA2.

ac_style_delta3()

@spec ac_style_delta3() :: non_neg_integer()

Returns the integer code for :ac_style_delta3.

The code is 0xA3.

bit_size()

@spec bit_size() :: pos_integer()

Returns the number of bits used to encode values in this enum table.

to_atom(code)

@spec to_atom(term()) :: {:ok, type()} | :error

Converts an integer code into its enum atom.

Returns {:ok, atom} when the code is defined by this enum table, or :error otherwise.

to_code(value)

@spec to_code(term()) :: {:ok, non_neg_integer()} | :error

Converts an enum atom into its integer code.

Returns {:ok, code} when the atom is defined by this enum table, or :error otherwise.