Skip to content

Commit d518486

Browse files
committedFeb 10, 2025·
Add Binary Tests for Luminode 12 FW:
2.4.2 2.6.1
1 parent 2cb7ff5 commit d518486

File tree

2 files changed

+127
-0
lines changed

2 files changed

+127
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.Luminex
4+
{
5+
internal class Luminex_LumiNode12_2_4_2 : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0xc0, 0xa8, 0x0d, 0x1f, 0x36, 0x19,
10+
0x02, 0x04, 0x00, 0x00, 0x29, 0xdb, 0x00, 0xe3,
11+
0x4c, 0x4c, 0x4c, 0x75, 0x6d, 0x69, 0x4e, 0x6f,
12+
0x64, 0x65, 0x31, 0x32, 0x00, 0x00, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x00, 0x4c, 0x75, 0x6d, 0x69,
14+
0x4e, 0x6f, 0x64, 0x65, 0x31, 0x32, 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, 0x00, 0x00, 0x00, 0x00,
22+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
23+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
24+
0x00, 0x00, 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, 0x04, 0x80, 0x80,
30+
0x80, 0x80, 0x08, 0x08, 0x08, 0x08, 0x81, 0x81,
31+
0x81, 0x81, 0x00, 0x00, 0x00, 0x00, 0x05, 0x06,
32+
0x07, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0xd0, 0x69, 0x9e, 0xa0, 0x11, 0xbe, 0xc0,
34+
0xa8, 0x0d, 0x1f, 0x14, 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)5,(PortAddress)0),
42+
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)6,(PortAddress)0),
43+
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)7,(PortAddress)0),
44+
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)8,(PortAddress)0)
45+
];
46+
public Luminex_LumiNode12_2_4_2() : base(
47+
"Luminex LumiNode 12 (FW 2.4.2)",
48+
DATA,
49+
0,
50+
"LumiNode12",
51+
"LumiNode12",
52+
new MACAddress("d0:69:9e:a0:11:be"),
53+
new IPv4Address("192.168.13.31"),
54+
new IPv4Address("192.168.13.31"),
55+
0x29db,
56+
0x4c4c,
57+
EStCodes.StNode,
58+
PORTS,
59+
true,
60+
0x02,
61+
0x04)
62+
{
63+
}
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.Luminex
4+
{
5+
internal class Luminex_LumiNode12_2_6_1 : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0xc0, 0xa8, 0x0d, 0x1f, 0x36, 0x19,
10+
0x02, 0x06, 0x00, 0x00, 0x29, 0xdb, 0x00, 0xe3,
11+
0x4c, 0x4c, 0x4c, 0x75, 0x6d, 0x69, 0x4e, 0x6f,
12+
0x64, 0x65, 0x31, 0x32, 0x00, 0x00, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x00, 0x4c, 0x75, 0x6d, 0x69,
14+
0x4e, 0x6f, 0x64, 0x65, 0x31, 0x32, 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, 0x00, 0x00, 0x00, 0x00,
22+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
23+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
24+
0x00, 0x00, 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, 0x80, 0x00,
30+
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x81, 0x00,
31+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00,
32+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0xd0, 0x69, 0x9e, 0xa0, 0x11, 0xbe, 0xc0,
34+
0xa8, 0x0d, 0x1f, 0x0c, 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)12,(PortAddress)0)
42+
];
43+
public Luminex_LumiNode12_2_6_1() : base(
44+
"Luminex LumiNode 12 (FW 2.6.1)",
45+
DATA,
46+
0,
47+
"LumiNode12",
48+
"LumiNode12",
49+
new MACAddress("d0:69:9e:a0:11:be"),
50+
new IPv4Address("192.168.13.31"),
51+
new IPv4Address("192.168.13.31"),
52+
0x29db,
53+
0x4c4c,
54+
EStCodes.StNode,
55+
PORTS,
56+
true,
57+
0x02,
58+
0x06)
59+
{
60+
}
61+
}
62+
}

0 commit comments

Comments
 (0)
Please sign in to comment.