Skip to content

Commit 7832fdd

Browse files
committed
Add Binary Tests for Netron RDM10 V3.0.0 and Luminode Node 1 V2.7.2
1 parent 87af3b7 commit 7832fdd

3 files changed

Lines changed: 129 additions & 1 deletion

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.Luminex
4+
{
5+
internal class Elation_Obisdian_RDM10_3_0_0 : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0x02, 0xd6, 0x4a, 0x66, 0x36, 0x19,
10+
0x03, 0x00, 0x00, 0x00, 0x2a, 0x1e, 0x00, 0xe2,
11+
0xa6, 0x22, 0x50, 0x6f, 0x72, 0x74, 0x20, 0x31,
12+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x00, 0x4e, 0x45, 0x54, 0x52,
14+
0x4f, 0x4e, 0x20, 0x52, 0x44, 0x4d, 0x31, 0x30,
15+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
16+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
17+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
18+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
19+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
20+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
21+
0x00, 0x00, 0x00, 0x00, 0x23, 0x30, 0x30, 0x30,
22+
0x31, 0x20, 0x5b, 0x30, 0x30, 0x31, 0x39, 0x5d,
23+
0x20, 0x52, 0x63, 0x50, 0x6f, 0x77, 0x65, 0x72,
24+
0x4f, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
25+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
26+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
27+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
28+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
29+
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x40, 0x00,
30+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
31+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32+
0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0x42, 0x4c, 0x5b, 0x8e, 0x4a, 0x66, 0x02,
34+
0xd6, 0x4a, 0x66, 0x01, 0xdd, 0x40, 0x00, 0x00,
35+
0x00, 0x3c, 0x22, 0xa6, 0x06, 0xd3, 0x02, 0x1b,
36+
0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00,
37+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ];
38+
39+
private static readonly PortTestSubject[] PORTS =
40+
[
41+
new PortTestSubject(EPortType.InputToArtNet,(PortAddress)0,(PortAddress)0)
42+
];
43+
public Elation_Obisdian_RDM10_3_0_0() : base(
44+
"Elation Obsidian RDM10 (FW 3.0.0)",
45+
DATA,
46+
0,
47+
"Port 1",
48+
"NETRON RDM10",
49+
new MACAddress("42:4c:5b:8e:4a:66"),
50+
new IPv4Address("2.214.74.102"),
51+
new IPv4Address("2.214.74.102"),
52+
0x2a1e,
53+
0x22a6,
54+
EStCodes.StNode,
55+
PORTS,
56+
true,
57+
majorVersion: 3,
58+
minorVersion: 0,
59+
new NodeReport("#0001 [0019] RcPowerOk"))
60+
{
61+
}
62+
}
63+
}

ArtNetTests/Binary Tests/Luminex/Luminex_LumiNode1_2_6_0.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ public Luminex_LumiNode1_2_6_0() : base(
5353
0x4c4c,
5454
EStCodes.StNode,
5555
PORTS,
56-
true)
56+
true,
57+
majorVersion: 2,
58+
minorVersion: 6)
5759
{
5860
}
5961
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.Luminex
4+
{
5+
internal class Luminex_LumiNode1_2_7_2 : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0x02, 0x2c, 0x37, 0x42, 0x36, 0x19,
10+
0x02, 0x07, 0x00, 0x00, 0x29, 0xde, 0x00, 0xe2,
11+
0x4c, 0x4c, 0x4c, 0x75, 0x6d, 0x69, 0x4e, 0x6f,
12+
0x64, 0x65, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x00, 0x4c, 0x75, 0x6d, 0x69,
14+
0x4e, 0x6f, 0x64, 0x65, 0x31, 0x00, 0x00, 0x00,
15+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
16+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
17+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
18+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
19+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
20+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
21+
0x00, 0x00, 0x00, 0x00, 0x23, 0x30, 0x30, 0x30,
22+
0x31, 0x20, 0x5b, 0x30, 0x5d, 0x20, 0x44, 0x65,
23+
0x76, 0x69, 0x63, 0x65, 0x20, 0x69, 0x73, 0x20,
24+
0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64,
25+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
26+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
27+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
28+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
29+
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00,
30+
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x80, 0x00,
31+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0xd0, 0x69, 0x9e, 0x9d, 0x4d, 0xbe, 0x02,
34+
0x2c, 0x37, 0x42, 0x01, 0x19, 0x00, 0x00, 0x00,
35+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
36+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
37+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ];
38+
39+
private static readonly PortTestSubject[] PORTS =
40+
[
41+
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)0,(PortAddress)0)
42+
];
43+
public Luminex_LumiNode1_2_7_2() : base(
44+
"Luminex LumiNode 1 (FW 2.7.2)",
45+
DATA,
46+
0,
47+
"LumiNode1",
48+
"LumiNode1",
49+
new MACAddress("d0:69:9e:9d:4d:be"),
50+
new IPv4Address("2.44.55.66"),
51+
new IPv4Address("2.44.55.66"),
52+
0x29de,
53+
0x4c4c,
54+
EStCodes.StNode,
55+
PORTS,
56+
false,
57+
majorVersion: 2,
58+
minorVersion: 7,
59+
new NodeReport("#0001 [0] Device is unlocked"))
60+
{
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)