Add GetEvents function to decode and receive events from AMI