commit 6c87d19f35b3d9494a1368fcdd79884a555daede Author: XuJiacheng Date: Thu Dec 11 14:06:02 2025 +0800 提交初始化 diff --git a/.vs/SerialPortLogFilterin/v16/.suo b/.vs/SerialPortLogFilterin/v16/.suo new file mode 100644 index 0000000..0a9c8ee Binary files /dev/null and b/.vs/SerialPortLogFilterin/v16/.suo differ diff --git a/App.config b/App.config new file mode 100644 index 0000000..c96bec9 --- /dev/null +++ b/App.config @@ -0,0 +1,36 @@ + + + + +
+ + + + + + + + + + + + + + + 1309 + + + 921 + + + 619 + + + + + + + + + + \ No newline at end of file diff --git a/Form1.Designer.vb b/Form1.Designer.vb new file mode 100644 index 0000000..3f9a51f --- /dev/null +++ b/Form1.Designer.vb @@ -0,0 +1,319 @@ + _ +Partial Class Form1 + Inherits System.Windows.Forms.Form + + 'Form 重写 Dispose,以清理组件列表。 + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Windows 窗体设计器所必需的 + Private components As System.ComponentModel.IContainer + + '注意: 以下过程是 Windows 窗体设计器所必需的 + '可以使用 Windows 窗体设计器修改它。 + '不要使用代码编辑器修改它。 + _ + Private Sub InitializeComponent() + Me.components = New System.ComponentModel.Container() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1)) + Me.ToolStrip1 = New System.Windows.Forms.ToolStrip() + Me.ToolStripSeparator6 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripButton6 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripButton4 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripButton7 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripComboBox1 = New System.Windows.Forms.ToolStripComboBox() + Me.ToolStripButton8 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripComboBox2 = New System.Windows.Forms.ToolStripComboBox() + Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripButton2 = New System.Windows.Forms.ToolStripButton() + Me.txt_Hread = New System.Windows.Forms.ToolStripTextBox() + Me.ToolStripLabel1 = New System.Windows.Forms.ToolStripLabel() + Me.txt_rump = New System.Windows.Forms.ToolStripTextBox() + Me.ToolStripButton3 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripSeparator5 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripSeparator7 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripButton9 = New System.Windows.Forms.ToolStripButton() + Me.ToolStripSeparator8 = New System.Windows.Forms.ToolStripSeparator() + Me.ToolStripButton5 = New System.Windows.Forms.ToolStripButton() + Me.SplitContainer1 = New System.Windows.Forms.SplitContainer() + Me.RichTextBox1 = New System.Windows.Forms.RichTextBox() + Me.RichTextBox2 = New System.Windows.Forms.RichTextBox() + Me.ErrorProvider1 = New System.Windows.Forms.ErrorProvider(Me.components) + Me.SerialPort1 = New System.IO.Ports.SerialPort(Me.components) + Me.ToolStrip1.SuspendLayout() + CType(Me.SplitContainer1, System.ComponentModel.ISupportInitialize).BeginInit() + Me.SplitContainer1.Panel1.SuspendLayout() + Me.SplitContainer1.Panel2.SuspendLayout() + Me.SplitContainer1.SuspendLayout() + CType(Me.ErrorProvider1, System.ComponentModel.ISupportInitialize).BeginInit() + Me.SuspendLayout() + ' + 'ToolStrip1 + ' + Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripSeparator6, Me.ToolStripButton6, Me.ToolStripButton4, Me.ToolStripSeparator3, Me.ToolStripSeparator4, Me.ToolStripButton7, Me.ToolStripComboBox1, Me.ToolStripButton8, Me.ToolStripComboBox2, Me.ToolStripButton1, Me.ToolStripSeparator2, Me.ToolStripSeparator1, Me.ToolStripButton2, Me.txt_Hread, Me.ToolStripLabel1, Me.txt_rump, Me.ToolStripButton3, Me.ToolStripSeparator5, Me.ToolStripSeparator7, Me.ToolStripButton9, Me.ToolStripSeparator8, Me.ToolStripButton5}) + Me.ToolStrip1.Location = New System.Drawing.Point(0, 0) + Me.ToolStrip1.Name = "ToolStrip1" + Me.ToolStrip1.Size = New System.Drawing.Size(1293, 25) + Me.ToolStrip1.TabIndex = 0 + Me.ToolStrip1.Text = "ToolStrip1" + ' + 'ToolStripSeparator6 + ' + Me.ToolStripSeparator6.Name = "ToolStripSeparator6" + Me.ToolStripSeparator6.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripButton6 + ' + Me.ToolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton6.Image = CType(resources.GetObject("ToolStripButton6.Image"), System.Drawing.Image) + Me.ToolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton6.Name = "ToolStripButton6" + Me.ToolStripButton6.Size = New System.Drawing.Size(60, 22) + Me.ToolStripButton6.Tag = "1" + Me.ToolStripButton6.Text = "清除左边" + ' + 'ToolStripButton4 + ' + Me.ToolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton4.Image = CType(resources.GetObject("ToolStripButton4.Image"), System.Drawing.Image) + Me.ToolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton4.Name = "ToolStripButton4" + Me.ToolStripButton4.Size = New System.Drawing.Size(96, 22) + Me.ToolStripButton4.Tag = "1" + Me.ToolStripButton4.Text = "保存左边到文件" + ' + 'ToolStripSeparator3 + ' + Me.ToolStripSeparator3.Name = "ToolStripSeparator3" + Me.ToolStripSeparator3.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripSeparator4 + ' + Me.ToolStripSeparator4.Name = "ToolStripSeparator4" + Me.ToolStripSeparator4.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripButton7 + ' + Me.ToolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton7.Image = CType(resources.GetObject("ToolStripButton7.Image"), System.Drawing.Image) + Me.ToolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton7.Name = "ToolStripButton7" + Me.ToolStripButton7.Size = New System.Drawing.Size(51, 22) + Me.ToolStripButton7.Text = "串口名:" + ' + 'ToolStripComboBox1 + ' + Me.ToolStripComboBox1.Name = "ToolStripComboBox1" + Me.ToolStripComboBox1.Size = New System.Drawing.Size(121, 25) + ' + 'ToolStripButton8 + ' + Me.ToolStripButton8.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton8.Image = CType(resources.GetObject("ToolStripButton8.Image"), System.Drawing.Image) + Me.ToolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton8.Name = "ToolStripButton8" + Me.ToolStripButton8.Size = New System.Drawing.Size(48, 22) + Me.ToolStripButton8.Text = "端口:" + ' + 'ToolStripComboBox2 + ' + Me.ToolStripComboBox2.Items.AddRange(New Object() {"1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "256000", "512000", "9216000", "1000000"}) + Me.ToolStripComboBox2.Name = "ToolStripComboBox2" + Me.ToolStripComboBox2.Size = New System.Drawing.Size(121, 25) + ' + 'ToolStripButton1 + ' + Me.ToolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton1.Image = CType(resources.GetObject("ToolStripButton1.Image"), System.Drawing.Image) + Me.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton1.Name = "ToolStripButton1" + Me.ToolStripButton1.Size = New System.Drawing.Size(60, 22) + Me.ToolStripButton1.Text = "打开串口" + ' + 'ToolStripSeparator2 + ' + Me.ToolStripSeparator2.Name = "ToolStripSeparator2" + Me.ToolStripSeparator2.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripSeparator1 + ' + Me.ToolStripSeparator1.Name = "ToolStripSeparator1" + Me.ToolStripSeparator1.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripButton2 + ' + Me.ToolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton2.Image = CType(resources.GetObject("ToolStripButton2.Image"), System.Drawing.Image) + Me.ToolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton2.Name = "ToolStripButton2" + Me.ToolStripButton2.Size = New System.Drawing.Size(55, 22) + Me.ToolStripButton2.Text = "Head:" + ' + 'txt_Hread + ' + Me.txt_Hread.Font = New System.Drawing.Font("Microsoft YaHei UI", 9.0!) + Me.txt_Hread.Name = "txt_Hread" + Me.txt_Hread.Size = New System.Drawing.Size(100, 25) + ' + 'ToolStripLabel1 + ' + Me.ToolStripLabel1.Name = "ToolStripLabel1" + Me.ToolStripLabel1.Size = New System.Drawing.Size(45, 22) + Me.ToolStripLabel1.Text = "Rump:" + ' + 'txt_rump + ' + Me.txt_rump.Font = New System.Drawing.Font("Microsoft YaHei UI", 9.0!) + Me.txt_rump.Name = "txt_rump" + Me.txt_rump.Size = New System.Drawing.Size(100, 25) + ' + 'ToolStripButton3 + ' + Me.ToolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton3.Image = CType(resources.GetObject("ToolStripButton3.Image"), System.Drawing.Image) + Me.ToolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton3.Name = "ToolStripButton3" + Me.ToolStripButton3.Size = New System.Drawing.Size(60, 22) + Me.ToolStripButton3.Text = "设置过滤" + ' + 'ToolStripSeparator5 + ' + Me.ToolStripSeparator5.Name = "ToolStripSeparator5" + Me.ToolStripSeparator5.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripSeparator7 + ' + Me.ToolStripSeparator7.Name = "ToolStripSeparator7" + Me.ToolStripSeparator7.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripButton9 + ' + Me.ToolStripButton9.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton9.Image = CType(resources.GetObject("ToolStripButton9.Image"), System.Drawing.Image) + Me.ToolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton9.Name = "ToolStripButton9" + Me.ToolStripButton9.Size = New System.Drawing.Size(96, 22) + Me.ToolStripButton9.Tag = "2" + Me.ToolStripButton9.Text = "保存右边到文件" + ' + 'ToolStripSeparator8 + ' + Me.ToolStripSeparator8.Name = "ToolStripSeparator8" + Me.ToolStripSeparator8.Size = New System.Drawing.Size(6, 25) + ' + 'ToolStripButton5 + ' + Me.ToolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text + Me.ToolStripButton5.Image = CType(resources.GetObject("ToolStripButton5.Image"), System.Drawing.Image) + Me.ToolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta + Me.ToolStripButton5.Name = "ToolStripButton5" + Me.ToolStripButton5.Size = New System.Drawing.Size(60, 22) + Me.ToolStripButton5.Tag = "2" + Me.ToolStripButton5.Text = "清除右边" + ' + 'SplitContainer1 + ' + Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill + Me.SplitContainer1.Location = New System.Drawing.Point(0, 25) + Me.SplitContainer1.Name = "SplitContainer1" + ' + 'SplitContainer1.Panel1 + ' + Me.SplitContainer1.Panel1.Controls.Add(Me.RichTextBox1) + ' + 'SplitContainer1.Panel2 + ' + Me.SplitContainer1.Panel2.Controls.Add(Me.RichTextBox2) + Me.SplitContainer1.Size = New System.Drawing.Size(1293, 857) + Me.SplitContainer1.SplitterDistance = 619 + Me.SplitContainer1.TabIndex = 1 + ' + 'RichTextBox1 + ' + Me.RichTextBox1.Dock = System.Windows.Forms.DockStyle.Fill + Me.RichTextBox1.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) + Me.RichTextBox1.Location = New System.Drawing.Point(0, 0) + Me.RichTextBox1.Name = "RichTextBox1" + Me.RichTextBox1.Size = New System.Drawing.Size(619, 857) + Me.RichTextBox1.TabIndex = 0 + Me.RichTextBox1.Text = "" + ' + 'RichTextBox2 + ' + Me.RichTextBox2.Dock = System.Windows.Forms.DockStyle.Fill + Me.RichTextBox2.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) + Me.RichTextBox2.Location = New System.Drawing.Point(0, 0) + Me.RichTextBox2.Name = "RichTextBox2" + Me.RichTextBox2.Size = New System.Drawing.Size(670, 857) + Me.RichTextBox2.TabIndex = 1 + Me.RichTextBox2.Text = "" + ' + 'ErrorProvider1 + ' + Me.ErrorProvider1.ContainerControl = Me + ' + 'SerialPort1 + ' + ' + 'Form1 + ' + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.ClientSize = New System.Drawing.Size(1293, 882) + Me.Controls.Add(Me.SplitContainer1) + Me.Controls.Add(Me.ToolStrip1) + Me.Name = "Form1" + Me.Text = "Form1" + Me.ToolStrip1.ResumeLayout(False) + Me.ToolStrip1.PerformLayout() + Me.SplitContainer1.Panel1.ResumeLayout(False) + Me.SplitContainer1.Panel2.ResumeLayout(False) + CType(Me.SplitContainer1, System.ComponentModel.ISupportInitialize).EndInit() + Me.SplitContainer1.ResumeLayout(False) + CType(Me.ErrorProvider1, System.ComponentModel.ISupportInitialize).EndInit() + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + + Friend WithEvents ToolStrip1 As ToolStrip + Friend WithEvents ToolStripComboBox1 As ToolStripComboBox + Friend WithEvents ToolStripButton1 As ToolStripButton + Friend WithEvents ToolStripSeparator2 As ToolStripSeparator + Friend WithEvents ToolStripSeparator1 As ToolStripSeparator + Friend WithEvents ToolStripButton2 As ToolStripButton + Friend WithEvents txt_Hread As ToolStripTextBox + Friend WithEvents ToolStripLabel1 As ToolStripLabel + Friend WithEvents txt_rump As ToolStripTextBox + Friend WithEvents ToolStripButton3 As ToolStripButton + Friend WithEvents ToolStripSeparator4 As ToolStripSeparator + Friend WithEvents ToolStripSeparator3 As ToolStripSeparator + Friend WithEvents ToolStripButton4 As ToolStripButton + Friend WithEvents ToolStripSeparator6 As ToolStripSeparator + Friend WithEvents ToolStripSeparator5 As ToolStripSeparator + Friend WithEvents ToolStripButton6 As ToolStripButton + Friend WithEvents ToolStripSeparator7 As ToolStripSeparator + Friend WithEvents ToolStripButton5 As ToolStripButton + Friend WithEvents SplitContainer1 As SplitContainer + Friend WithEvents RichTextBox1 As RichTextBox + Friend WithEvents RichTextBox2 As RichTextBox + Friend WithEvents ToolStripButton7 As ToolStripButton + Friend WithEvents ToolStripButton8 As ToolStripButton + Friend WithEvents ToolStripComboBox2 As ToolStripComboBox + Friend WithEvents ErrorProvider1 As ErrorProvider + Friend WithEvents SerialPort1 As IO.Ports.SerialPort + Friend WithEvents ToolStripButton9 As ToolStripButton + Friend WithEvents ToolStripSeparator8 As ToolStripSeparator +End Class diff --git a/Form1.resx b/Form1.resx new file mode 100644 index 0000000..1460fdf --- /dev/null +++ b/Form1.resx @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + 129, 17 + + + 266, 17 + + \ No newline at end of file diff --git a/Form1.vb b/Form1.vb new file mode 100644 index 0000000..aba24d2 --- /dev/null +++ b/Form1.vb @@ -0,0 +1,353 @@ +Imports System.IO +Imports System.IO.Ports +Imports System.Text +Imports System.Threading + +Public Class Form1 + Public filedic As Dictionary(Of String, StreamWriternode) + Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load + '设置窗体标题为项目名称加版本 + Me.Text = Application.ProductName & " " & Application.ProductVersion + + filedic = New Dictionary(Of String, StreamWriternode) + recvBufferli = New List(Of Byte) + + '刷新My.Settings的值 + My.Settings.Reload() + '设置窗体参数 + Me.Width = My.Settings.thewidth + Me.Height = My.Settings.theheight + SplitContainer1.SplitterDistance = My.Settings.SplitterDistance + '设置串口参数 + ToolStripComboBox1.Text = My.Settings.PortName + ToolStripComboBox2.Text = My.Settings.BaudRate.ToString + + '设置匹配参数 + txt_Hread.Text = My.Settings.theHead + txt_rump.Text = My.Settings.theRump + + + End Sub + + + + + + + Private Sub RText_OutputText_TextChanged(sender As Object, e As EventArgs) Handles RichTextBox1.TextChanged, RichTextBox2.TextChanged + '获取sender + Dim RText_OutputText As RichTextBox = DirectCast(sender, RichTextBox) + + If RText_OutputText.Lines.Length > 100000 Then + Dim lines() As String = RText_OutputText.Lines + Dim newLines(lines.Length - 1000) As String + Array.Copy(lines, 1000, newLines, 0, newLines.Length) + End If + 'If RText_OutputText.Scrollcaret() Then + RText_OutputText.ScrollToCaret() + End Sub + + Private Sub ToolStripButton6_Click(sender As Object, e As EventArgs) Handles ToolStripButton6.Click, ToolStripButton5.Click + '获取按钮 + Dim ToolStripButton As ToolStripButton = DirectCast(sender, ToolStripButton) + '获取tag + Dim mtag As String = ToolStripButton.Tag.ToString + '如果mtag为1 + If mtag = "1" Then + RichTextBox1.Clear() + '如果 mtag为2 + ElseIf mtag = "2" Then + RichTextBox2.Clear() + End If + End Sub + + Private Sub ToolStripComboBox1_DropDown(sender As Object, e As EventArgs) Handles ToolStripComboBox1.DropDown + ToolStripComboBox1.Items.Clear() + ToolStripComboBox1.Items.AddRange(SerialPort.GetPortNames()) + End Sub + Public isread As Boolean = False '串口关闭标志 + Public isListen As Boolean = False '串口等待关闭标志 + Private Sub ToolStripButton1_Click(sender As Object, e As EventArgs) Handles ToolStripButton1.Click + If ToolStripButton1.Text = "关闭连接" Then + ToolStripButton1.Text = "打开连接" + ToolStripButton1.BackColor = Color.Transparent + ToolStripComboBox1.Enabled = True + ToolStripComboBox2.Enabled = True + SharedFunction.CloseSerial(SerialPort1, isread, isListen) + + Else + + ToolStripComboBox1.Enabled = False + ToolStripComboBox2.Enabled = False + ToolStripButton1.Text = "关闭连接" + ToolStripButton1.BackColor = Color.OrangeRed + Dim vmbaud As Integer = 0 + isread = False + isListen = False + '判断端口号是否合法 + If String.IsNullOrEmpty(ToolStripComboBox1.Text) Then + MsgBox("请选择端口号!") + ToolStripButton1_Click(Nothing, Nothing) + Return + End If + '判断波特率是否合法 + If String.IsNullOrEmpty(ToolStripComboBox2.Text) OrElse Not Integer.TryParse(ToolStripComboBox2.Text, vmbaud) Then + MsgBox("请选择波特率!") + ToolStripButton1_Click(Nothing, Nothing) + Return + End If + + '打开串口 + If SharedFunction.OpenSerial(SerialPort1, ToolStripComboBox1.Text, vmbaud) Then + Else + MsgBox("串口打开失败!") + ToolStripButton1_Click(Nothing, Nothing) + Return + End If + + End If + End Sub + Private _recvBuffer(4095) As Byte + Public recvBufferli As List(Of Byte) + Public recvBufferliindex As Integer = 0 + Private Sub SerialPort1_DataReceived(sender As Object, e As IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived + If isread Then Return + + isListen = True + Static bytes As Integer = 0 + Dim sp As SerialPort = DirectCast(sender, SerialPort) + + Try + + + Do + bytes = sp.BytesToRead + If bytes <= 0 Then Exit Sub + + + Dim buf(bytes - 1) As Byte + sp.Read(buf, 0, bytes) + recvBufferli.AddRange(buf) + + + Thread.Sleep(5) + Loop While sp.BytesToRead > 0 + If recvBufferli.Count > 0 Then + Dim buf(recvBufferli.Count - 1) As Byte + Array.Copy(recvBufferli.ToArray, 0, buf, 0, buf.Length) + recvBufferli.Clear() + Dim ndate As DateTime = DateTime.Now + 'AddTimeStamps + Dim readstr1 As String = Encoding.ASCII.GetString(buf) + '以回车换行切割readstr + Dim readstrs() As String = readstr1.Trim.Split(vbCrLf) + For Each readstr In readstrs + readstr = readstr.Trim + If String.IsNullOrEmpty(readstr) Then Continue For + Dim RuningLognode As RuningLogConfig = New RuningLogConfig($"{ndate.ToString("yyyy-MM-dd HH:mm:ss:fff")}RX:{readstr}") + RuningLog.OutputLogsToTheControl(RichTextBox1, RuningLognode, 1) + + + If filedic.ContainsKey("1") AndAlso filedic("1").IsWriter Then + filedic("1").WriteData(RuningLognode.logstr) + End If + + FilterRecvData(readstr, RuningLognode) + Next + + + 'G_CommunicationProtocol.ProcessRecvData(buf) + + End If + + isListen = False + Catch ex As Exception + isListen = False + RuningLog.OutputLogsToTheControl(RichTextBox1, New RuningLogConfig($"串口接收数据失败,原因:{ex.Message}", Color.Red), 1) + 'AppendTipText($"串口接收数据失败,原因:{ex.Message}", Color.Red) + 'G_RichTextPrint.AddQueue(RichTextBox1, New RichTextNodeConfig($"串口接收数据失败,原因:{ex.Message}", Color.Red), 1) + 'RichTextPrint.OutputLogsToTheControl(m_Control, New RuningLogConfig($"串口接收数据失败,原因:{ex.Message}", Color.Red), 1) + End Try + End Sub + + '将读取的数据写入到文本函数 + + + '过滤串口接收数据函数 + Private Sub FilterRecvData(readstr As String, RuningLognode As RuningLogConfig) + + '判断是否需要头部过滤 + If Not String.IsNullOrEmpty(t_Hread) Then + If Not readstr.StartsWith(t_Hread) Then + Return + End If + End If + '判断是否需要尾部过滤 + If Not String.IsNullOrEmpty(t_rump) Then + If Not readstr.EndsWith(t_rump) Then + Return + End If + End If + + If String.IsNullOrEmpty(t_rump) AndAlso String.IsNullOrEmpty(t_Hread) Then Return + '执行其他操作 + RuningLog.OutputLogsToTheControl(RichTextBox2, RuningLognode, 1) + If filedic.ContainsKey("2") AndAlso filedic("2").IsWriter Then + filedic("2").WriteData(RuningLognode.logstr) + End If + + End Sub + + + Public t_Hread As String + Public t_rump As String + Private Sub ToolStripButton3_Click(sender As Object, e As EventArgs) Handles ToolStripButton3.Click + 'If String.IsNullOrEmpty(txt_Hread.Text) AndAlso String.IsNullOrEmpty(txt_rump.Text) Then + ' MsgBox("!") + ' Return + 'End If + If ToolStripButton3.Text.Equals("设置过滤") Then + ToolStripButton3.Text = "取消过滤" + t_Hread = txt_Hread.Text + t_rump = txt_rump.Text + Else + ToolStripButton3.Text = "设置过滤" + t_Hread = "" + t_rump = "" + End If + + + End Sub + + Private Sub ToolStripButton4_Click(sender As Object, e As EventArgs) Handles ToolStripButton9.Click, ToolStripButton4.Click + '获取按钮 + Dim btn As ToolStripButton = DirectCast(sender, ToolStripButton) + '获取按钮tag + Dim mtag As String = btn.Tag + Dim iswriter As Boolean = False + If mtag.Equals("1") Then + If btn.Text.Equals("保存左边到文件") Then + btn.Text = "取消保存左边到文件" + iswriter = True + Else + btn.Text = "保存左边到文件" + iswriter = False + End If + ElseIf mtag.Equals("2") Then + If btn.Text.Equals("保存右边到文件") Then + btn.Text = "取消保存右边到文件" + iswriter = True + Else + btn.Text = "保存右边到文件" + iswriter = False + End If + Else + Return + End If + + + + + + '判断tag是否为1 + + SaveTextFileWithTime(mtag, iswriter) + + + End Sub + '以时间为文件名创建文本 并返回追加写入对象 + Private Sub SaveTextFileWithTime(mtag As String, iswriter As Boolean) + + If iswriter Then + Dim dirstr As String = "其他" + If mtag.Equals("1") Then + dirstr = "原文日志" + ElseIf mtag.Equals("2") Then + dirstr = "过滤日志" + End If + + Dim filename As String = DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss") & ".txt" + + Dim filepath As String = Application.StartupPath & $"\{dirstr}\" & filename + + If Not Directory.Exists(Application.StartupPath & $"\{dirstr}\") Then + Directory.CreateDirectory(Application.StartupPath & $"\{dirstr}\") + End If + + If filedic.ContainsKey(mtag) Then + filedic(mtag).SwitchFile(filepath) + filedic(mtag).SetIsWriter(iswriter) + Else + filedic.Add(mtag, New StreamWriternode(filepath)) + filedic(mtag).SetIsWriter(iswriter) + End If + Else + If filedic.ContainsKey(mtag) Then + filedic(mtag).SetIsWriter(iswriter) + End If + End If + + + End Sub + + Private Sub Form1_FormClosed(sender As Object, e As FormClosedEventArgs) Handles MyBase.FormClosed + '设置My.Settings + My.Settings.thewidth = Width + My.Settings.theheight = Height + + My.Settings.theHead = txt_Hread.Text + My.Settings.theRump = txt_rump.Text + + My.Settings.SplitterDistance = SplitContainer1.SplitterDistance + My.Settings.PortName = ToolStripComboBox1.Text + My.Settings.BaudRate = ToolStripComboBox2.Text + + '保存My.Settings + My.Settings.Save() + + '遍历filedic 并关闭StreamWriter + For Each item In filedic + item.Value.SetIsWriter(False) + Next + End Sub +End Class +Public Class StreamWriternode + Public IsWriter As Boolean + Public sw As StreamWriter + Sub New(filepath As String) + sw = New StreamWriter(filepath, True, Encoding.UTF8) + End Sub + + '设置写入标志 + Sub SetIsWriter(iswmriter As Boolean) + IsWriter = iswmriter + If Not IsWriter Then + If sw IsNot Nothing Then + sw.Close() + End If + End If + + End Sub + '写入数据 + Sub WriteData(data As String) + If IsWriter Then + 'xie入数据 + sw.WriteLine(data) + '保存 + sw.Flush() + + End If + End Sub + '切换写入文档 + Sub SwitchFile(filepath As String) + '判断sw是否为空 + If sw IsNot Nothing Then + sw.Close() + End If + sw = New StreamWriter(filepath, True, Encoding.UTF8) + + End Sub + '判断sw是否为空 + + +End Class \ No newline at end of file diff --git a/Log/RuningLog.vb b/Log/RuningLog.vb new file mode 100644 index 0000000..52cf205 --- /dev/null +++ b/Log/RuningLog.vb @@ -0,0 +1,123 @@ +Imports System.Text + +Public Class RuningLog + + Public Shared level As Integer = 1 '日志级别 0:不输出日志 1:输出日志2:输出基础日志和错误信息 + Delegate Function Deleg_OutputLogsToTheControl(c As Control, config As RuningLogConfig, Controltype As Integer) As Boolean + '输出日志到控件 + ''' + ''' ''输出日志到控件 + ''' + ''' 控件 + ''' 日志 + ''' + Public Shared Function OutputLogsToTheControl(c As Control, config As RuningLogConfig, Controltype As Integer) As Boolean + Try + If c.InvokeRequired Then + Dim dev As New Deleg_OutputLogsToTheControl(AddressOf OutputLogsToTheControl) + c.Invoke(dev, New Object() {c, config, Controltype}) + Else + If Controltype >= level Then + Dim nc As RichTextBox = c + '获取富文本字符串末端位置 + Dim index As Integer = nc.TextLength + If (Not IsNothing(config.strdata)) AndAlso config.strdata.Length > 0 Then + config.logstr = config.logstr & DataProcessing.ByteToString2(config.strdata) + End If + + Dim strtxt = config.logstr & vbCrLf + '设置光标位置 + 'nc.SelectionStart = index + '添加文本 + nc.AppendText(strtxt) + '设置选择区域 + 'nc.Select(index, strtxt.Length) + ''设置选择区域颜色 + 'nc.SelectionColor = config.logstrColor + ''设置选择区域字体 + 'nc.SelectionFont = config.logstrFont + ''取消选中区域 + 'nc.DeselectAll() + + End If + + + End If + Catch ex As Exception + + End Try + + + End Function + + + + '字符串附加时间戳 + Public Shared Function AddTimeStamps(str As String) As String + Return Now.ToString("yyyy-MM-dd HH:mm:ss:fff") & " " & str + End Function + Public Shared Function AddTimeStamps(ndate As Date, str As String) As String + Return ndate.ToString("yyyy-MM-dd HH:mm:ss:fff") & " " & str + End Function + + +End Class +Public Class RuningLogConfig + '日志信息 + Public logstr As String + '日志信息颜色 + Public logstrColor As Color + '日志信息字体 + Public logstrFont As Font + '日志信息字体大小 + 'Public logstrFontSize As Integer + ''日志信息字体粗细 + 'Public logstrFontBold As Boolean + ''日志信息字体斜体 + 'Public logstrFontItalic As Boolean + ''日志信息字体下划线 + 'Public logstrFontUnderline As Boolean + ''日志信息字体删除线 + 'Public logstrFontStrikeout As Boolean + ''日志信息字体对齐方式 + 'Public logstrFontAlign As StringAlignment + '日志信息字体背景色 + Public logstrFontBackColor As Color + Public strdata As Byte() + + ''' + ''' 文本、颜色、Font + ''' + ''' + Sub New(ParamArray args() As Object) + If args.Length > 0 Then + logstr = args(0).ToString + + 'If args.Length > 1 Then + + ' logstrColor = args(1) + ' If args.Length > 2 Then + ' logstrFont = args(2) + ' Else + ' logstrFont = New Font("宋体", 12) + + ' End If + + ' If args.Length > 3 Then + ' strdata = args(3) + ' Else + ' strdata = Nothing + ' End If + + 'Else + ' logstrColor = Color.Black + 'End If + Else + logstr = "输空文本" + 'logstrColor = Color.Black + 'logstrFont = New Font("宋体", 12) + End If + + End Sub + +End Class \ No newline at end of file diff --git a/Mode/DataProcessing.vb b/Mode/DataProcessing.vb new file mode 100644 index 0000000..4a48116 --- /dev/null +++ b/Mode/DataProcessing.vb @@ -0,0 +1,391 @@ +Imports System.IO +Imports System.Net +Imports System.Net.NetworkInformation +Imports System.Net.Sockets +Imports System.Security.Cryptography +Imports System.Text +Imports System.Threading +Imports System.ComponentModel +Imports System.Reflection +Imports Newtonsoft.Json + +Public Class DataProcessing + + + + ''' + ''' 端口号转换为Byte数组 + ''' + ''' + ''' + Public Shared Function GetPortToBytes(port As String) + Dim bport As Integer = CInt(port) + Dim ports() As Byte = IntToByteLB(bport) + + Return ports + End Function + + '字符串转byte 数组 + Public Shared Function GetBytesFromStr(str As String) As Byte() + Return Encoding.ASCII.GetBytes(str) + End Function + 'bytes转字符串 + Public Shared Function GetStrFromBytes(bytes() As Byte) As String + Return Encoding.ASCII.GetString(bytes) + End Function + + '计算数组CRC16校验 + + Public Shared Function GetCRC16(data() As Byte) As Integer + Dim crc As Integer = &HFFFF + Dim i As Integer + Dim j As Integer + + For i = 0 To data.Length - 1 + crc = crc Xor data(i) + For j = 0 To 7 + If (crc And &H1) <> 0 Then + crc = (crc >> 1) Xor &HA001 + Else + crc = crc >> 1 + End If + Next + Next + + Return crc + End Function + + ''' + ''' Int转2个字节Byte + ''' 低字节在前,高字节在后 + ''' + ''' + ''' + Public Shared Function IntToByteLB(ByVal i As Integer) As Byte() + Dim btemp() As Byte = {0, 0} + Dim b() As Byte = BitConverter.GetBytes(i) + btemp(0) = b(1) + btemp(1) = b(0) + Return btemp + End Function + ''' + ''' Int转4个字节Byte + ''' 低字节在前,高字节在后 + ''' + ''' + ''' + Public Shared Function IntToByteLxxB(ByVal i As Integer) As Byte() + Dim btemp() As Byte = {0, 0, 0, 0} + Dim b() As Byte = BitConverter.GetBytes(i) + btemp(0) = b(3) + btemp(1) = b(2) + btemp(2) = b(1) + btemp(3) = b(0) + Return btemp + End Function + Public Shared Function IntToByteHxxB(ByVal i As Integer) As Byte() + Dim btemp() As Byte = {0, 0, 0, 0} + Dim b() As Byte = BitConverter.GetBytes(i) + btemp(0) = b(0) + btemp(1) = b(1) + btemp(2) = b(2) + btemp(3) = b(3) + Return btemp + End Function + + + ''' + ''' Int转2个字节Byte + ''' 高字节在前,低字节在后 + ''' + ''' + ''' + Public Shared Function IntToByteHB(ByVal i As Integer) As Byte() + Dim btemp() As Byte = {0, 0} + Dim b() As Byte = BitConverter.GetBytes(i) + btemp(0) = b(0) + btemp(1) = b(1) + Return btemp + End Function + + + ''' + ''' 获取文件的MD5值 + ''' 返回Byte数组值 + ''' + ''' 文件路径 + ''' + Public Shared Function GetMd5(filepath As String) As Byte() + Dim FileStr As FileStream = New FileStream(filepath, FileMode.Open, FileAccess.Read, FileShare.Read) + Dim data(FileStr.Length - 1) As Byte + FileStr.Read(data, 0, data.Length) + + Dim md5s As Byte() = MD5.Create().ComputeHash(data) + 'Dim fileMd5 As New StringBuilder() + 'Dim i As Integer + 'For i = 0 To md5s.Length - 1 + ' fileMd5.Append(md5s(i).ToString("x2")) + 'Next + + 'Console.WriteLine($"MD5:{fileMd5}") + + Return md5s + End Function + + + ''' + ''' 获取文件的MD5值 + ''' 返回String字符串 + ''' + ''' 文件路径 + ''' + Public Shared Function GetMd5String(filepath As String) As String + Dim FileStr As FileStream = New FileStream(filepath, FileMode.Open, FileAccess.Read, FileShare.Read) + Dim data(FileStr.Length) As Byte + FileStr.Read(data, 0, data.Length) + + Dim md5s As Byte() = MD5.Create().ComputeHash(data) + Dim fileMd5 As New StringBuilder() + Dim i As Integer + For i = 0 To md5s.Length - 1 + fileMd5.Append(md5s(i).ToString("x2")) + Next + + Console.WriteLine($"MD5:{fileMd5}") + + Return fileMd5.ToString() + End Function + + ''' + ''' 获取本地可用IP + ''' + ''' + Public Shared Function GetLocalIp() As List(Of IPAddress) + Dim address() As IPAddress + Dim destAddress As New List(Of IPAddress) + address = Dns.GetHostEntry(Dns.GetHostName()).AddressList + For Each pAddress As IPAddress In address + If pAddress.AddressFamily = AddressFamily.InterNetwork Then + destAddress.Add(pAddress) + End If + Next + Return destAddress + End Function + ''' + ''' Byte数组转字符串 + ''' + ''' + ''' + Public Shared Function ByteToString(databuff() As Byte) + Dim strData As String = String.Empty + For i = 0 To databuff.Length - 1 + strData &= $" {Hex(databuff(i)).PadLeft(2, "0"c)}" + Next + Return strData + End Function + Public Shared Function ByteToString2(databuff() As Byte) + Dim strData As String = String.Empty + For i = 0 To databuff.Length - 1 + strData &= $" {ByteToHex1(databuff(i)).PadLeft(2, "0"c)}" + Next + Return strData + End Function + + '将16进制字符串转换为字节数组 + Public Shared Function HexStringToByteArray(hex As String) As Byte() + + Dim bytes As New List(Of Byte) + hex = hex.Replace(" ", "").Trim.ToUpper() + For i As Integer = 0 To hex.Length - 1 Step 2 + Dim hexByte As String = hex.Substring(i, 2) + bytes.Add(Convert.ToByte(hexByte, 16)) + Next + Return bytes.ToArray() + End Function + + '将字节数组转换为16进制字符串 + Public Shared Function ByteArrayToHexString(bytes As Byte()) As String + If bytes Is Nothing OrElse bytes.Length = 0 Then Return "" + Dim hex As String = "" + For Each b As Byte In bytes + hex += b.ToString("X2") & " " + Next + Return hex.Trim() + + End Function + 'byte 转16进制字符串 + Public Shared Function ByteToHex1(ByVal b As Byte) As String + Return b.ToString("X2") + End Function + '16进制字符串 转byte数组 + 'Public Shared Function HexToByte(ByVal hex As String) As Byte() + ' Dim result As Byte() = New Byte(hex.Length / 2 - 1) {} + ' For i As Integer = 0 To hex.Length - 1 Step 2 + ' result(i / 2) = Convert.ToByte(hex.Substring(i, 2), 16) + + ' Next + 'End Function + + + + ''' + ''' 等待回复 + ''' + ''' 是否回复标志位 + ''' 超时时间 + Public Shared Sub WaitReply(isReply As Boolean, TimeOut As Integer) 'ByRef + Dim tick As Integer + Dim startTick As Integer = My.Computer.Clock.TickCount + isReply = False + While isReply = False AndAlso tick <= TimeOut + Thread.Sleep(3) + tick = My.Computer.Clock.TickCount - startTick + Application.DoEvents() + End While + End Sub + + + + ''' + ''' 延时N秒 + ''' + ''' 延时时间值 + Public Shared Sub PauseWait(ByVal HowLong As Long) + Dim tick As Long + tick = My.Computer.Clock.TickCount + Do + My.Application.DoEvents() + Loop Until tick + HowLong < My.Computer.Clock.TickCount + End Sub + + ''' + ''' IP地址转换为Byte数组 + ''' + ''' + ''' + Public Shared Function GetAddressToBytes(addr As String) + Dim iadd() As String = addr.Split(New Char() {"."c}, StringSplitOptions.RemoveEmptyEntries) + Dim address(3) As Byte + address(0) = iadd(0) '例:192 + address(1) = iadd(1) '例:168 + address(2) = iadd(2) + address(3) = iadd(3) + + Return address + End Function + + ''' + ''' 获取字符串的MD5值 + ''' + ''' 需要求MD5的原文字符串 + ''' + Public Shared Function GetStringMd5(str As String) As String + Dim md5Hasher As New MD5CryptoServiceProvider() + Dim data As Byte() = md5Hasher.ComputeHash(Encoding.UTF8.GetBytes(str)) + Dim fileMd5 As New StringBuilder() + Dim i As Integer + For i = 0 To data.Length - 1 + fileMd5.Append(data(i).ToString("X2")) + Next + + Return fileMd5.ToString() + End Function + + + ''' + ''' 分块函数 + ''' 计算Byte数组的块数 + ''' + ''' + ''' + ''' + Public Shared Function GetBlocks(databuff As Byte(), size As Integer) As Integer + Dim blockCount As Integer = databuff.Length \ size + If databuff.Length Mod size > 0 Then + blockCount += 1 + End If + Return blockCount + End Function + + + ''' + ''' 字符串转换Byte数组 + ''' 字符串为连续且不包含任意字符的字符串 + ''' + ''' + ''' + Public Shared Function GetStringToDataByte(str As String) As Byte() + Dim dataList As New List(Of Byte) + + For index As Integer = 0 To str.Length - 1 Step 2 + dataList.Add($"&H{str.Substring(index, 2)}") + Next + + Return dataList.ToArray + End Function + + ''' + ''' 把UNIX时间戳转换为标准时间 + ''' + ''' 要转换的UNIX时间戳 + ''' 时区 + ''' intTime所代表的标准时间 + Public Shared Function FromUnixTime(intTime As Long, ime As Long) As Date + 'If intTime Is Nothing Or Not IsNumeric(intTime) Then + ' FromUnixTime = Now() + ' Exit Function + 'End If + 'If intTime Is Nothing Or Not IsNumeric(intTimeZone) Then intTimeZone = 0 + 'FromUnixTime = DateAdd("s", intTime, "1970-1-1 0:0:0") + 'FromUnixTime = DateAdd("h", intTimeZone, FromUnixTime) + + Dim a As Date = DateTime.Parse("1970-1-1 0:0:0") + a = a.AddSeconds(intTime) + a = a.AddHours(ime) + + Return a + End Function + + + ''' + ''' 和校验取余数 + ''' 求Byte数组的和校验取余数 + ''' + ''' Byte数组 + ''' + Public Shared Function SumAndMod(dataPacket As Byte()) As Byte + Dim sum As Integer + For idx = 0 To dataPacket.Length - 1 + sum += dataPacket(idx) + sum = sum And &HFF + Next + Dim sumMod As Byte = &HFF - sum + Return sumMod + End Function + Public Shared Sub Delay(ByVal time As Integer) + Dim timeEnd As Integer = My.Computer.Clock.TickCount + time + Do + Application.DoEvents() + Loop Until My.Computer.Clock.TickCount > timeEnd + End Sub + + ''' + ''' 获取枚举描述特性 + ''' + ''' 需要获取特性的枚举值 + ''' 枚举描述特性 + Public Shared Function GetEnumDescription(enumValue As [Enum]) As String + + Dim fi As FieldInfo = enumValue.GetType().GetField(enumValue.ToString()) + Dim attr() As DescriptionAttribute = + DirectCast(fi.GetCustomAttributes(GetType(DescriptionAttribute), + False), DescriptionAttribute()) + + If attr.Length > 0 Then + Return attr(0).Description + Else + Return enumValue.ToString() + End If + End Function + +End Class diff --git a/Mode/SharedFunction.vb b/Mode/SharedFunction.vb new file mode 100644 index 0000000..ae23bfb --- /dev/null +++ b/Mode/SharedFunction.vb @@ -0,0 +1,193 @@ +Imports System.IO.Ports + +Public Class SharedFunction +#Region "串口操作" + '打开串口 + ''' + ''' 打开串口 + ''' + ''' 串口 + ''' 串口号 + ''' 波特率 + ''' + Public Shared Function OpenSerial(m_Serial As SerialPort, portName As String, baudRate As Integer) As Boolean + If IsNothing(m_Serial) OrElse m_Serial.IsOpen Then Return False + m_Serial.PortName = portName + m_Serial.BaudRate = baudRate + m_Serial.Open() + Return True + End Function + + + + '设置串口波特率 + ''' + ''' 设置串口波特率 + ''' + ''' 串口 + ''' 波特率 + ''' + Public Shared Function SetSerialBaudRate(m_Serial As SerialPort, baudRate As Integer) As Boolean + If IsNothing(m_Serial) OrElse Not m_Serial.IsOpen Then Return False + m_Serial.BaudRate = baudRate + Return True + End Function + + + + ''' + ''' 关闭串口 + ''' + ''' 串口 + ''' 串口关闭标志 + ''' 串口等待关闭标志 + Public Shared Sub CloseSerial(m_Serial As SerialPort, ByRef isread As Boolean, ByRef isListen As Boolean) + If IsNothing(m_Serial) OrElse Not m_Serial.IsOpen Then Return + isread = True + While isListen + Application.DoEvents() + Threading.Thread.Sleep(10) + End While + + Threading.Thread.Sleep(10) + m_Serial.Close() + End Sub + + +#End Region + + +#Region "数据转换" + Public Shared Function ByteToHexString(databuff() As Byte) As String + Dim strData As String = String.Empty + For i = 0 To databuff.Length - 1 + strData &= $" {Hex(databuff(i)).PadLeft(2, "0"c)}" + Next + Return strData + End Function + Public Shared Function StringToHexString(hexstr As String) As String + '判断字符串是否为空或 者为空字符串 + If String.IsNullOrEmpty(hexstr) Then Return Nothing + '替换字符中的分隔符号 + hexstr = hexstr.Trim().Replace(" ", "").Replace("-", "").Replace(",", "").Replace(":", "").Replace(";", "").Replace(".", "") + '判断字符串的长度是否为偶数 + If hexstr.Length Mod 2 <> 0 Then + '不为偶数往最后一个字节前面补0 + hexstr = hexstr.Insert(hexstr.Length - 1, "0") + End If + '以2为步长,将字符串转换为字节数组 不足2位前面补0 + Dim databuff() As Byte = Enumerable.Range(0, hexstr.Length).Where(Function(x) x Mod 2 = 0).Select(Function(x) Convert.ToByte(hexstr.Substring(x, 2), 16)).ToArray() + Return ByteToHexString(databuff) + End Function + Public Shared Function HexStringToByte(hexstr As String) As Byte() + '判断字符串是否为空或 者为空字符串 + If String.IsNullOrEmpty(hexstr) Then Return Nothing + '替换字符中的分隔符号 + hexstr = hexstr.Trim().Replace(" ", "").Replace("-", "").Replace(",", "").Replace(":", "").Replace(";", "").Replace(".", "") + '判断字符串的长度是否为偶数 + If hexstr.Length Mod 2 <> 0 Then + '不为偶数往最后一个字节前面补0 + hexstr = hexstr.Insert(hexstr.Length - 1, "0") + End If + '以2为步长,将字符串转换为字节数组 不足2位前面补0 + Return Enumerable.Range(0, hexstr.Length).Where(Function(x) x Mod 2 = 0).Select(Function(x) Convert.ToByte(hexstr.Substring(x, 2), 16)).ToArray() + + End Function + + ''' + ''' Int转2个字节Byte + ''' 高字节在前,低字节在后 + ''' + ''' + ''' + Public Shared Function IntToByteHB(ByVal i As Integer) As Byte() + Dim btemp() As Byte = {0, 0} + Dim b() As Byte = BitConverter.GetBytes(i) + btemp(0) = b(0) + btemp(1) = b(1) + Return btemp + End Function + + ''' + ''' Int转2个字节Byte + ''' 高字节在前,低字节在后 + ''' + ''' + ''' + Public Shared Function IntToByteLB(ByVal i As Integer) As Byte() + Dim btemp() As Byte = {0, 0} + Dim b() As Byte = BitConverter.GetBytes(i) + btemp(0) = b(1) + btemp(1) = b(0) + Return btemp + End Function + +#End Region +#Region "数据校验" + '计算数据和 校验 + Public Shared Function GetCheckSum(ByVal data As Byte()) As Byte + + Dim sum As Integer = 0 + For i As Integer = 0 To data.Length - 1 + sum += data(i) + Next + Return sum + + End Function + Public Shared Function GetCheckSumMod(ByVal data As Byte()) As Byte + + Dim sum As Integer = 0 + For i As Integer = 0 To data.Length - 2 + sum += data(i) + Next + sum = sum And &HFF + Return sum + + End Function + + Public Shared Function GetCheckSumMod2(ByVal data As Byte()) As Byte + + Dim sum As Integer = 0 + For i As Integer = 0 To data.Length - 1 + sum += data(i) + Next + sum = sum And &HFF + Return sum + + End Function + + ''' + ''' 和校验取余数 + ''' 求Byte数组的和校验取余数 + ''' + ''' Byte数组 + ''' + Public Function GetSumCheckMod(dataPacket As Byte()) As Byte + Dim sum As Integer + For idx = 0 To dataPacket.Length - 1 + sum += dataPacket(idx) + sum = sum And &HFF + Next + Dim sumMod As Byte = &HFF - sum + Return sumMod + End Function +#End Region + +#Region "跨线程调用UI" + Delegate Sub delSetFromUI(control As Control, mText As String, textcolor As Color, cbolor As Color) + Public Shared Sub SetFromUI(ByVal control As Control, mText As String, textcolor As Color, cbolor As Color) + If IsNothing(control) Then Return + If control.InvokeRequired Then + control.Invoke(New delSetFromUI(AddressOf SetFromUI), control, mText, textcolor, cbolor) + Else + control.Text = mText + control.ForeColor = textcolor + control.BackColor = cbolor + End If + + End Sub +#End Region + + + +End Class diff --git a/My Project/Application.Designer.vb b/My Project/Application.Designer.vb new file mode 100644 index 0000000..cf301ab --- /dev/null +++ b/My Project/Application.Designer.vb @@ -0,0 +1,38 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + 'NOTE: This file is auto-generated; do not modify it directly. To make changes, + ' or if you encounter build errors in this file, go to the Project Designer + ' (go to Project Properties or double-click the My Project node in + ' Solution Explorer), and make changes on the Application tab. + ' + Partial Friend Class MyApplication + + _ + Public Sub New() + MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) + Me.IsSingleInstance = false + Me.EnableVisualStyles = true + Me.SaveMySettingsOnExit = true + Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses + End Sub + + _ + Protected Overrides Sub OnCreateMainForm() + Me.MainForm = Global.SerialPortLogFilterin.Form1 + End Sub + End Class +End Namespace diff --git a/My Project/Application.myapp b/My Project/Application.myapp new file mode 100644 index 0000000..1243847 --- /dev/null +++ b/My Project/Application.myapp @@ -0,0 +1,11 @@ + + + true + Form1 + false + 0 + true + 0 + 0 + true + diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..86fc1c4 --- /dev/null +++ b/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' 有关程序集的一般信息由以下 +' 控制。更改这些特性值可修改 +' 与程序集关联的信息。 + +'查看程序集特性的值 + + + + + + + + + + +'如果此项目向 COM 公开,则下列 GUID 用于 typelib 的 ID + + +' 程序集的版本信息由下列四个值组成: +' +' 主版本 +' 次版本 +' 生成号 +' 修订号 +' +'可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 +'通过使用 "*",如下所示: +' + + + diff --git a/My Project/Resources.Designer.vb b/My Project/Resources.Designer.vb new file mode 100644 index 0000000..4b2393f --- /dev/null +++ b/My Project/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("SerialPortLogFilterin.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/My Project/Resources.resx b/My Project/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/My Project/Settings.Designer.vb b/My Project/Settings.Designer.vb new file mode 100644 index 0000000..ec4bcf7 --- /dev/null +++ b/My Project/Settings.Designer.vb @@ -0,0 +1,157 @@ +'------------------------------------------------------------------------------ +' +' 此代码由工具生成。 +' 运行时版本:4.0.30319.42000 +' +' 对此文件的更改可能会导致不正确的行为,并且如果 +' 重新生成代码,这些更改将会丢失。 +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) + +#Region "My.Settings 自动保存功能" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + + _ + Public Property PortName() As String + Get + Return CType(Me("PortName"),String) + End Get + Set + Me("PortName") = value + End Set + End Property + + _ + Public Property BaudRate() As String + Get + Return CType(Me("BaudRate"),String) + End Get + Set + Me("BaudRate") = value + End Set + End Property + + _ + Public Property thewidth() As Integer + Get + Return CType(Me("thewidth"),Integer) + End Get + Set + Me("thewidth") = value + End Set + End Property + + _ + Public Property theheight() As Integer + Get + Return CType(Me("theheight"),Integer) + End Get + Set + Me("theheight") = value + End Set + End Property + + _ + Public Property SplitterDistance() As Integer + Get + Return CType(Me("SplitterDistance"),Integer) + End Get + Set + Me("SplitterDistance") = value + End Set + End Property + + _ + Public Property theHead() As String + Get + Return CType(Me("theHead"),String) + End Get + Set + Me("theHead") = value + End Set + End Property + + _ + Public Property theRump() As String + Get + Return CType(Me("theRump"),String) + End Get + Set + Me("theRump") = value + End Set + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.SerialPortLogFilterin.My.MySettings + Get + Return Global.SerialPortLogFilterin.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/My Project/Settings.settings b/My Project/Settings.settings new file mode 100644 index 0000000..2fd2874 --- /dev/null +++ b/My Project/Settings.settings @@ -0,0 +1,27 @@ + + + + + + + + + + + + 1309 + + + 921 + + + 619 + + + + + + + + + \ No newline at end of file diff --git a/SerialPortLogFilterin.sln b/SerialPortLogFilterin.sln new file mode 100644 index 0000000..daa25fd --- /dev/null +++ b/SerialPortLogFilterin.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.32602.291 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SerialPortLogFilterin", "SerialPortLogFilterin.vbproj", "{49B97406-507B-46BA-8F7F-79AC5A484602}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49B97406-507B-46BA-8F7F-79AC5A484602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49B97406-507B-46BA-8F7F-79AC5A484602}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49B97406-507B-46BA-8F7F-79AC5A484602}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49B97406-507B-46BA-8F7F-79AC5A484602}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {340C45C6-288E-4FA4-B78A-944ACBCB3D0B} + EndGlobalSection +EndGlobal diff --git a/SerialPortLogFilterin.vbproj b/SerialPortLogFilterin.vbproj new file mode 100644 index 0000000..1038f1d --- /dev/null +++ b/SerialPortLogFilterin.vbproj @@ -0,0 +1,126 @@ + + + + + Debug + AnyCPU + {49B97406-507B-46BA-8F7F-79AC5A484602} + WinExe + SerialPortLogFilterin.My.MyApplication + SerialPortLogFilterin + SerialPortLogFilterin + 512 + WindowsForms + v4.8 + true + true + + + AnyCPU + true + full + true + true + bin\Debug\ + SerialPortLogFilterin.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + SerialPortLogFilterin.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Form1.vb + Form + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + Form1.vb + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + \ No newline at end of file diff --git a/bin/Debug/SerialPortLogFilterin.exe b/bin/Debug/SerialPortLogFilterin.exe new file mode 100644 index 0000000..47c5859 Binary files /dev/null and b/bin/Debug/SerialPortLogFilterin.exe differ diff --git a/bin/Debug/SerialPortLogFilterin.exe.config b/bin/Debug/SerialPortLogFilterin.exe.config new file mode 100644 index 0000000..c96bec9 --- /dev/null +++ b/bin/Debug/SerialPortLogFilterin.exe.config @@ -0,0 +1,36 @@ + + + + +
+ + + + + + + + + + + + + + + 1309 + + + 921 + + + 619 + + + + + + + + + + \ No newline at end of file diff --git a/bin/Debug/SerialPortLogFilterin.pdb b/bin/Debug/SerialPortLogFilterin.pdb new file mode 100644 index 0000000..a4ad360 Binary files /dev/null and b/bin/Debug/SerialPortLogFilterin.pdb differ diff --git a/bin/Debug/SerialPortLogFilterin.xml b/bin/Debug/SerialPortLogFilterin.xml new file mode 100644 index 0000000..3f8ef81 --- /dev/null +++ b/bin/Debug/SerialPortLogFilterin.xml @@ -0,0 +1,216 @@ + + + + +SerialPortLogFilterin + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + ''输出日志到控件 + + 控件 + 日志 + + + + + 文本、颜色、Font + + + + + + 端口号转换为Byte数组 + + + + + + + Int转2个字节Byte + 低字节在前,高字节在后 + + + + + + + Int转4个字节Byte + 低字节在前,高字节在后 + + + + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + 获取文件的MD5值 + 返回Byte数组值 + + 文件路径 + + + + + 获取文件的MD5值 + 返回String字符串 + + 文件路径 + + + + + 获取本地可用IP + + + + + + Byte数组转字符串 + + + + + + + 等待回复 + + 是否回复标志位 + 超时时间 + + + + 延时N秒 + + 延时时间值 + + + + IP地址转换为Byte数组 + + + + + + + 获取字符串的MD5值 + + 需要求MD5的原文字符串 + + + + + 分块函数 + 计算Byte数组的块数 + + + + + + + + 字符串转换Byte数组 + 字符串为连续且不包含任意字符的字符串 + + + + + + + 把UNIX时间戳转换为标准时间 + + 要转换的UNIX时间戳 + 时区 + intTime所代表的标准时间 + + + + 和校验取余数 + 求Byte数组的和校验取余数 + + Byte数组 + + + + + 获取枚举描述特性 + + 需要获取特性的枚举值 + 枚举描述特性 + + + + 打开串口 + + 串口 + 串口号 + 波特率 + + + + + 设置串口波特率 + + 串口 + 波特率 + + + + + 关闭串口 + + 串口 + 串口关闭标志 + 串口等待关闭标志 + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + 和校验取余数 + 求Byte数组的和校验取余数 + + Byte数组 + + + + diff --git a/bin/Debug/原文日志/2025-06-07_16-10-58.txt b/bin/Debug/原文日志/2025-06-07_16-10-58.txt new file mode 100644 index 0000000..330ff4e --- /dev/null +++ b/bin/Debug/原文日志/2025-06-07_16-10-58.txt @@ -0,0 +1,134 @@ +2025-06-07 16:11:03:454 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:04:459 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:05:457 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:06:442 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:07:460 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:08:442 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:08:551 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:08:666 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:08:772 RX:asocket_cb 3 2 +2025-06-07 16:11:08:880 RX:asocket_cb 3 10 +2025-06-07 16:11:09:880 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:10:880 RX:asocket_cb 3 0 +2025-06-07 16:11:11:879 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:12:878 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:11:13:879 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:11:14:902 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:11:15:879 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:11:16:879 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:11:17:879 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:18:878 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:19:878 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:20:879 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:21:879 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:22:878 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:23:879 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:23:993 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:24:097 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:24:207 RX:asocket_cb 3 2 +2025-06-07 16:11:24:320 RX:asocket_cb 3 10 +2025-06-07 16:11:25:317 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:26:316 RX:asocket_cb 3 0 +2025-06-07 16:11:27:319 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:28:316 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:11:29:316 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:11:30:315 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:11:31:316 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:11:32:319 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:11:33:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:34:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:35:318 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:36:317 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:37:317 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:38:316 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:39:317 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:39:427 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:39:538 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:39:644 RX:asocket_cb 3 2 +2025-06-07 16:11:39:754 RX:asocket_cb 3 10 +2025-06-07 16:11:40:753 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:41:754 RX:asocket_cb 3 0 +2025-06-07 16:11:42:753 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:43:755 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:11:44:753 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:11:45:754 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:11:46:753 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:11:47:754 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:11:48:753 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:49:754 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:50:754 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:51:753 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:52:753 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:53:754 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:54:754 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:54:864 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:54:972 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:55:081 RX:asocket_cb 3 2 +2025-06-07 16:11:55:192 RX:asocket_cb 3 10 +2025-06-07 16:11:56:192 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:57:192 RX:asocket_cb 3 0 +2025-06-07 16:11:58:191 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:59:192 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:00:191 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:01:190 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:02:191 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:03:192 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:04:191 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:05:192 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:06:191 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:07:190 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:08:191 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:09:193 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:12:10:193 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:10:302 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:10:415 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:10:520 RX:asocket_cb 3 2 +2025-06-07 16:12:10:630 RX:asocket_cb 3 10 +2025-06-07 16:12:11:628 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:12:629 RX:asocket_cb 3 0 +2025-06-07 16:12:13:628 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:14:629 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:15:629 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:16:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:17:629 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:18:630 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:19:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:20:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:21:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:22:629 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:23:629 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:24:629 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:12:25:630 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:25:741 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:25:848 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:25:959 RX:asocket_cb 3 2 +2025-06-07 16:12:26:066 RX:asocket_cb 3 10 +2025-06-07 16:12:27:070 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:28:067 RX:asocket_cb 3 0 +2025-06-07 16:12:29:068 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:30:066 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:31:067 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:32:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:33:068 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:34:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:35:068 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:36:069 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:37:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:38:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:39:066 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:40:067 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:12:41:068 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:41:176 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:41:286 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:41:397 RX:asocket_cb 3 2 +2025-06-07 16:12:41:504 RX:asocket_cb 3 10 +2025-06-07 16:12:42:505 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:43:505 RX:asocket_cb 3 0 +2025-06-07 16:12:44:503 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:45:503 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:46:503 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:47:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:48:503 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:49:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:50:504 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:51:505 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 diff --git a/bin/Debug/原文日志/2025-06-07_16-46-37.txt b/bin/Debug/原文日志/2025-06-07_16-46-37.txt new file mode 100644 index 0000000..89944c4 --- /dev/null +++ b/bin/Debug/原文日志/2025-06-07_16-46-37.txt @@ -0,0 +1,1316 @@ +2025-06-07 16:46:38:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807364 + +2025-06-07 16:46:39:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807564 + +2025-06-07 16:46:39:349 RX:asocket_cb 5 2 + +2025-06-07 16:46:39:361 RX:asocket_cb 5 10 + +2025-06-07 16:46:39:370 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:46:39:377 RX:asocket_cb 5 0 + +2025-06-07 16:46:39:392 RX:[ELOOP] post event=0x7e044c78 + +2025-06-07 16:46:39:401 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:409 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:46:39:425 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:46:39:437 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:46:39:446 RX:asocket_on_eloop 0x7e044c78,0x7e2930d8 + +2025-06-07 16:46:39:470 RX:asocket_event 0x7e2930d8,0x7e044c78 + +2025-06-07 16:46:39:477 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:3 + +2025-06-07 16:46:39:487 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:46:39:501 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:46:39:508 RX:[ELOO + +2025-06-07 16:46:39:524 RX:P] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:550 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:46:39:557 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:577 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:46:39:590 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:600 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:46:39:611 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:46:39:620 RX:asocket_cb 5 1 + +2025-06-07 16:46:39:628 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 + +2025-06-07 16:46:39:645 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 47223,0 + +2025-06-07 16:46:40:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807764 + +2025-06-07 16:46:41:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807964 + +2025-06-07 16:46:42:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808164 + +2025-06-07 16:46:42:972 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:46:42:987 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:46:42:994 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47224 + +2025-06-07 16:46:43:017 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:43:025 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:46:43:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808364 + +2025-06-07 16:46:44:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808564 + +2025-06-07 16:46:44:985 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:45:005 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:46:45:012 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:45:033 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:56,count:1,ib size:0,count:0 + +2025-06-07 16:46:45:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808764 + +2025-06-07 16:46:46:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808964 + +2025-06-07 16:46:46:996 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:47:007 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:46:47:017 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:56,count:1,ib size:0,count:0 + +2025-06-07 16:46:47:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809164 + +2025-06-07 16:46:48:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809364 + +2025-06-07 16:46:49:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809564 + +2025-06-07 16:46:50:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809764 + +2025-06-07 16:46:51:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809964 + +2025-06-07 16:46:52:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810164 + +2025-06-07 16:46:53:002 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:46:53:018 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:46:53:035 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47225 + +2025-06-07 16:46:53:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:53:084 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:46:53:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810364 + +2025-06-07 16:46:54:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810564 + +2025-06-07 16:46:55:021 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:55:030 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:46:55:052 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:55:080 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:55:092 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:112,count:2,ib size:0,count:0 + +2025-06-07 16:46:55:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810764 + +2025-06-07 16:46:56:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810964 + +2025-06-07 16:46:57:027 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:57:038 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:48,count:2 + +2025-06-07 16:46:57:052 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:112,count:2,ib size:0,count:0 + +2025-06-07 16:46:57:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811164 + +2025-06-07 16:46:58:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811364 + +2025-06-07 16:46:59:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811564 + +2025-06-07 16:47:00:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811764 + +2025-06-07 16:47:01:026 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:01:053 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:47:01:069 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:01:100 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:112,count:2,ib size:0,count:0 + +2025-06-07 16:47:01:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811964 + +2025-06-07 16:47:02:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812164 + +2025-06-07 16:47:02:764 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:02:783 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:47:02:801 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:2 + +2025-06-07 16:47:02:836 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,pingreq to server + +2025-06-07 16:47:03:031 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:03:046 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:03:074 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47226 + +2025-06-07 16:47:03:100 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:03:118 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:03:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812364 + +2025-06-07 16:47:04:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812564 + +2025-06-07 16:47:04:775 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:04:789 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:96,count:4 + +2025-06-07 16:47:05:046 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:05:069 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:72,count:3 + +2025-06-07 16:47:05:092 RX:[ cmlog ][OPENCPU]:MQTT Client pingrsp: 1 + +2025-06-07 16:47:05:109 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:05:134 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:168,count:3,ib size:0,count:0 + +2025-06-07 16:47:05:171 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812764 + +2025-06-07 16:47:06:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812964 + +2025-06-07 16:47:07:052 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:07:071 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:72,count:3 + +2025-06-07 16:47:07:103 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:168,count:3,ib size:0,count:0 + +2025-06-07 16:47:07:133 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:07:156 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:48,count:2 + +2025-06-07 16:47:07:173 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:168,count:3,ib size:0,count:0 + +2025-06-07 16:47:07:205 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813164 + +2025-06-07 16:47:08:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813364 + +2025-06-07 16:47:09:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813564 + +2025-06-07 16:47:10:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813764 + +2025-06-07 16:47:11:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813964 + +2025-06-07 16:47:12:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814164 + +2025-06-07 16:47:13:063 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:13:090 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:13:119 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47227 + +2025-06-07 16:47:13:153 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:13:182 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:13:218 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814364 + +2025-06-07 16:47:14:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814564 + +2025-06-07 16:47:15:089 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:15:111 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:48,count:2 + +2025-06-07 16:47:15:142 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:174 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:204 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:237 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:270 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:224,count:4,ib size:0,count:0 + +2025-06-07 16:47:15:305 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814764 + +2025-06-07 16:47:16:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814964 + +2025-06-07 16:47:17:098 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:17:128 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:120,count:5 + +2025-06-07 16:47:17:145 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:224,count:4,ib size:0,count:0 + +2025-06-07 16:47:17:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815164 + +2025-06-07 16:47:18:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815364 + +2025-06-07 16:47:19:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815564 + +2025-06-07 16:47:20:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815764 + +2025-06-07 16:47:21:091 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:21:125 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:96,count:4 + +2025-06-07 16:47:21:153 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:21:185 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:224,count:4,ib size:0,count:0 + +2025-06-07 16:47:21:225 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815964 + +2025-06-07 16:47:22:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816164 + +2025-06-07 16:47:23:092 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:23:110 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:23:128 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47228 + +2025-06-07 16:47:23:166 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:23:197 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:23:233 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816364 + +2025-06-07 16:47:24:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816564 + +2025-06-07 16:47:25:106 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:25:135 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:120,count:5 + +2025-06-07 16:47:25:172 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:25:206 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:25:251 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816764 + +2025-06-07 16:47:26:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816964 + +2025-06-07 16:47:27:119 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:27:138 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:120,count:5 + +2025-06-07 16:47:27:159 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:27:181 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:27:211 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:96,count:4 + +2025-06-07 16:47:27:249 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:27:290 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817164 + +2025-06-07 16:47:28:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817364 + +2025-06-07 16:47:29:086 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:29:108 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:72,count:3 + +2025-06-07 16:47:29:144 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:29:163 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:29:203 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817564 + +2025-06-07 16:47:30:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817764 + +2025-06-07 16:47:31:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817964 + +2025-06-07 16:47:32:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818164 + +2025-06-07 16:47:33:122 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:33:142 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:33:163 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47229 + +2025-06-07 16:47:33:196 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:33:240 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:33:282 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818364 + +2025-06-07 16:47:34:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818564 + +2025-06-07 16:47:35:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818764 + +2025-06-07 16:47:36:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818964 + +2025-06-07 16:47:37:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819164 + +2025-06-07 16:47:38:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819364 + +2025-06-07 16:47:39:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819564 + +2025-06-07 16:47:40:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819764 + +2025-06-07 16:47:41:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819964 + +2025-06-07 16:47:42:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820164 + +2025-06-07 16:47:43:153 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:43:182 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:43:212 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47230 + +2025-06-07 16:47:43:243 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:43:274 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:43:313 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820364 + +2025-06-07 16:47:44:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820564 + +2025-06-07 16:47:45:163 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820764 + +2025-06-07 16:47:46:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820964 + +2025-06-07 16:47:47:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821164 + +2025-06-07 16:47:48:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821364 + +2025-06-07 16:47:49:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821564 + +2025-06-07 16:47:50:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821764 + +2025-06-07 16:47:51:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821964 + +2025-06-07 16:47:52:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822164 + +2025-06-07 16:47:52:931 RX:asocket_cb 5 2 + +2025-06-07 16:47:52:953 RX:asocket_cb 5 10 + +2025-06-07 16:47:52:963 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:47:52:985 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:52:996 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:47:53:015 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:47:53:026 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:47:53:057 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:47:53:078 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:095 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:47:53:188 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822364 + +2025-06-07 16:47:53:213 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:53:246 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:53:276 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47231 + +2025-06-07 16:47:53:306 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:53:339 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:53:519 RX:asocket_cb 5 2 + +2025-06-07 16:47:53:530 RX:asocket_cb 5 10 + +2025-06-07 16:47:53:546 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:47:53:557 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:579 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:47:53:592 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:47:53:612 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:47:53:640 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:47:53:661 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:687 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:47:53:883 RX:asocket_cb 5 2 + +2025-06-07 16:47:53:907 RX:asocket_cb 5 10 + +2025-06-07 16:47:53:916 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:47:53:939 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:949 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:47:53:973 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:47:53:981 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:47:54:009 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:47:54:047 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:54:057 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:47:54:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822564 + +2025-06-07 16:47:55:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822764 + +2025-06-07 16:47:56:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822964 + +2025-06-07 16:47:57:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823164 + +2025-06-07 16:47:58:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823364 + +2025-06-07 16:47:59:163 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823564 + +2025-06-07 16:48:00:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823764 + +2025-06-07 16:48:01:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823964 + +2025-06-07 16:48:02:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824164 + +2025-06-07 16:48:03:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824364 + +2025-06-07 16:48:03:218 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:48:03:241 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:48:03:276 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47232 + +2025-06-07 16:48:03:309 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:48:03:340 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:48:03:483 RX:asocket_cb 5 2 + +2025-06-07 16:48:03:501 RX:asocket_cb 5 10 + +2025-06-07 16:48:03:518 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:48:03:529 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:48:03:551 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:48:03:563 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:48:03:572 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:48:03:603 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:48:03:627 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:48:03:645 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:48:04:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824564 + +2025-06-07 16:48:05:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824764 + +2025-06-07 16:48:06:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824964 + +2025-06-07 16:48:07:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5825164 + +2025-06-07 16:51:15:133 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 1 ... + +2025-06-07 16:51:15:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5862764 + +2025-06-07 16:51:15:326 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 2 ... + +2025-06-07 16:51:15:544 RX:[ cmlog ]getaddrinfo ret:0, pres:7e0c5070 1 + +2025-06-07 16:51:15:576 RX:[ cmlog ]host ip: 43.138.217.154 + +2025-06-07 16:51:15:593 RX:[ cmlog ][OPENCPU]:[CMMQTT] is_ipv4 + +2025-06-07 16:51:15:625 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:1 + +2025-06-07 16:51:15:654 RX:[ELOOP] register_event eloop 0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:15:660 RX:[ELOOP] eloop_event_init 0x7e044cc0,0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:15:664 RX:[ELOOP] post event=0x7e044cc0 + +2025-06-07 16:51:15:667 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 3 ... + +2025-06-07 16:51:15:692 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:15:696 RX:[ELOOP] unregister event=0x7e044cc0 + +2025-06-07 16:51:15:700 RX:[ELOOP] register_event eloop 0x + +2025-06-07 16:51:15:711 RX:7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:716 RX:[ELOOP] eloop_event_init 0x7e044cc0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:720 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:735 RX:[ELOOP] eloop_event_init 0x7e044cd8,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:744 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:750 RX:[ELOOP] eloop_event_init 0x7e044cf0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:754 RX:asocket open ok 3 6 + +2025-06-07 16:51:15:771 RX:[ cmlog ]ipv4: 1 10.235.235.177 + +2025-06-07 16:51:15:793 RX:[ cmlog ][OPENCPU]:[CMMQTT] conn ret:0 + +2025-06-07 16:51:15:809 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:15:817 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:15:828 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:15:841 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 4 ... + +2025-06-07 16:51:15:933 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 5 ... + +2025-06-07 16:51:16:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 6 ... + +2025-06-07 16:51:16:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5862964 + +2025-06-07 16:51:16:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 7 ... + +2025-06-07 16:51:16:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 8 ... + +2025-06-07 16:51:16:734 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 9 ... + +2025-06-07 16:51:16:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 10 ... + +2025-06-07 16:51:17:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 11 ... + +2025-06-07 16:51:17:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863164 + +2025-06-07 16:51:17:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 12 ... + +2025-06-07 16:51:17:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 13 ... + +2025-06-07 16:51:17:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 14 ... + +2025-06-07 16:51:17:931 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 15 ... + +2025-06-07 16:51:18:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 16 ... + +2025-06-07 16:51:18:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863364 + +2025-06-07 16:51:18:212 RX:asocket_cb 5 2 + +2025-06-07 16:51:18:220 RX:asocket_cb 5 4 + +2025-06-07 16:51:18:229 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:51:18:239 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:18:251 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:51:18:260 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:51:18:269 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:1 + +2025-06-07 16:51:18:295 RX:[ cmlog ][OPENCPU]:[CMMQTT] socket fd not match client + +2025-06-07 16:51:18:312 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:18:320 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:18:329 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:18:342 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 17 ... + +2025-06-07 16:51:18:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 18 ... + +2025-06-07 16:51:18:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 19 ... + +2025-06-07 16:51:18:931 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 20 ... + +2025-06-07 16:51:19:134 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 21 ... + +2025-06-07 16:51:19:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863564 + +2025-06-07 16:51:19:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 22 ... + +2025-06-07 16:51:19:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 23 ... + +2025-06-07 16:51:19:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 24 ... + +2025-06-07 16:51:19:934 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 25 ... + +2025-06-07 16:51:20:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 26 ... + +2025-06-07 16:51:20:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863764 + +2025-06-07 16:51:20:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 27 ... + +2025-06-07 16:51:20:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 28 ... + +2025-06-07 16:51:20:734 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 29 ... + +2025-06-07 16:51:20:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 30 ... + +2025-06-07 16:51:21:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 31 ... + +2025-06-07 16:51:21:178 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863964 + +2025-06-07 16:51:21:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 32 ... + +2025-06-07 16:51:21:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 33 ... + +2025-06-07 16:51:21:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 34 ... + +2025-06-07 16:51:21:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 35 ... + +2025-06-07 16:51:22:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 36 ... + +2025-06-07 16:51:22:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864164 + +2025-06-07 16:51:22:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 37 ... + +2025-06-07 16:51:22:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 38 ... + +2025-06-07 16:51:22:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 39 ... + +2025-06-07 16:51:22:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 40 ... + +2025-06-07 16:51:23:133 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 41 ... + +2025-06-07 16:51:23:178 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864364 + +2025-06-07 16:51:23:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 42 ... + +2025-06-07 16:51:23:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 43 ... + +2025-06-07 16:51:23:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 44 ... + +2025-06-07 16:51:23:934 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 45 ... + +2025-06-07 16:51:24:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 46 ... + +2025-06-07 16:51:24:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864564 + +2025-06-07 16:51:24:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 47 ... + +2025-06-07 16:51:24:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 48 ... + +2025-06-07 16:51:24:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 49 ... + +2025-06-07 16:51:24:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 50 ... + +2025-06-07 16:51:25:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 51 ... + +2025-06-07 16:51:25:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864764 + +2025-06-07 16:51:25:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 52 ... + +2025-06-07 16:51:25:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 53 ... + +2025-06-07 16:51:25:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 54 ... + +2025-06-07 16:51:25:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 55 ... + +2025-06-07 16:51:26:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 56 ... + +2025-06-07 16:51:26:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864964 + +2025-06-07 16:51:26:334 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 57 ... + +2025-06-07 16:51:26:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 58 ... + +2025-06-07 16:51:26:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 59 ... + +2025-06-07 16:51:26:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 60 ... + +2025-06-07 16:51:27:134 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 61 ... + +2025-06-07 16:51:27:166 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865164 + +2025-06-07 16:51:27:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 62 ... + +2025-06-07 16:51:27:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 63 ... + +2025-06-07 16:51:27:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 64 ... + +2025-06-07 16:51:27:934 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 65 ... + +2025-06-07 16:51:28:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 66 ... + +2025-06-07 16:51:28:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865364 + +2025-06-07 16:51:28:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 67 ... + +2025-06-07 16:51:28:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 68 ... + +2025-06-07 16:51:28:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 69 ... + +2025-06-07 16:51:28:803 RX:asocket_cb 6 8 + +2025-06-07 16:51:28:815 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:28:824 RX:asocket_cb 6 0 + +2025-06-07 16:51:28:842 RX:[ELOOP] post event=0x7e044cc0 + +2025-06-07 16:51:28:850 RX:asocket_cb 6 2 + +2025-06-07 16:51:28:859 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:28:881 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:28:890 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:28:907 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:2 + +2025-06-07 16:51:28:935 RX:asocket_on_eloop 0x7e044cc0,0x7e2930f8 + +2025-06-07 16:51:28:945 RX:asocket_event 0x7e2930f8,0x7e044cc0 + +2025-06-07 16:51:28:953 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:0 + +2025-06-07 16:51:28:980 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:29:001 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:009 RX:[ELOOP] eloop millse + +2025-06-07 16:51:29:037 RX:c=4294967295 tick=4294967295 + +2025-06-07 16:51:29:042 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:049 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:29:057 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:065 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:29:081 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:3 + +2025-06-07 16:51:29:125 RX:[ELOOP] register_event eloop 0x7e2617d0,0x802d0910,0x00000006 + +2025-06-07 16:51:29:133 RX:[ELOOP] eloop_event_init 0x7e044d08,0x7e2617d0,0x802d0910,0x00000006 + +2025-06-07 16:51:29:142 RX:[ELOOP] post event=0x7e044d08 + +2025-06-07 16:51:29:159 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: 1 + +2025-06-07 16:51:29:192 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: RECONNECTING + +2025-06-07 16:51:29:234 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:242 RX:[ELOOP] unregister event=0x7e044d08 + +2025-06-07 16:51:29:263 RX:[ELOOP] unregister event=0x7e044cc0 + +2025-06-07 16:51:29:273 RX:[ELOOP] unregister event=0x7e044cd8 + +2025-06-07 16:51:29:279 RX:[ELOOP] unregister event=0x7e044cf0 + +2025-06-07 16:51:29:299 RX:asocket_cb 6 0 + +2025-06-07 16:51:29:308 RX:asocket not found + +2025-06-07 16:51:29:332 RX:asocket_cb 6 2 + +2025-06-07 16:51:29:340 RX:asocket not found + +2025-06-07 16:51:29:363 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:29:370 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:392 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:29:398 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 70 ... + +2025-06-07 16:51:29:428 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 71 ... + +2025-06-07 16:51:29:452 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865564 + +2025-06-07 16:51:29:473 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 72 ... + +2025-06-07 16:51:29:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 73 ... + +2025-06-07 16:51:29:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 74 ... + +2025-06-07 16:51:29:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 75 ... + +2025-06-07 16:51:30:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 76 ... + +2025-06-07 16:51:30:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865764 + +2025-06-07 16:51:30:334 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 77 ... + +2025-06-07 16:51:30:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 78 ... + +2025-06-07 16:51:30:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 79 ... + +2025-06-07 16:51:30:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 80 ... + +2025-06-07 16:51:31:134 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 81 ... + +2025-06-07 16:51:31:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865964 + +2025-06-07 16:51:31:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 82 ... + +2025-06-07 16:51:31:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 83 ... + +2025-06-07 16:51:31:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 84 ... + +2025-06-07 16:51:31:933 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 85 ... + +2025-06-07 16:51:32:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 86 ... + +2025-06-07 16:51:32:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866164 + +2025-06-07 16:51:32:333 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 87 ... + +2025-06-07 16:51:32:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 88 ... + +2025-06-07 16:51:32:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 89 ... + +2025-06-07 16:51:32:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 90 ... + +2025-06-07 16:51:33:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 91 ... + +2025-06-07 16:51:33:176 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866364 + +2025-06-07 16:51:33:333 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 92 ... + +2025-06-07 16:51:33:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 93 ... + +2025-06-07 16:51:33:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 94 ... + +2025-06-07 16:51:33:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 95 ... + +2025-06-07 16:51:34:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 96 ... + +2025-06-07 16:51:34:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866564 + +2025-06-07 16:51:34:334 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 97 ... + +2025-06-07 16:51:34:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 98 ... + +2025-06-07 16:51:34:580 RX:asocket_cb 5 9 + +2025-06-07 16:51:34:585 RX:[ELOOP] post event=0x7e044c78 + +2025-06-07 16:51:34:595 RX:asocket_cb 5 0 + +2025-06-07 16:51:34:603 RX:[ELOOP] post event=0x7e044ca8 + +2025-06-07 16:51:34:612 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:628 RX:asocket_on_eloop 0x7e044c78,0x7e2930d8 + +2025-06-07 16:51:34:633 RX:asocket_event 0x7e2930d8,0x7e044c78 + +2025-06-07 16:51:34:646 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:6 + +2025-06-07 16:51:34:681 RX:[ cmlog ][OPENCPU]:[CMMQTT] socket fd not match client + +2025-06-07 16:51:34:719 RX:asocket_on_eloop 0x7e044ca8,0x7e2930d8 + +2025-06-07 16:51:34:728 RX:asocket_event 0x7e2930d8,0x7e044ca8 + +2025-06-07 16:51:34:737 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:3 + +2025-06-07 16:51:34:756 RX:[ cmlog ][OPENCPU]:[CMMQTT] socket fd not match client + +2025-06-07 16:51:34:806 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:34:829 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:836 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:34:846 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:854 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:34:881 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:890 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:34:899 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 99 ... + +2025-06-07 16:51:35:059 RX:[ cmlog ][OPENCPU]:Mqtt Client Connect Start ..... + +2025-06-07 16:51:35:079 RX:[ADNS] cm_async_dns_request cid = 1 + +2025-06-07 16:51:35:087 RX:[ADNS] request id:7 + +2025-06-07 16:51:35:098 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,connect to server, ret:7 + +2025-06-07 16:51:35:125 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 0 ... + +2025-06-07 16:51:35:168 RX:[ADNS] request info 1,mqtt.uts-data.com,3 + +2025-06-07 16:51:35:187 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866764 + +2025-06-07 16:51:35:258 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 1 ... + +2025-06-07 16:51:35:459 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 2 ... + +2025-06-07 16:51:35:699 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 3 ... + +2025-06-07 16:51:35:734 RX:[ cmlog ]getaddrinfo ret:0, pres:7e0c5070 1 + +2025-06-07 16:51:35:753 RX:[ cmlog ]host ip: 43.138.217.154 + +2025-06-07 16:51:35:785 RX:[ cmlog ][OPENCPU]:[CMMQTT] is_ipv4 + +2025-06-07 16:51:35:812 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:1 + +2025-06-07 16:51:35:829 RX:[ELOOP] register_event eloop 0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:35:842 RX:[ELOOP] eloop_event_init 0x7e044cf0,0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:35:852 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:35:864 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:35:879 RX:[ELOOP] unregister event=0x7e044cf0 + +2025-06-07 16:51:35:889 RX:[ELOOP] register_event eloop 0x + +2025-06-07 16:51:35:904 RX:7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:924 RX:[ELOOP] eloop_event_init 0x7e044cf0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:938 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:952 RX:[ELOOP] eloop_event_init 0x7e044cd8,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:968 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:975 RX:[ELOOP] eloop_event_init 0x7e044cc0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:985 RX:asocket open ok 3 6 + +2025-06-07 16:51:35:999 RX:[ cmlog ]ipv4: 1 10.235.235.177 + +2025-06-07 16:51:36:032 RX:[ cmlog ][OPENCPU]:[CMMQTT] conn ret:0 + +2025-06-07 16:51:36:049 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:064 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:078 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:088 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 4 ... + +2025-06-07 16:51:36:136 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 5 ... + +2025-06-07 16:51:36:170 RX:asocket_cb 6 2 + +2025-06-07 16:51:36:180 RX:asocket_cb 6 4 + +2025-06-07 16:51:36:189 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:36:202 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:219 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:36:233 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:36:241 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:1 + +2025-06-07 16:51:36:266 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:280 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:288 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:300 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:2 + +2025-06-07 16:51:36:329 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:52 + +2025-06-07 16:51:36:359 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866964 + +2025-06-07 16:51:36:383 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 6 ... + +2025-06-07 16:51:36:457 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 7 ... + +2025-06-07 16:51:36:628 RX:asocket_cb 6 2 + +2025-06-07 16:51:36:640 RX:asocket_cb 6 10 + +2025-06-07 16:51:36:655 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:36:671 RX:asocket_cb 6 0 + +2025-06-07 16:51:36:685 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:36:692 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:705 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:36:721 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:36:733 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:36:768 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:36:780 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:36:796 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:36:830 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:51:36:849 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:858 RX:[ELOO + +2025-06-07 16:51:36:881 RX:P] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:890 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:900 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:913 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:939 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:947 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:968 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:36:999 RX:asocket_cb 6 1 + +2025-06-07 16:51:37:007 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:2,len:4 + +2025-06-07 16:51:37:041 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: 0 + +2025-06-07 16:51:37:093 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: SUCCESS + +2025-06-07 16:51:37:124 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 8 ... + +2025-06-07 16:51:37:158 RX:[ cmlog ][OPENCPU]:Mqtt Client subscribe:blw/rcu/sub/1003 ..... + +2025-06-07 16:51:37:190 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:23 + +2025-06-07 16:51:37:223 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,subscribe topics,count:1,len:0 + +2025-06-07 16:51:37:242 RX:[ cmlog ][OPENCPU]:Mqtt Client subscribe success!!! + +2025-06-07 16:51:37:274 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:51:37:331 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:51:37:359 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47250 + +2025-06-07 16:51:37:392 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:51:37:426 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:51:37:467 RX:asocket_cb 6 2 + +2025-06-07 16:51:37:484 RX:asocket_cb 6 10 + +2025-06-07 16:51:37:491 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:37:515 RX:asocket_cb 6 0 + +2025-06-07 16:51:37:523 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:37:547 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:555 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:37:580 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:37:588 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:37:620 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:37:646 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:37:673 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:37:701 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:5 + +2025-06-07 16:51:37:720 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:37:730 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:754 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:37:762 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:784 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:37:797 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:805 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:37:826 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:37:848 RX:asocket_cb 6 1 + +2025-06-07 16:51:37:854 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:9,len:5 + +2025-06-07 16:51:37:904 RX:[ cmlog ][OPENCPU]:MQTT Client sub_ack: 47249 + +2025-06-07 16:51:37:939 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867164 + +2025-06-07 16:51:37:979 RX:asocket_cb 6 2 + +2025-06-07 16:51:38:000 RX:asocket_cb 6 10 + +2025-06-07 16:51:38:008 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:38:030 RX:asocket_cb 6 0 + +2025-06-07 16:51:38:039 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:38:062 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:071 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:38:095 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:38:104 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:38:155 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:38:165 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:38:189 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:38:223 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:51:38:257 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:38:282 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:290 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:38:316 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:327 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:38:338 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:360 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:38:369 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:38:404 RX:asocket_cb 6 1 + +2025-06-07 16:51:38:416 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 + +2025-06-07 16:51:38:444 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 47250,0 + +2025-06-07 16:51:38:505 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867364 + +2025-06-07 16:51:38:846 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:51:38:862 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:51:39:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867564 + +2025-06-07 16:51:40:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867764 + +2025-06-07 16:51:41:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867964 + +2025-06-07 16:51:42:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868164 + +2025-06-07 16:51:43:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868364 + +2025-06-07 16:51:44:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868564 + +2025-06-07 16:51:45:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868764 + +2025-06-07 16:51:46:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868964 + +2025-06-07 16:51:46:753 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:51:46:780 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:51:46:807 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47251 + +2025-06-07 16:51:46:842 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:51:46:880 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:51:47:020 RX:asocket_cb 6 2 + +2025-06-07 16:51:47:032 RX:asocket_cb 6 10 + +2025-06-07 16:51:47:043 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:47:067 RX:asocket_cb 6 0 + +2025-06-07 16:51:47:094 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:47:102 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:112 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:47:125 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:47:134 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:47:165 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:47:193 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:47:218 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:47:257 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:51:47:288 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:47:316 RX:[ELOO + +2025-06-07 16:51:47:348 RX:P] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:354 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:47:378 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:389 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:47:399 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:425 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:47:437 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:47:470 RX:asocket_cb 6 1 + +2025-06-07 16:51:47:482 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 + +2025-06-07 16:51:47:515 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 47251,0 + +2025-06-07 16:51:47:538 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869164 + +2025-06-07 16:51:48:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869364 + +2025-06-07 16:51:49:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869564 + +2025-06-07 16:51:50:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869764 + +2025-06-07 16:51:51:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869964 + +2025-06-07 16:51:52:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870164 + +2025-06-07 16:51:53:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870364 + +2025-06-07 16:51:54:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870564 + +2025-06-07 16:51:55:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870764 + diff --git a/bin/Debug/过滤日志/2025-06-07_16-10-58.txt b/bin/Debug/过滤日志/2025-06-07_16-10-58.txt new file mode 100644 index 0000000..2c0887b --- /dev/null +++ b/bin/Debug/过滤日志/2025-06-07_16-10-58.txt @@ -0,0 +1,47 @@ +2025-06-07 16:11:17:879 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:18:878 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:25:317 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:27:319 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:33:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:34:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:48:753 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:49:754 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:04:191 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:05:192 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:08:191 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:10:193 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:10:302 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:10:415 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:11:628 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:13:628 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:14:629 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:16:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:18:630 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:19:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:20:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:21:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:22:629 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:23:629 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:25:630 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:25:741 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:25:848 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:27:070 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:29:068 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:30:066 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:32:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:34:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:35:068 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:36:069 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:37:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:38:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:39:066 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:41:068 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:41:176 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:41:286 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:42:505 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:44:503 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:45:503 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:47:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:49:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:50:504 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:51:505 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 diff --git a/bin/SerialPortLogFilterin_1.0.0.2.rar b/bin/SerialPortLogFilterin_1.0.0.2.rar new file mode 100644 index 0000000..d08e422 Binary files /dev/null and b/bin/SerialPortLogFilterin_1.0.0.2.rar differ diff --git a/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.exe b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.exe new file mode 100644 index 0000000..48b0b92 Binary files /dev/null and b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.exe differ diff --git a/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.exe.config b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.exe.config new file mode 100644 index 0000000..c96bec9 --- /dev/null +++ b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.exe.config @@ -0,0 +1,36 @@ + + + + +
+ + + + + + + + + + + + + + + 1309 + + + 921 + + + 619 + + + + + + + + + + \ No newline at end of file diff --git a/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.pdb b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.pdb new file mode 100644 index 0000000..5bb7cd9 Binary files /dev/null and b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.pdb differ diff --git a/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.xml b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.xml new file mode 100644 index 0000000..3f8ef81 --- /dev/null +++ b/bin/SerialPortLogFilterin_1.0.0.2/SerialPortLogFilterin.xml @@ -0,0 +1,216 @@ + + + + +SerialPortLogFilterin + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + ''输出日志到控件 + + 控件 + 日志 + + + + + 文本、颜色、Font + + + + + + 端口号转换为Byte数组 + + + + + + + Int转2个字节Byte + 低字节在前,高字节在后 + + + + + + + Int转4个字节Byte + 低字节在前,高字节在后 + + + + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + 获取文件的MD5值 + 返回Byte数组值 + + 文件路径 + + + + + 获取文件的MD5值 + 返回String字符串 + + 文件路径 + + + + + 获取本地可用IP + + + + + + Byte数组转字符串 + + + + + + + 等待回复 + + 是否回复标志位 + 超时时间 + + + + 延时N秒 + + 延时时间值 + + + + IP地址转换为Byte数组 + + + + + + + 获取字符串的MD5值 + + 需要求MD5的原文字符串 + + + + + 分块函数 + 计算Byte数组的块数 + + + + + + + + 字符串转换Byte数组 + 字符串为连续且不包含任意字符的字符串 + + + + + + + 把UNIX时间戳转换为标准时间 + + 要转换的UNIX时间戳 + 时区 + intTime所代表的标准时间 + + + + 和校验取余数 + 求Byte数组的和校验取余数 + + Byte数组 + + + + + 获取枚举描述特性 + + 需要获取特性的枚举值 + 枚举描述特性 + + + + 打开串口 + + 串口 + 串口号 + 波特率 + + + + + 设置串口波特率 + + 串口 + 波特率 + + + + + 关闭串口 + + 串口 + 串口关闭标志 + 串口等待关闭标志 + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + 和校验取余数 + 求Byte数组的和校验取余数 + + Byte数组 + + + + diff --git a/bin/SerialPortLogFilterin_1.0.0.2/原文日志/2025-06-07_16-10-58.txt b/bin/SerialPortLogFilterin_1.0.0.2/原文日志/2025-06-07_16-10-58.txt new file mode 100644 index 0000000..330ff4e --- /dev/null +++ b/bin/SerialPortLogFilterin_1.0.0.2/原文日志/2025-06-07_16-10-58.txt @@ -0,0 +1,134 @@ +2025-06-07 16:11:03:454 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:04:459 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:05:457 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:06:442 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:07:460 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:08:442 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:08:551 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:08:666 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:08:772 RX:asocket_cb 3 2 +2025-06-07 16:11:08:880 RX:asocket_cb 3 10 +2025-06-07 16:11:09:880 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:10:880 RX:asocket_cb 3 0 +2025-06-07 16:11:11:879 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:12:878 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:11:13:879 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:11:14:902 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:11:15:879 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:11:16:879 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:11:17:879 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:18:878 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:19:878 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:20:879 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:21:879 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:22:878 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:23:879 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:23:993 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:24:097 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:24:207 RX:asocket_cb 3 2 +2025-06-07 16:11:24:320 RX:asocket_cb 3 10 +2025-06-07 16:11:25:317 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:26:316 RX:asocket_cb 3 0 +2025-06-07 16:11:27:319 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:28:316 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:11:29:316 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:11:30:315 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:11:31:316 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:11:32:319 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:11:33:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:34:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:35:318 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:36:317 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:37:317 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:38:316 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:39:317 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:39:427 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:39:538 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:39:644 RX:asocket_cb 3 2 +2025-06-07 16:11:39:754 RX:asocket_cb 3 10 +2025-06-07 16:11:40:753 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:41:754 RX:asocket_cb 3 0 +2025-06-07 16:11:42:753 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:43:755 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:11:44:753 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:11:45:754 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:11:46:753 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:11:47:754 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:11:48:753 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:49:754 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:50:754 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:11:51:753 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:11:52:753 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:11:53:754 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:11:54:754 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:11:54:864 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:11:54:972 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:11:55:081 RX:asocket_cb 3 2 +2025-06-07 16:11:55:192 RX:asocket_cb 3 10 +2025-06-07 16:11:56:192 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:57:192 RX:asocket_cb 3 0 +2025-06-07 16:11:58:191 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:59:192 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:00:191 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:01:190 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:02:191 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:03:192 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:04:191 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:05:192 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:06:191 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:07:190 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:08:191 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:09:193 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:12:10:193 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:10:302 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:10:415 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:10:520 RX:asocket_cb 3 2 +2025-06-07 16:12:10:630 RX:asocket_cb 3 10 +2025-06-07 16:12:11:628 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:12:629 RX:asocket_cb 3 0 +2025-06-07 16:12:13:628 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:14:629 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:15:629 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:16:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:17:629 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:18:630 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:19:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:20:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:21:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:22:629 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:23:629 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:24:629 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:12:25:630 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:25:741 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:25:848 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:25:959 RX:asocket_cb 3 2 +2025-06-07 16:12:26:066 RX:asocket_cb 3 10 +2025-06-07 16:12:27:070 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:28:067 RX:asocket_cb 3 0 +2025-06-07 16:12:29:068 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:30:066 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:31:067 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:32:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:33:068 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:34:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:35:068 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:36:069 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:37:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:38:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:39:066 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:40:067 RX: cmlog ]__cm_virt_at_task already exist +2025-06-07 16:12:41:068 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:41:176 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:41:286 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:41:397 RX:asocket_cb 3 2 +2025-06-07 16:12:41:504 RX:asocket_cb 3 10 +2025-06-07 16:12:42:505 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:43:505 RX:asocket_cb 3 0 +2025-06-07 16:12:44:503 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:45:503 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:46:503 RX:asocket_on_eloop 0x7e044c00,0x7e293098 +2025-06-07 16:12:47:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:48:503 RX:asocket_event 0x7e293098,0x7e044c18 +2025-06-07 16:12:49:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:50:504 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:51:505 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 diff --git a/bin/SerialPortLogFilterin_1.0.0.2/原文日志/2025-06-07_16-46-37.txt b/bin/SerialPortLogFilterin_1.0.0.2/原文日志/2025-06-07_16-46-37.txt new file mode 100644 index 0000000..89944c4 --- /dev/null +++ b/bin/SerialPortLogFilterin_1.0.0.2/原文日志/2025-06-07_16-46-37.txt @@ -0,0 +1,1316 @@ +2025-06-07 16:46:38:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807364 + +2025-06-07 16:46:39:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807564 + +2025-06-07 16:46:39:349 RX:asocket_cb 5 2 + +2025-06-07 16:46:39:361 RX:asocket_cb 5 10 + +2025-06-07 16:46:39:370 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:46:39:377 RX:asocket_cb 5 0 + +2025-06-07 16:46:39:392 RX:[ELOOP] post event=0x7e044c78 + +2025-06-07 16:46:39:401 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:409 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:46:39:425 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:46:39:437 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:46:39:446 RX:asocket_on_eloop 0x7e044c78,0x7e2930d8 + +2025-06-07 16:46:39:470 RX:asocket_event 0x7e2930d8,0x7e044c78 + +2025-06-07 16:46:39:477 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:3 + +2025-06-07 16:46:39:487 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:46:39:501 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:46:39:508 RX:[ELOO + +2025-06-07 16:46:39:524 RX:P] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:550 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:46:39:557 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:577 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:46:39:590 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:46:39:600 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:46:39:611 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:46:39:620 RX:asocket_cb 5 1 + +2025-06-07 16:46:39:628 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 + +2025-06-07 16:46:39:645 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 47223,0 + +2025-06-07 16:46:40:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807764 + +2025-06-07 16:46:41:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5807964 + +2025-06-07 16:46:42:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808164 + +2025-06-07 16:46:42:972 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:46:42:987 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:46:42:994 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47224 + +2025-06-07 16:46:43:017 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:43:025 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:46:43:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808364 + +2025-06-07 16:46:44:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808564 + +2025-06-07 16:46:44:985 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:45:005 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:46:45:012 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:45:033 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:56,count:1,ib size:0,count:0 + +2025-06-07 16:46:45:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808764 + +2025-06-07 16:46:46:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5808964 + +2025-06-07 16:46:46:996 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:47:007 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:46:47:017 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:56,count:1,ib size:0,count:0 + +2025-06-07 16:46:47:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809164 + +2025-06-07 16:46:48:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809364 + +2025-06-07 16:46:49:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809564 + +2025-06-07 16:46:50:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809764 + +2025-06-07 16:46:51:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5809964 + +2025-06-07 16:46:52:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810164 + +2025-06-07 16:46:53:002 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:46:53:018 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:46:53:035 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47225 + +2025-06-07 16:46:53:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:53:084 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:46:53:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810364 + +2025-06-07 16:46:54:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810564 + +2025-06-07 16:46:55:021 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:55:030 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:46:55:052 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:55:080 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:46:55:092 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:112,count:2,ib size:0,count:0 + +2025-06-07 16:46:55:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810764 + +2025-06-07 16:46:56:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5810964 + +2025-06-07 16:46:57:027 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:46:57:038 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:48,count:2 + +2025-06-07 16:46:57:052 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:112,count:2,ib size:0,count:0 + +2025-06-07 16:46:57:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811164 + +2025-06-07 16:46:58:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811364 + +2025-06-07 16:46:59:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811564 + +2025-06-07 16:47:00:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811764 + +2025-06-07 16:47:01:026 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:01:053 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:47:01:069 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:01:100 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:112,count:2,ib size:0,count:0 + +2025-06-07 16:47:01:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5811964 + +2025-06-07 16:47:02:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812164 + +2025-06-07 16:47:02:764 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:02:783 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:47:02:801 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:2 + +2025-06-07 16:47:02:836 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,pingreq to server + +2025-06-07 16:47:03:031 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:03:046 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:03:074 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47226 + +2025-06-07 16:47:03:100 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:03:118 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:03:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812364 + +2025-06-07 16:47:04:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812564 + +2025-06-07 16:47:04:775 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:04:789 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:96,count:4 + +2025-06-07 16:47:05:046 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:05:069 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:72,count:3 + +2025-06-07 16:47:05:092 RX:[ cmlog ][OPENCPU]:MQTT Client pingrsp: 1 + +2025-06-07 16:47:05:109 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:05:134 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:168,count:3,ib size:0,count:0 + +2025-06-07 16:47:05:171 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812764 + +2025-06-07 16:47:06:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5812964 + +2025-06-07 16:47:07:052 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:07:071 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:72,count:3 + +2025-06-07 16:47:07:103 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:168,count:3,ib size:0,count:0 + +2025-06-07 16:47:07:133 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:07:156 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:48,count:2 + +2025-06-07 16:47:07:173 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:168,count:3,ib size:0,count:0 + +2025-06-07 16:47:07:205 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813164 + +2025-06-07 16:47:08:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813364 + +2025-06-07 16:47:09:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813564 + +2025-06-07 16:47:10:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813764 + +2025-06-07 16:47:11:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5813964 + +2025-06-07 16:47:12:160 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814164 + +2025-06-07 16:47:13:063 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:13:090 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:13:119 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47227 + +2025-06-07 16:47:13:153 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:13:182 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:13:218 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814364 + +2025-06-07 16:47:14:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814564 + +2025-06-07 16:47:15:089 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:15:111 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:48,count:2 + +2025-06-07 16:47:15:142 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:174 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:204 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:237 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:15:270 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:224,count:4,ib size:0,count:0 + +2025-06-07 16:47:15:305 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814764 + +2025-06-07 16:47:16:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5814964 + +2025-06-07 16:47:17:098 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:17:128 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:120,count:5 + +2025-06-07 16:47:17:145 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:224,count:4,ib size:0,count:0 + +2025-06-07 16:47:17:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815164 + +2025-06-07 16:47:18:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815364 + +2025-06-07 16:47:19:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815564 + +2025-06-07 16:47:20:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815764 + +2025-06-07 16:47:21:091 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:21:125 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:96,count:4 + +2025-06-07 16:47:21:153 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:21:185 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:224,count:4,ib size:0,count:0 + +2025-06-07 16:47:21:225 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5815964 + +2025-06-07 16:47:22:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816164 + +2025-06-07 16:47:23:092 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:23:110 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:23:128 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47228 + +2025-06-07 16:47:23:166 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:23:197 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:23:233 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816364 + +2025-06-07 16:47:24:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816564 + +2025-06-07 16:47:25:106 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:25:135 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:120,count:5 + +2025-06-07 16:47:25:172 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:25:206 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:25:251 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816764 + +2025-06-07 16:47:26:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5816964 + +2025-06-07 16:47:27:119 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:27:138 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:120,count:5 + +2025-06-07 16:47:27:159 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:27:181 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:27:211 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:96,count:4 + +2025-06-07 16:47:27:249 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:27:290 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817164 + +2025-06-07 16:47:28:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817364 + +2025-06-07 16:47:29:086 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:47:29:108 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:72,count:3 + +2025-06-07 16:47:29:144 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:29:163 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,ob size:280,count:5,ib size:0,count:0 + +2025-06-07 16:47:29:203 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817564 + +2025-06-07 16:47:30:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817764 + +2025-06-07 16:47:31:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5817964 + +2025-06-07 16:47:32:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818164 + +2025-06-07 16:47:33:122 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:33:142 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:33:163 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47229 + +2025-06-07 16:47:33:196 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:33:240 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:33:282 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818364 + +2025-06-07 16:47:34:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818564 + +2025-06-07 16:47:35:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818764 + +2025-06-07 16:47:36:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5818964 + +2025-06-07 16:47:37:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819164 + +2025-06-07 16:47:38:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819364 + +2025-06-07 16:47:39:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819564 + +2025-06-07 16:47:40:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819764 + +2025-06-07 16:47:41:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5819964 + +2025-06-07 16:47:42:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820164 + +2025-06-07 16:47:43:153 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:43:182 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:43:212 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47230 + +2025-06-07 16:47:43:243 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:43:274 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:43:313 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820364 + +2025-06-07 16:47:44:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820564 + +2025-06-07 16:47:45:163 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820764 + +2025-06-07 16:47:46:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5820964 + +2025-06-07 16:47:47:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821164 + +2025-06-07 16:47:48:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821364 + +2025-06-07 16:47:49:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821564 + +2025-06-07 16:47:50:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821764 + +2025-06-07 16:47:51:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5821964 + +2025-06-07 16:47:52:161 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822164 + +2025-06-07 16:47:52:931 RX:asocket_cb 5 2 + +2025-06-07 16:47:52:953 RX:asocket_cb 5 10 + +2025-06-07 16:47:52:963 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:47:52:985 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:52:996 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:47:53:015 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:47:53:026 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:47:53:057 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:47:53:078 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:095 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:47:53:188 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822364 + +2025-06-07 16:47:53:213 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:47:53:246 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:47:53:276 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47231 + +2025-06-07 16:47:53:306 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:47:53:339 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:47:53:519 RX:asocket_cb 5 2 + +2025-06-07 16:47:53:530 RX:asocket_cb 5 10 + +2025-06-07 16:47:53:546 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:47:53:557 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:579 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:47:53:592 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:47:53:612 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:47:53:640 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:47:53:661 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:687 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:47:53:883 RX:asocket_cb 5 2 + +2025-06-07 16:47:53:907 RX:asocket_cb 5 10 + +2025-06-07 16:47:53:916 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:47:53:939 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:53:949 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:47:53:973 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:47:53:981 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:47:54:009 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:47:54:047 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:47:54:057 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:47:54:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822564 + +2025-06-07 16:47:55:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822764 + +2025-06-07 16:47:56:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5822964 + +2025-06-07 16:47:57:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823164 + +2025-06-07 16:47:58:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823364 + +2025-06-07 16:47:59:163 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823564 + +2025-06-07 16:48:00:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823764 + +2025-06-07 16:48:01:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5823964 + +2025-06-07 16:48:02:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824164 + +2025-06-07 16:48:03:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824364 + +2025-06-07 16:48:03:218 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:48:03:241 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:48:03:276 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47232 + +2025-06-07 16:48:03:309 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:48:03:340 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:48:03:483 RX:asocket_cb 5 2 + +2025-06-07 16:48:03:501 RX:asocket_cb 5 10 + +2025-06-07 16:48:03:518 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:48:03:529 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:48:03:551 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:48:03:563 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:48:03:572 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:4 + +2025-06-07 16:48:03:603 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:48:03:627 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:48:03:645 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:48:04:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824564 + +2025-06-07 16:48:05:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824764 + +2025-06-07 16:48:06:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5824964 + +2025-06-07 16:48:07:162 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5825164 + +2025-06-07 16:51:15:133 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 1 ... + +2025-06-07 16:51:15:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5862764 + +2025-06-07 16:51:15:326 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 2 ... + +2025-06-07 16:51:15:544 RX:[ cmlog ]getaddrinfo ret:0, pres:7e0c5070 1 + +2025-06-07 16:51:15:576 RX:[ cmlog ]host ip: 43.138.217.154 + +2025-06-07 16:51:15:593 RX:[ cmlog ][OPENCPU]:[CMMQTT] is_ipv4 + +2025-06-07 16:51:15:625 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:1 + +2025-06-07 16:51:15:654 RX:[ELOOP] register_event eloop 0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:15:660 RX:[ELOOP] eloop_event_init 0x7e044cc0,0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:15:664 RX:[ELOOP] post event=0x7e044cc0 + +2025-06-07 16:51:15:667 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 3 ... + +2025-06-07 16:51:15:692 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:15:696 RX:[ELOOP] unregister event=0x7e044cc0 + +2025-06-07 16:51:15:700 RX:[ELOOP] register_event eloop 0x + +2025-06-07 16:51:15:711 RX:7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:716 RX:[ELOOP] eloop_event_init 0x7e044cc0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:720 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:735 RX:[ELOOP] eloop_event_init 0x7e044cd8,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:744 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:750 RX:[ELOOP] eloop_event_init 0x7e044cf0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:15:754 RX:asocket open ok 3 6 + +2025-06-07 16:51:15:771 RX:[ cmlog ]ipv4: 1 10.235.235.177 + +2025-06-07 16:51:15:793 RX:[ cmlog ][OPENCPU]:[CMMQTT] conn ret:0 + +2025-06-07 16:51:15:809 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:15:817 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:15:828 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:15:841 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 4 ... + +2025-06-07 16:51:15:933 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 5 ... + +2025-06-07 16:51:16:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 6 ... + +2025-06-07 16:51:16:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5862964 + +2025-06-07 16:51:16:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 7 ... + +2025-06-07 16:51:16:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 8 ... + +2025-06-07 16:51:16:734 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 9 ... + +2025-06-07 16:51:16:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 10 ... + +2025-06-07 16:51:17:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 11 ... + +2025-06-07 16:51:17:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863164 + +2025-06-07 16:51:17:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 12 ... + +2025-06-07 16:51:17:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 13 ... + +2025-06-07 16:51:17:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 14 ... + +2025-06-07 16:51:17:931 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 15 ... + +2025-06-07 16:51:18:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 16 ... + +2025-06-07 16:51:18:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863364 + +2025-06-07 16:51:18:212 RX:asocket_cb 5 2 + +2025-06-07 16:51:18:220 RX:asocket_cb 5 4 + +2025-06-07 16:51:18:229 RX:[ELOOP] post event=0x7e044c90 + +2025-06-07 16:51:18:239 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:18:251 RX:asocket_on_eloop 0x7e044c90,0x7e2930d8 + +2025-06-07 16:51:18:260 RX:asocket_event 0x7e2930d8,0x7e044c90 + +2025-06-07 16:51:18:269 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:1 + +2025-06-07 16:51:18:295 RX:[ cmlog ][OPENCPU]:[CMMQTT] socket fd not match client + +2025-06-07 16:51:18:312 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:18:320 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:18:329 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:18:342 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 17 ... + +2025-06-07 16:51:18:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 18 ... + +2025-06-07 16:51:18:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 19 ... + +2025-06-07 16:51:18:931 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 20 ... + +2025-06-07 16:51:19:134 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 21 ... + +2025-06-07 16:51:19:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863564 + +2025-06-07 16:51:19:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 22 ... + +2025-06-07 16:51:19:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 23 ... + +2025-06-07 16:51:19:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 24 ... + +2025-06-07 16:51:19:934 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 25 ... + +2025-06-07 16:51:20:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 26 ... + +2025-06-07 16:51:20:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863764 + +2025-06-07 16:51:20:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 27 ... + +2025-06-07 16:51:20:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 28 ... + +2025-06-07 16:51:20:734 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 29 ... + +2025-06-07 16:51:20:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 30 ... + +2025-06-07 16:51:21:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 31 ... + +2025-06-07 16:51:21:178 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5863964 + +2025-06-07 16:51:21:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 32 ... + +2025-06-07 16:51:21:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 33 ... + +2025-06-07 16:51:21:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 34 ... + +2025-06-07 16:51:21:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 35 ... + +2025-06-07 16:51:22:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 36 ... + +2025-06-07 16:51:22:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864164 + +2025-06-07 16:51:22:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 37 ... + +2025-06-07 16:51:22:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 38 ... + +2025-06-07 16:51:22:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 39 ... + +2025-06-07 16:51:22:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 40 ... + +2025-06-07 16:51:23:133 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 41 ... + +2025-06-07 16:51:23:178 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864364 + +2025-06-07 16:51:23:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 42 ... + +2025-06-07 16:51:23:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 43 ... + +2025-06-07 16:51:23:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 44 ... + +2025-06-07 16:51:23:934 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 45 ... + +2025-06-07 16:51:24:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 46 ... + +2025-06-07 16:51:24:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864564 + +2025-06-07 16:51:24:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 47 ... + +2025-06-07 16:51:24:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 48 ... + +2025-06-07 16:51:24:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 49 ... + +2025-06-07 16:51:24:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 50 ... + +2025-06-07 16:51:25:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 51 ... + +2025-06-07 16:51:25:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864764 + +2025-06-07 16:51:25:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 52 ... + +2025-06-07 16:51:25:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 53 ... + +2025-06-07 16:51:25:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 54 ... + +2025-06-07 16:51:25:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 55 ... + +2025-06-07 16:51:26:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 56 ... + +2025-06-07 16:51:26:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5864964 + +2025-06-07 16:51:26:334 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 57 ... + +2025-06-07 16:51:26:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 58 ... + +2025-06-07 16:51:26:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 59 ... + +2025-06-07 16:51:26:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 60 ... + +2025-06-07 16:51:27:134 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 61 ... + +2025-06-07 16:51:27:166 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865164 + +2025-06-07 16:51:27:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 62 ... + +2025-06-07 16:51:27:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 63 ... + +2025-06-07 16:51:27:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 64 ... + +2025-06-07 16:51:27:934 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 65 ... + +2025-06-07 16:51:28:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 66 ... + +2025-06-07 16:51:28:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865364 + +2025-06-07 16:51:28:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 67 ... + +2025-06-07 16:51:28:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 68 ... + +2025-06-07 16:51:28:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 69 ... + +2025-06-07 16:51:28:803 RX:asocket_cb 6 8 + +2025-06-07 16:51:28:815 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:28:824 RX:asocket_cb 6 0 + +2025-06-07 16:51:28:842 RX:[ELOOP] post event=0x7e044cc0 + +2025-06-07 16:51:28:850 RX:asocket_cb 6 2 + +2025-06-07 16:51:28:859 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:28:881 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:28:890 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:28:907 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:2 + +2025-06-07 16:51:28:935 RX:asocket_on_eloop 0x7e044cc0,0x7e2930f8 + +2025-06-07 16:51:28:945 RX:asocket_event 0x7e2930f8,0x7e044cc0 + +2025-06-07 16:51:28:953 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:0 + +2025-06-07 16:51:28:980 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:29:001 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:009 RX:[ELOOP] eloop millse + +2025-06-07 16:51:29:037 RX:c=4294967295 tick=4294967295 + +2025-06-07 16:51:29:042 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:049 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:29:057 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:065 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:29:081 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:3 + +2025-06-07 16:51:29:125 RX:[ELOOP] register_event eloop 0x7e2617d0,0x802d0910,0x00000006 + +2025-06-07 16:51:29:133 RX:[ELOOP] eloop_event_init 0x7e044d08,0x7e2617d0,0x802d0910,0x00000006 + +2025-06-07 16:51:29:142 RX:[ELOOP] post event=0x7e044d08 + +2025-06-07 16:51:29:159 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: 1 + +2025-06-07 16:51:29:192 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: RECONNECTING + +2025-06-07 16:51:29:234 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:242 RX:[ELOOP] unregister event=0x7e044d08 + +2025-06-07 16:51:29:263 RX:[ELOOP] unregister event=0x7e044cc0 + +2025-06-07 16:51:29:273 RX:[ELOOP] unregister event=0x7e044cd8 + +2025-06-07 16:51:29:279 RX:[ELOOP] unregister event=0x7e044cf0 + +2025-06-07 16:51:29:299 RX:asocket_cb 6 0 + +2025-06-07 16:51:29:308 RX:asocket not found + +2025-06-07 16:51:29:332 RX:asocket_cb 6 2 + +2025-06-07 16:51:29:340 RX:asocket not found + +2025-06-07 16:51:29:363 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:29:370 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:29:392 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:29:398 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 70 ... + +2025-06-07 16:51:29:428 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 71 ... + +2025-06-07 16:51:29:452 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865564 + +2025-06-07 16:51:29:473 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 72 ... + +2025-06-07 16:51:29:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 73 ... + +2025-06-07 16:51:29:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 74 ... + +2025-06-07 16:51:29:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 75 ... + +2025-06-07 16:51:30:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 76 ... + +2025-06-07 16:51:30:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865764 + +2025-06-07 16:51:30:334 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 77 ... + +2025-06-07 16:51:30:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 78 ... + +2025-06-07 16:51:30:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 79 ... + +2025-06-07 16:51:30:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 80 ... + +2025-06-07 16:51:31:134 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 81 ... + +2025-06-07 16:51:31:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5865964 + +2025-06-07 16:51:31:332 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 82 ... + +2025-06-07 16:51:31:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 83 ... + +2025-06-07 16:51:31:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 84 ... + +2025-06-07 16:51:31:933 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 85 ... + +2025-06-07 16:51:32:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 86 ... + +2025-06-07 16:51:32:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866164 + +2025-06-07 16:51:32:333 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 87 ... + +2025-06-07 16:51:32:532 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 88 ... + +2025-06-07 16:51:32:732 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 89 ... + +2025-06-07 16:51:32:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 90 ... + +2025-06-07 16:51:33:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 91 ... + +2025-06-07 16:51:33:176 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866364 + +2025-06-07 16:51:33:333 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 92 ... + +2025-06-07 16:51:33:534 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 93 ... + +2025-06-07 16:51:33:733 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 94 ... + +2025-06-07 16:51:33:932 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 95 ... + +2025-06-07 16:51:34:132 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 96 ... + +2025-06-07 16:51:34:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866564 + +2025-06-07 16:51:34:334 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 97 ... + +2025-06-07 16:51:34:533 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 98 ... + +2025-06-07 16:51:34:580 RX:asocket_cb 5 9 + +2025-06-07 16:51:34:585 RX:[ELOOP] post event=0x7e044c78 + +2025-06-07 16:51:34:595 RX:asocket_cb 5 0 + +2025-06-07 16:51:34:603 RX:[ELOOP] post event=0x7e044ca8 + +2025-06-07 16:51:34:612 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:628 RX:asocket_on_eloop 0x7e044c78,0x7e2930d8 + +2025-06-07 16:51:34:633 RX:asocket_event 0x7e2930d8,0x7e044c78 + +2025-06-07 16:51:34:646 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:6 + +2025-06-07 16:51:34:681 RX:[ cmlog ][OPENCPU]:[CMMQTT] socket fd not match client + +2025-06-07 16:51:34:719 RX:asocket_on_eloop 0x7e044ca8,0x7e2930d8 + +2025-06-07 16:51:34:728 RX:asocket_event 0x7e2930d8,0x7e044ca8 + +2025-06-07 16:51:34:737 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:5, status:3 + +2025-06-07 16:51:34:756 RX:[ cmlog ][OPENCPU]:[CMMQTT] socket fd not match client + +2025-06-07 16:51:34:806 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:34:829 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:836 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:34:846 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:854 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:34:881 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:34:890 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:34:899 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 99 ... + +2025-06-07 16:51:35:059 RX:[ cmlog ][OPENCPU]:Mqtt Client Connect Start ..... + +2025-06-07 16:51:35:079 RX:[ADNS] cm_async_dns_request cid = 1 + +2025-06-07 16:51:35:087 RX:[ADNS] request id:7 + +2025-06-07 16:51:35:098 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,connect to server, ret:7 + +2025-06-07 16:51:35:125 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 0 ... + +2025-06-07 16:51:35:168 RX:[ADNS] request info 1,mqtt.uts-data.com,3 + +2025-06-07 16:51:35:187 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866764 + +2025-06-07 16:51:35:258 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 1 ... + +2025-06-07 16:51:35:459 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 2 ... + +2025-06-07 16:51:35:699 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 3 ... + +2025-06-07 16:51:35:734 RX:[ cmlog ]getaddrinfo ret:0, pres:7e0c5070 1 + +2025-06-07 16:51:35:753 RX:[ cmlog ]host ip: 43.138.217.154 + +2025-06-07 16:51:35:785 RX:[ cmlog ][OPENCPU]:[CMMQTT] is_ipv4 + +2025-06-07 16:51:35:812 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:1 + +2025-06-07 16:51:35:829 RX:[ELOOP] register_event eloop 0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:35:842 RX:[ELOOP] eloop_event_init 0x7e044cf0,0x7e2617d0,0x802d1ac8,0x7e0b66d0 + +2025-06-07 16:51:35:852 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:35:864 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:35:879 RX:[ELOOP] unregister event=0x7e044cf0 + +2025-06-07 16:51:35:889 RX:[ELOOP] register_event eloop 0x + +2025-06-07 16:51:35:904 RX:7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:924 RX:[ELOOP] eloop_event_init 0x7e044cf0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:938 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:952 RX:[ELOOP] eloop_event_init 0x7e044cd8,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:968 RX:[ELOOP] register_event eloop 0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:975 RX:[ELOOP] eloop_event_init 0x7e044cc0,0x7e2617d0,0x80240f91,0x7e2930f8 + +2025-06-07 16:51:35:985 RX:asocket open ok 3 6 + +2025-06-07 16:51:35:999 RX:[ cmlog ]ipv4: 1 10.235.235.177 + +2025-06-07 16:51:36:032 RX:[ cmlog ][OPENCPU]:[CMMQTT] conn ret:0 + +2025-06-07 16:51:36:049 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:064 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:078 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:088 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 4 ... + +2025-06-07 16:51:36:136 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 5 ... + +2025-06-07 16:51:36:170 RX:asocket_cb 6 2 + +2025-06-07 16:51:36:180 RX:asocket_cb 6 4 + +2025-06-07 16:51:36:189 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:36:202 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:219 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:36:233 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:36:241 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:1 + +2025-06-07 16:51:36:266 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:280 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:288 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:300 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:2 + +2025-06-07 16:51:36:329 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:52 + +2025-06-07 16:51:36:359 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5866964 + +2025-06-07 16:51:36:383 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 6 ... + +2025-06-07 16:51:36:457 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 7 ... + +2025-06-07 16:51:36:628 RX:asocket_cb 6 2 + +2025-06-07 16:51:36:640 RX:asocket_cb 6 10 + +2025-06-07 16:51:36:655 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:36:671 RX:asocket_cb 6 0 + +2025-06-07 16:51:36:685 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:36:692 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:705 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:36:721 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:36:733 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:36:768 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:36:780 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:36:796 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:36:830 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:51:36:849 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:858 RX:[ELOO + +2025-06-07 16:51:36:881 RX:P] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:890 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:900 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:913 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:36:939 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:36:947 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:36:968 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:36:999 RX:asocket_cb 6 1 + +2025-06-07 16:51:37:007 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:2,len:4 + +2025-06-07 16:51:37:041 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: 0 + +2025-06-07 16:51:37:093 RX:[ cmlog ][OPENCPU]:MQTT Client - CONNECT State: SUCCESS + +2025-06-07 16:51:37:124 RX:[ cmlog ][OPENCPU]:MQTT Client Connection Waiting 8 ... + +2025-06-07 16:51:37:158 RX:[ cmlog ][OPENCPU]:Mqtt Client subscribe:blw/rcu/sub/1003 ..... + +2025-06-07 16:51:37:190 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:23 + +2025-06-07 16:51:37:223 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,subscribe topics,count:1,len:0 + +2025-06-07 16:51:37:242 RX:[ cmlog ][OPENCPU]:Mqtt Client subscribe success!!! + +2025-06-07 16:51:37:274 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:51:37:331 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:51:37:359 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47250 + +2025-06-07 16:51:37:392 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:51:37:426 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:51:37:467 RX:asocket_cb 6 2 + +2025-06-07 16:51:37:484 RX:asocket_cb 6 10 + +2025-06-07 16:51:37:491 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:37:515 RX:asocket_cb 6 0 + +2025-06-07 16:51:37:523 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:37:547 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:555 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:37:580 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:37:588 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:37:620 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:37:646 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:37:673 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:37:701 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:5 + +2025-06-07 16:51:37:720 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:37:730 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:754 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:37:762 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:784 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:37:797 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:37:805 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:37:826 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:37:848 RX:asocket_cb 6 1 + +2025-06-07 16:51:37:854 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:9,len:5 + +2025-06-07 16:51:37:904 RX:[ cmlog ][OPENCPU]:MQTT Client sub_ack: 47249 + +2025-06-07 16:51:37:939 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867164 + +2025-06-07 16:51:37:979 RX:asocket_cb 6 2 + +2025-06-07 16:51:38:000 RX:asocket_cb 6 10 + +2025-06-07 16:51:38:008 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:38:030 RX:asocket_cb 6 0 + +2025-06-07 16:51:38:039 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:38:062 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:071 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:38:095 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:38:104 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:38:155 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:38:165 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:38:189 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:38:223 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:51:38:257 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:38:282 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:290 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:38:316 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:327 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:38:338 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:38:360 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:38:369 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:38:404 RX:asocket_cb 6 1 + +2025-06-07 16:51:38:416 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 + +2025-06-07 16:51:38:444 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 47250,0 + +2025-06-07 16:51:38:505 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867364 + +2025-06-07 16:51:38:846 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:0 + +2025-06-07 16:51:38:862 RX:[ cmlog ][OPENCPU]:[CMMQTT] timing size:24,count:1 + +2025-06-07 16:51:39:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867564 + +2025-06-07 16:51:40:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867764 + +2025-06-07 16:51:41:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5867964 + +2025-06-07 16:51:42:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868164 + +2025-06-07 16:51:43:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868364 + +2025-06-07 16:51:44:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868564 + +2025-06-07 16:51:45:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868764 + +2025-06-07 16:51:46:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5868964 + +2025-06-07 16:51:46:753 RX:[ cmlog ][OPENCPU]:MQTT Client Get State = 1 + +2025-06-07 16:51:46:780 RX:[ cmlog ][OPENCPU]:MQTT Client connect_state = 0 + +2025-06-07 16:51:46:807 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 47251 + +2025-06-07 16:51:46:842 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:39 + +2025-06-07 16:51:46:880 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:39 + +2025-06-07 16:51:47:020 RX:asocket_cb 6 2 + +2025-06-07 16:51:47:032 RX:asocket_cb 6 10 + +2025-06-07 16:51:47:043 RX:[ELOOP] post event=0x7e044cd8 + +2025-06-07 16:51:47:067 RX:asocket_cb 6 0 + +2025-06-07 16:51:47:094 RX:[ELOOP] post event=0x7e044cf0 + +2025-06-07 16:51:47:102 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:112 RX:asocket_on_eloop 0x7e044cd8,0x7e2930f8 + +2025-06-07 16:51:47:125 RX:asocket_event 0x7e2930f8,0x7e044cd8 + +2025-06-07 16:51:47:134 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:4 + +2025-06-07 16:51:47:165 RX:asocket_on_eloop 0x7e044cf0,0x7e2930f8 + +2025-06-07 16:51:47:193 RX:asocket_event 0x7e2930f8,0x7e044cf0 + +2025-06-07 16:51:47:218 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:6, status:3 + +2025-06-07 16:51:47:257 RX:[ cmlog ][OPENCPU]:[CMMQTT] ret:0, recv_len:4 + +2025-06-07 16:51:47:288 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:47:316 RX:[ELOO + +2025-06-07 16:51:47:348 RX:P] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:354 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:47:378 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:389 RX:[ELOOP] eloop_wait eloop 0x7e2617d0,4294967295 + +2025-06-07 16:51:47:399 RX:[ELOOP] rdy_list eloop=0x7e2617d0 + +2025-06-07 16:51:47:425 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 + +2025-06-07 16:51:47:437 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 + +2025-06-07 16:51:47:470 RX:asocket_cb 6 1 + +2025-06-07 16:51:47:482 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 + +2025-06-07 16:51:47:515 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 47251,0 + +2025-06-07 16:51:47:538 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869164 + +2025-06-07 16:51:48:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869364 + +2025-06-07 16:51:49:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869564 + +2025-06-07 16:51:50:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869764 + +2025-06-07 16:51:51:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5869964 + +2025-06-07 16:51:52:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870164 + +2025-06-07 16:51:53:167 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870364 + +2025-06-07 16:51:54:169 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870564 + +2025-06-07 16:51:55:168 RX:[ cmlog ][OPENCPU]:osKernelGetTickCount = 5870764 + diff --git a/bin/SerialPortLogFilterin_1.0.0.2/过滤日志/2025-06-07_16-10-58.txt b/bin/SerialPortLogFilterin_1.0.0.2/过滤日志/2025-06-07_16-10-58.txt new file mode 100644 index 0000000..2c0887b --- /dev/null +++ b/bin/SerialPortLogFilterin_1.0.0.2/过滤日志/2025-06-07_16-10-58.txt @@ -0,0 +1,47 @@ +2025-06-07 16:11:17:879 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:18:878 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:25:317 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:11:27:319 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:11:33:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:34:319 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:48:753 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:11:49:754 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:04:191 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:05:192 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:08:191 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:10:193 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:10:302 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:10:415 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:11:628 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:13:628 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:14:629 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:16:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:18:630 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:19:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:20:629 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:21:631 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:22:629 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:23:629 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:25:630 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:25:741 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:25:848 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:27:070 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:29:068 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:30:066 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:32:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:34:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:35:068 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:36:069 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:37:066 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0, msg type:4 +2025-06-07 16:12:38:067 RX:[ cmlog ][OPENCPU]:[CMMQTT] pkt type:4,len:4 +2025-06-07 16:12:39:066 RX:[ cmlog ][OPENCPU]:MQTT Client pub_ack: 50557,0 +2025-06-07 16:12:41:068 RX:[ cmlog ][OPENCPU]:MQTT Client publish msgid = 50557 +2025-06-07 16:12:41:176 RX:[ cmlog ][OPENCPU]:[CMMQTT] send len:38 +2025-06-07 16:12:41:286 RX:[ cmlog ][OPENCPU]:[CMMQTT] id:0,publish msg,topic:blw/rcu/pub/1003,len:38 +2025-06-07 16:12:42:505 RX:[ELOOP] post event=0x7e044c00 +2025-06-07 16:12:44:503 RX:[ELOOP] post event=0x7e044c18 +2025-06-07 16:12:45:503 RX:[ELOOP] rdy_list eloop=0x7e2617d0 +2025-06-07 16:12:47:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:4 +2025-06-07 16:12:49:504 RX:[ cmlog ][OPENCPU]:[CMMQTT] fd:3, status:3 +2025-06-07 16:12:50:504 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 +2025-06-07 16:12:51:505 RX:[ELOOP] eloop millsec=4294967295 tick=4294967295 diff --git a/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb b/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb new file mode 100644 index 0000000..e7dcac5 --- /dev/null +++ b/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.vb @@ -0,0 +1,7 @@ +' + Option Strict Off + Option Explicit On + + Imports System + Imports System.Reflection + diff --git a/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..a18a21d Binary files /dev/null and b/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7a2d907 Binary files /dev/null and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/SerialPortLogFilterin.Form1.resources b/obj/Debug/SerialPortLogFilterin.Form1.resources new file mode 100644 index 0000000..ebf7d0d Binary files /dev/null and b/obj/Debug/SerialPortLogFilterin.Form1.resources differ diff --git a/obj/Debug/SerialPortLogFilterin.Resources.resources b/obj/Debug/SerialPortLogFilterin.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/obj/Debug/SerialPortLogFilterin.Resources.resources differ diff --git a/obj/Debug/SerialPortLogFilterin.exe b/obj/Debug/SerialPortLogFilterin.exe new file mode 100644 index 0000000..47c5859 Binary files /dev/null and b/obj/Debug/SerialPortLogFilterin.exe differ diff --git a/obj/Debug/SerialPortLogFilterin.pdb b/obj/Debug/SerialPortLogFilterin.pdb new file mode 100644 index 0000000..a4ad360 Binary files /dev/null and b/obj/Debug/SerialPortLogFilterin.pdb differ diff --git a/obj/Debug/SerialPortLogFilterin.vbproj.AssemblyReference.cache b/obj/Debug/SerialPortLogFilterin.vbproj.AssemblyReference.cache new file mode 100644 index 0000000..b2e31fa Binary files /dev/null and b/obj/Debug/SerialPortLogFilterin.vbproj.AssemblyReference.cache differ diff --git a/obj/Debug/SerialPortLogFilterin.vbproj.CoreCompileInputs.cache b/obj/Debug/SerialPortLogFilterin.vbproj.CoreCompileInputs.cache new file mode 100644 index 0000000..a753281 --- /dev/null +++ b/obj/Debug/SerialPortLogFilterin.vbproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +05b2748b97a4433e30a61188db142ab61d2680e4 diff --git a/obj/Debug/SerialPortLogFilterin.vbproj.FileListAbsolute.txt b/obj/Debug/SerialPortLogFilterin.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..444ddd8 --- /dev/null +++ b/obj/Debug/SerialPortLogFilterin.vbproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\bin\Debug\SerialPortLogFilterin.exe.config +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\bin\Debug\SerialPortLogFilterin.exe +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\bin\Debug\SerialPortLogFilterin.pdb +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\bin\Debug\SerialPortLogFilterin.xml +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.vbproj.AssemblyReference.cache +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.Form1.resources +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.Resources.resources +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.vbproj.GenerateResource.cache +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.vbproj.CoreCompileInputs.cache +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.exe +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.xml +E:\Sync\SerialPortLogFiltering\SerialPortLogFilterin\obj\Debug\SerialPortLogFilterin.pdb diff --git a/obj/Debug/SerialPortLogFilterin.vbproj.GenerateResource.cache b/obj/Debug/SerialPortLogFilterin.vbproj.GenerateResource.cache new file mode 100644 index 0000000..feab85a Binary files /dev/null and b/obj/Debug/SerialPortLogFilterin.vbproj.GenerateResource.cache differ diff --git a/obj/Debug/SerialPortLogFilterin.xml b/obj/Debug/SerialPortLogFilterin.xml new file mode 100644 index 0000000..3f8ef81 --- /dev/null +++ b/obj/Debug/SerialPortLogFilterin.xml @@ -0,0 +1,216 @@ + + + + +SerialPortLogFilterin + + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + ''输出日志到控件 + + 控件 + 日志 + + + + + 文本、颜色、Font + + + + + + 端口号转换为Byte数组 + + + + + + + Int转2个字节Byte + 低字节在前,高字节在后 + + + + + + + Int转4个字节Byte + 低字节在前,高字节在后 + + + + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + 获取文件的MD5值 + 返回Byte数组值 + + 文件路径 + + + + + 获取文件的MD5值 + 返回String字符串 + + 文件路径 + + + + + 获取本地可用IP + + + + + + Byte数组转字符串 + + + + + + + 等待回复 + + 是否回复标志位 + 超时时间 + + + + 延时N秒 + + 延时时间值 + + + + IP地址转换为Byte数组 + + + + + + + 获取字符串的MD5值 + + 需要求MD5的原文字符串 + + + + + 分块函数 + 计算Byte数组的块数 + + + + + + + + 字符串转换Byte数组 + 字符串为连续且不包含任意字符的字符串 + + + + + + + 把UNIX时间戳转换为标准时间 + + 要转换的UNIX时间戳 + 时区 + intTime所代表的标准时间 + + + + 和校验取余数 + 求Byte数组的和校验取余数 + + Byte数组 + + + + + 获取枚举描述特性 + + 需要获取特性的枚举值 + 枚举描述特性 + + + + 打开串口 + + 串口 + 串口号 + 波特率 + + + + + 设置串口波特率 + + 串口 + 波特率 + + + + + 关闭串口 + + 串口 + 串口关闭标志 + 串口等待关闭标志 + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + Int转2个字节Byte + 高字节在前,低字节在后 + + + + + + + 和校验取余数 + 求Byte数组的和校验取余数 + + Byte数组 + + + + diff --git a/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll b/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll new file mode 100644 index 0000000..7f66d67 Binary files /dev/null and b/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll differ