Skip to content

Commit 7d0e6f7

Browse files
committed
Fix Test
Add Binary Test for Nova FX FW 2.5
1 parent f182d1f commit 7d0e6f7

2 files changed

Lines changed: 684 additions & 618 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.LumenRadio;
4+
5+
internal class Nova_FX_2_5 : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0x02, 0xa8, 0x00, 0xa2, 0x36, 0x19,
10+
0x25, 0x00, 0x00, 0x00, 0x09, 0xf2, 0x00, 0xf2,
11+
0x55, 0x4c, 0x43, 0x52, 0x4d, 0x58, 0x20, 0x4e,
12+
0x6f, 0x76, 0x61, 0x20, 0x46, 0x58, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x21, 0x43, 0x52, 0x4d, 0x58,
14+
0x20, 0x4e, 0x6f, 0x76, 0x61, 0x20, 0x46, 0x58,
15+
0x00, 0x00, 0x00, 0x01, 0x01, 0xff, 0xff, 0x00,
16+
0x00, 0x01, 0x08, 0x32, 0xff, 0xfe, 0xa0, 0x5d,
17+
0x7d, 0x02, 0x00, 0x00, 0x00, 0x08, 0x00, 0x08,
18+
0x04, 0x65, 0x74, 0x68, 0x31, 0xfe, 0x09, 0x00,
19+
0x12, 0x0f, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00,
20+
0xfe, 0x09, 0x00, 0x12, 0x0f, 0x01, 0x03, 0xec,
21+
0xc1, 0x00, 0x10, 0x00, 0x23, 0x30, 0x30, 0x30,
22+
0x31, 0x20, 0x5b, 0x30, 0x78, 0x30, 0x30, 0x30,
23+
0x31, 0x5d, 0x20, 0x50, 0x6f, 0x77, 0x65, 0x72,
24+
0x20, 0x4f, 0x4b, 0x00, 0x45, 0x52, 0x2d, 0x41,
25+
0x47, 0x45, 0x4e, 0x54, 0x3a, 0x20, 0x43, 0x68,
26+
0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2f, 0x31,
27+
0x30, 0x35, 0x2e, 0x30, 0x2e, 0x35, 0x31, 0x39,
28+
0x35, 0x2e, 0x31, 0x32, 0x37, 0x20, 0x57, 0x69,
29+
0x6e, 0x64, 0x6f, 0x77, 0x00, 0x01, 0xc0, 0x00,
30+
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,
31+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0x00, 0x1a, 0xf1, 0x01, 0x83, 0x51, 0x02,
34+
0xa8, 0x00, 0xa2, 0x00, 0x0c, 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 | EPortType.InputToArtNet, (PortAddress)0, (PortAddress)0)
42+
];
43+
public Nova_FX_2_5() : base(
44+
"LumenRadio Nova FX (FW 2.5)",
45+
DATA,
46+
0,
47+
"CRMX Nova FX",
48+
"CRMX Nova FX",
49+
new MACAddress("00:1a:f1:01:83:51"),
50+
new IPv4Address("2.168.0.162"),
51+
new IPv4Address("2.168.0.162"),
52+
0x09f2,
53+
0x4c55,
54+
EStCodes.StNode,
55+
PORTS,
56+
false, //because of Shitty NodeReport
57+
0x25,
58+
0x00)
59+
{
60+
}
61+
}

0 commit comments

Comments
 (0)