How to use the OID Converter Console Demo
Last updated
C:\temp>oidconverter 2.1.2.2.2.1
Input OID: 2.1.2.2.2.1
Converted OID string: E108E206E204E202C100Input OID: 2.1.2.2.2.1
Converted OID string: E108E206E204E202C100byte[] getConfigInfo(
byte configType,
byte[] data);
byte configType = 0x02;
byte[] data = {0xE1,0x08,0xE2,0x06,0xE2,0x04,0xE2,0x02,0xC1,0x00};
byte[] response = devConfig.getConfigInfo(configType, data);C:\temp>oidconverter 1.2.3.1.1.1 03000000
//When typed in hexadecimal.
//C:\temp>oidconverter 010203010101 03000000C:\temp>oidconverter 1.2.3.1.1.1 03000000
Input OID: 1.2.3.1.1.1
Input Command Data: 03000000
Converted OID string: E20CE30AE108E106C10403000000Input OID: 1.2.3.1.1.1
Input Command Data: 03000000
Converted OID string: E20CE30AE108E106C10403000000
byte[] setConfigInfo(
byte configType,
byte[] data,
IConfigurationCallback callback);byte configType = 0x01;
byte[] data = {0xE2,0x0C,0xE3,0x0A,0Xe1,0x08,0xE1,
0x06,0xC1,0x04,0x03,0x00,0x00,0x00};
int response = devConfig.setConfigInfo(configType, data, this);