Improve network debugger. Update tools to latest ,net version.

This commit is contained in:
keithsw1111 2021-11-16 19:24:07 +11:00
parent 98179939a6
commit 494036b7cb
16 changed files with 120 additions and 44 deletions

View File

@ -3,6 +3,8 @@ import sys
import getopt
import time
import platform
import os
from datetime import datetime
if platform.system() == "Windows":
import msvcrt
@ -46,6 +48,17 @@ sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
# Number of messages to check through to suppress duplicates ... if two identical messages are received subsequent ones will be suppressed
suppressDupCount = 30
print (os.getcwd(), "/debug.txt")
with open('debug.txt', 'a') as f:
f.write("***********************************\n")
now = datetime.now()
print("now =", now)
f.write(now.strftime("%d/%m/%Y %H:%M:%S"))
f.write("\n")
f.write("***********************************\n")
# either use the default port or take the port from the command line
port = 10000
if len(sys.argv) > 1:
@ -54,6 +67,10 @@ if len(sys.argv) > 1:
# Bind the socket to the port
server_address = ('', port)
print ('starting up on port', port)
f.write('starting up on port ')
f.write(str(port))
f.write("\n")
f.flush()
sock.bind(server_address)
recent = []
@ -68,6 +85,11 @@ while True:
# this suppresses any messages duplicated within the last suppressDupCount messages
if recent.count(d) == 0:
print(d)
now = datetime.now()
f.write(now.strftime("%d/%m/%Y %H:%M:%S.%f "))
f.write(str(d))
f.write("\n")
f.flush()
recent.append(d)
while len(recent) > suppressDupCount:
recent.pop(0)

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"DumpFalconJSON/1.0.0": {
"runtime": {
"DumpFalconJSON.dll": {}
}
}
}
},
"libraries": {
"DumpFalconJSON/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>

View File

@ -1,11 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
".NETCoreApp,Version=v6.0": {
"FSEQDump/1.0.0": {
"runtime": {
"FSEQDump.dll": {}

View File

@ -1,9 +1,12 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}

View File

@ -1,11 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
".NETCoreApp,Version=v6.0": {
"FV4PLSTReader/1.0.0": {
"runtime": {
"FV4PLSTReader.dll": {}

View File

@ -1,9 +1,12 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}

View File

@ -95,3 +95,16 @@ Build 12: 2021-10-31
- Fix : FPP Sync over wifi not working
- Fix : When scheduled playlist does not actually exist SD card read/writes become unstable
Build 13: 2021-11-??
- Enh : Add network debug client to repository
- Fix : Handle FSEQ files with > 256 compression blocks
- Fix : Address issues with Wifi web confusing itself when multiple pages are open
- Fix : APA102 pixels dont display number test pattern correctly
- Fix : Address scratchy audio playback due to idle loop starvation - workaround only - more work required on this
- Fix : Move utilities to .net 6
- Fix : APA109 pixels not working on smart remotes
- Fix : 4 channel pixels show wrong end channel in pixel ports page
- Fix : Handle off WAV file bitrates better including online tool able to generate different bitrates
*** If there is a fix in an unreleased build you believe would help fix an issue you are experiencing then reach out to us at
support@pixelcontroller.com and we will provide you a pre-release.