Posts

Upgrading Uniden BC_VUP_V3 to NET 8

Image
 dotPeek Visual Studio 2022 NET Upgrade assistant VS extension BC_VUP_V3.csproj add <PropertyGroup>   <Nullable>enable</Nullable>   <LangVersion>8.0</LangVersion> </PropertyGroup>   <ItemGroup>     <PackageReference Include="System.IO.Ports" Version="8.0.0" />   </ItemGroup> WritingDialogbox.cs error Cannot implicitly convert type 'System.IntPtr' to 'int'. An explicit conversion exists (are you missing a cast?) num3 = num3 + (uint) file[(IntPtr) index] & (uint) ushort.MaxValue; --> num3 = num3 + (uint) file[(int)(IntPtr) index] & (uint) ushort.MaxValue;    Usscfile.cs AllowFullAccess modify, comment out try section rows and add FileInfo/FileSecurity          //FileSecurity accessControl = File.GetAccessControl(PathName);         //accessControl.AddAccessRule(new FileSystemAccessRule("Users",         FileSyste...

Gatsoo in Zomei CPL

Image
 

Gatsoo in CIR-PL

Image
 

Mobile traffic lights signal in 868 MHz ISM band

Image
 869.5275 MHz   Universal Radio Hacker  Audacity  

Gatsoo in didymium filter

Image
 

Optimized Python Uniden PWR command band scope

Image
import serial import pandas as pd import matplotlib.pyplot as plt import csv from datetime import datetime ser = serial.Serial('COM14', '115200', timeout = 0.5) print(ser.name) serialCmd = b'PWR\r' readSize = 19 loop = True freq = "" rssi = 0 data = [] log_data = [] cols = ['Frequency', 'RSSI', 'Timestamp'] plt.xlabel("Frequency") plt.ylabel("RSSI") plt.xticks(rotation = 90) plt.ion() try:     while (loop == True):         ser.write(serialCmd)         res = ser.read(readSize).decode()         if (len(res) > 15):             r = res.replace('\r', '').split(",")             freq = r[2]             rssi = int(r[1])             log_data.append([freq, rss...

Log Uniden close call hits with Python

Image
Uniden remote command PWR returns frequency value 00000000 and background noise RSSI value when there is no CC hit. When Close Call found PWR returns frequency and RSSI values. import serial import pandas as pd import matplotlib.pyplot as plt import csv from datetime import datetime ser = serial.Serial('COM14', '115200', timeout = 0.5) print(ser.name) serialCmd = b'PWR\r' readSize = 19 loop = True freq = "" rssi = 0 data = [] log_data = [] cc_data = [] cols = ['Frequency', 'RSSI', 'Timestamp'] plt.xlabel("Frequency") plt.ylabel("RSSI") try:     while (loop == True):         ser.write(serialCmd)         res = ser.read(readSize).decode()         if (len(res) > 15):             r = res.replace('\r', '').split(",")             freq = r[2]    ...