Hi,
I am having trouble setting a bit field.
userIdType is defined as SYNTAX BITS (32 bits, Bit00 to Bit31).
I tried setting $value to:
'1,2,3',
0xFC000000
and tried other ways but I keep getting:
"wrongValue (The set value is illegal or unsupported in some way)"
Here is how I tried to set:
my $vars = new SNMP::VarList(["userIdType", $userID, $value, "Bits"]);
$self->{snmp}->set($vars);
Note: I have no problem setting the value using snmpset. I passed the value s as comma separated bit positions.
Thanks for the help.
-bik
I am having trouble setting a bit field.
userIdType is defined as SYNTAX BITS (32 bits, Bit00 to Bit31).
I tried setting $value to:
'1,2,3',
0xFC000000
and tried other ways but I keep getting:
"wrongValue (The set value is illegal or unsupported in some way)"
Here is how I tried to set:
my $vars = new SNMP::VarList(["userIdType", $userID, $value, "Bits"]);
$self->{snmp}->set($vars);
Note: I have no problem setting the value using snmpset. I passed the value s as comma separated bit positions.
Thanks for the help.
-bik
Yahoo! DSL Something to write home about. Just $16.99/mo. or less
