added analogInPacket