add oled 01

master
修改密码漏洞修复完成 1 month ago
parent 57c8d1dc04
commit bab3b1851a

@ -58,14 +58,14 @@ public class AdminClientTemperatureApplication implements CommandLineRunner, App
log.info(entry.getKey());//demo1Controller
}
try {
if (temperatureService != null) {
log.info("------------------------");
log.info("TemperatureController is not empty");
MqttRSAClient client = new MqttRSAClient();
client.start(temperatureService);
}else {
log.info("temperatureService is empty");
}
// if (temperatureService != null) {
// log.info("------------------------");
// log.info("TemperatureController is not empty");
// MqttRSAClient client = new MqttRSAClient();
// client.start(temperatureService);
// }else {
// log.info("temperatureService is empty");
// }
if (temperatureEspService != null) {
log.info("------------------------");
log.info("temperatureEspService is not empty");

@ -40,7 +40,7 @@ public class MqttDianDengTechClient {
/**
*
*/
public static String TOPIC_FILTER = "/device/esp8266/001";
public static String TOPIC_FILTER = "/device/esp8266/+";
private volatile static MqttClient mqttClient;
private static MqttConnectOptions options;

Loading…
Cancel
Save