/* Get_Integers_Large_and_Neg_Numbers.c */ /* Set 255 1.3.6.1.2.1.4.1.0 Frame 28223 (85 bytes) */ const unsigned char set_request_integer_255_pkt[43] = { 0x30, 0x29, 0x02, 0x01, 0x00, 0x04, /* .T0).... */ 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */ 0xa3, 0x1b, 0x02, 0x01, 0x69, 0x02, 0x01, 0x00, /* ....i... */ 0x02, 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, /* ...0.0.. */ 0x08, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, /* .+...... */ 0x00, 0x02, 0x02, 0x00, 0xff /* ..... */ }; int set_request_integer_255_size = 43; /* /* Get request 1.3.6.1.2.1.4.1.0 Frame 28256 Frame(82 bytes) */ const unsigned char get_request_integer_255_pkt[40] = { 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, /* .Q0&.... */ 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */ 0x19, 0x02, 0x01, 0x6a, 0x02, 0x01, 0x00, 0x02, /* ...j.... */ 0x01, 0x00, 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, /* ..0.0... */ 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, 0x00, /* +....... */ 0x05, 0x00 /* .. */ }; int get_request_integer_255_size = 40; /* Set request neg 255 1.3.6.1.2.1.4.1.0 Frame 29094(85 bytes) */ const unsigned char set_request_integer_neg255_pkt[43] = { 0x30, 0x29, 0x02, 0x01, 0x00, 0x04, /* .T0).... */ 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */ 0xa3, 0x1b, 0x02, 0x01, 0x70, 0x02, 0x01, 0x00, /* ....p... */ 0x02, 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, /* ...0.0.. */ 0x08, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, /* .+...... */ 0x00, 0x02, 0x02, 0xff, 0x01 /* ..... */ }; int set_request_integer_neg255_size = 43; /* Get request 1.3.6.1.2.1.4.1.0 Frame 29127 (82 bytes) */ const unsigned char get_request_integer_neg255_pkt[40] = { 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, /* .Q0&.... */ 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */ 0x19, 0x02, 0x01, 0x71, 0x02, 0x01, 0x00, 0x02, /* ...q.... */ 0x01, 0x00, 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, /* ..0.0... */ 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, 0x00, /* +....... */ 0x05, 0x00 /* .. */ }; int get_request_integer_neg255_size = 40; /* Set request -2345325 1.3.6.1.2.1.4.1.0 Frame 29488 (86 bytes) */ unsigned char set_request_integer_neg2345345_pkt[44] = { 0x30, 0x2a, 0x02, 0x01, 0x00, 0x04, /* .U0*.... */ 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */ 0xa3, 0x1c, 0x02, 0x01, 0x72, 0x02, 0x01, 0x00, /* ....r... */ 0x02, 0x01, 0x00, 0x30, 0x11, 0x30, 0x0f, 0x06, /* ...0.0.. */ 0x08, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, /* .+...... */ 0x00, 0x02, 0x03, 0xdc, 0x36, 0x7f /* ....6. */ }; int set_request_integer_neg2345345_size = 44; /* Get request -2345325 1.3.6.1.2.1.4.1.0 Frame 29567 (82 bytes) */ const unsigned char get_request_integer_neg2345345_pkt[40] = { 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, /* .Q0&.... */ 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */ 0x19, 0x02, 0x01, 0x73, 0x02, 0x01, 0x00, 0x02, /* ...s.... */ 0x01, 0x00, 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, /* ..0.0... */ 0x2b, 0x06, 0x01, 0x02, 0x01, 0x04, 0x01, 0x00, /* +....... */ 0x05, 0x00 /* .. */ }; int get_request_integer_neg2345345_size = 40;