1 /* Get_Integers_Large_and_Neg_Numbers.c  */
2 
3 /* Set 255 1.3.6.1.2.1.4.1.0 Frame 28223 (85 bytes) */
4 const unsigned char set_request_integer_255_pkt[43] = {
5 0x30, 0x29, 0x02, 0x01, 0x00, 0x04, /* .T0).... */
6 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */
7 0xa3, 0x1b, 0x02, 0x01, 0x69, 0x02, 0x01, 0x00, /* ....i... */
8 0x02, 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, /* ...0.0.. */
9 0x08, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, /* .+...... */
10 0x00, 0x02, 0x02, 0x00, 0xff                    /* ..... */
11 };
12 
13 int set_request_integer_255_size = 43;
14 
15 
16 /* /* Get request 1.3.6.1.2.1.4.1.0 Frame 28256 Frame(82 bytes) */
17 const unsigned char get_request_integer_255_pkt[40] = {
18 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, /* .Q0&.... */
19 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */
20 0x19, 0x02, 0x01, 0x6a, 0x02, 0x01, 0x00, 0x02, /* ...j.... */
21 0x01, 0x00, 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, /* ..0.0... */
22 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, 0x00, /* +....... */
23 0x05, 0x00                                      /* .. */
24 };
25 
26 int get_request_integer_255_size = 40;
27 
28 /* Set request neg 255 1.3.6.1.2.1.4.1.0  Frame 29094(85 bytes) */
29 const unsigned char set_request_integer_neg255_pkt[43] = {
30 0x30, 0x29, 0x02, 0x01, 0x00, 0x04, /* .T0).... */
31 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */
32 0xa3, 0x1b, 0x02, 0x01, 0x70, 0x02, 0x01, 0x00, /* ....p... */
33 0x02, 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, /* ...0.0.. */
34 0x08, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, /* .+...... */
35 0x00, 0x02, 0x02, 0xff, 0x01                    /* ..... */
36 };
37 
38 int set_request_integer_neg255_size = 43;
39 
40 
41 /* Get request 1.3.6.1.2.1.4.1.0 Frame 29127 (82 bytes) */
42 const unsigned char get_request_integer_neg255_pkt[40] = {
43 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, /* .Q0&.... */
44 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */
45 0x19, 0x02, 0x01, 0x71, 0x02, 0x01, 0x00, 0x02, /* ...q.... */
46 0x01, 0x00, 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, /* ..0.0... */
47 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, 0x00, /* +....... */
48 0x05, 0x00                                      /* .. */
49 };
50 
51 
52 int get_request_integer_neg255_size = 40;
53 
54 
55 
56 /* Set request -2345325 1.3.6.1.2.1.4.1.0  Frame 29488 (86 bytes) */
57 unsigned char set_request_integer_neg2345345_pkt[44] = {
58 0x30, 0x2a, 0x02, 0x01, 0x00, 0x04, /* .U0*.... */
59 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */
60 0xa3, 0x1c, 0x02, 0x01, 0x72, 0x02, 0x01, 0x00, /* ....r... */
61 0x02, 0x01, 0x00, 0x30, 0x11, 0x30, 0x0f, 0x06, /* ...0.0.. */
62 0x08, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, /* .+...... */
63 0x00, 0x02, 0x03, 0xdc, 0x36, 0x7f              /* ....6. */
64 };
65 
66 int set_request_integer_neg2345345_size = 44;
67 
68 /* Get request -2345325 1.3.6.1.2.1.4.1.0 Frame 29567 (82 bytes) */
69 const unsigned char get_request_integer_neg2345345_pkt[40] = {
70 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, /* .Q0&.... */
71 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */
72 0x19, 0x02, 0x01, 0x73, 0x02, 0x01, 0x00, 0x02, /* ...s.... */
73 0x01, 0x00, 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, /* ..0.0... */
74 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, 0x00, /* +....... */
75 0x05, 0x00                                      /* .. */
76 };
77 
78 int get_request_integer_neg2345345_size = 40;
79 
80