Posts

Showing posts with the label BC_VUP_V3

Bearmock for BC VUP Version 3

Image
https://techcoderadio.blogspot.com/2025/04/bearmock-for-python-3.html   from time import sleep from serial import Serial __MODEL = 'BCT15X' __PORT = 'COM4' __SPEED = 9600 __TIMEOUT = 0  # non-blocking __READ_SLEEP_SECS = 0 __OUT = 'bct15x-decoded.s19' __ACTIONS = {     'æ€\r': 'ERR\r',  # Empty, just reply     '\r': 'UNKNOWN COMMAND\r', #Empty, just reply .... Strange chars coming first ... just reply error XON/XOFF software flow control if __name__ == "__main__":     try:         port = Serial(__PORT, __SPEED, timeout=__TIMEOUT, bytesize=8, parity='N', stopbits=1, xonxoff=True)     except Exception as ex:         print(ex)         exit()  

Upgrading Uniden BC_VUP_V3 to NET 8

 dotPeek Visual Studio 2022 NET Upgrade assistant VS extension csproj add <PropertyGroup>   <Nullable>enable</Nullable>   <LangVersion>8.0</LangVersion> </PropertyGroup>   <ItemGroup>     <PackageReference Include="System.IO.Ports" Version="8.0.0" />   </ItemGroup> 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;    AllowFullAccess modify, comment out try section rows and add FileInfo/FileSecurity          //FileSecurity accessControl = File.GetAccessControl(PathName);         //accessControl.AddAccessRule(new FileSystemAccessRule("Users",         FileSystemRights.FullControl,AccessControlType.All...