TLR2 and type 2 diabetes mellitus: Model performance was assessed via Hosmer-Lemeshow tests and decision curve analysis (DCA).<h4>Results</h4>Patients with T2DM and pulmonary infection exhibited significantly elevated levels of fasting blood glucose, inflammatory markers (WBC, NEUT, hsCRP, PCT, ESR), and TLR2/4 mRNA expression, as well as higher rates of invasive procedures, compared with the T2DM group (all P < 0.05).