Temperature-controlled resistive sensing of gaseous H2S or NO2 by using flower-like palladium-doped SnO2 nanomaterials