Modified the qr_packet.c