diff --git a/S905X_BI/S905X_BI b/S905X_BI/S905X_BI index 63213d2..f14286a 100644 Binary files a/S905X_BI/S905X_BI and b/S905X_BI/S905X_BI differ diff --git a/S905X_BI/S905X_BI.go b/S905X_BI/S905X_BI.go index fec7b8f..356cb95 100644 --- a/S905X_BI/S905X_BI.go +++ b/S905X_BI/S905X_BI.go @@ -312,8 +312,8 @@ func MQTTOnConnectHandler(client mqtt.Client) { number_resub = number_resub + 1 file.Write_log("Lostconnect chanel subcriber: MQTT_OnConnectHandler\n", box.Path_log_luncher) file.Write_log("Number reconnect subcriber msg: "+strconv.Itoa(number_resub)+"\n", box.Path_log_luncher) - client.Unsubscribe(CmsTopicOut) - time.Sleep(10) + //client.Unsubscribe(CmsTopicOut) + //time.Sleep(10) //client.Subscribe(CmsTopicOut, 0, MqttMessageHandler) if token := client.Subscribe(CmsTopicOut, 0, MqttMessageHandler); token.Wait() && token.Error() != nil { fmt.Println(token.Error()) diff --git a/S905X_BI/scp.txt b/S905X_BI/scp.txt index 6a9d462..ede9548 100644 --- a/S905X_BI/scp.txt +++ b/S905X_BI/scp.txt @@ -1,2 +1,2 @@ -scp -P 2332 -r -o 'ProxyJump dh.duyhai@ssh_tunnel.beetai.com' S905X_BI root@localhost:/root/monitor/check/ \ No newline at end of file +scp -P 2466 -r -o 'ProxyJump dh.duyhai@ssh_tunnel.beetai.com' S905X_BI root@localhost:/root/monitor/check/ \ No newline at end of file