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 log.info(entry.getKey());//demo1Controller
} }
try { try {
if (temperatureService != null) { // if (temperatureService != null) {
log.info("------------------------"); // log.info("------------------------");
log.info("TemperatureController is not empty"); // log.info("TemperatureController is not empty");
MqttRSAClient client = new MqttRSAClient(); // MqttRSAClient client = new MqttRSAClient();
client.start(temperatureService); // client.start(temperatureService);
}else { // }else {
log.info("temperatureService is empty"); // log.info("temperatureService is empty");
} // }
if (temperatureEspService != null) { if (temperatureEspService != null) {
log.info("------------------------"); log.info("------------------------");
log.info("temperatureEspService is not empty"); 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 volatile static MqttClient mqttClient;
private static MqttConnectOptions options; private static MqttConnectOptions options;

Loading…
Cancel
Save