Fixed packet generation with threadID