code for pressing the buttons over snmp