Added code for packet structure for Ir Code.