RunAlPipeline sometimes fails with error AL0445 when two reports use the same layout

Describe the issue
I have two reports which use the same rdlc-layout. Building in VS Code works. When running in DevOps the build fails with error AL0445: The file 'src/report/CommissionStatement.rdlc' is opened in another application.
Full output of scripts
2022-08-04T08:28:12.1031928Z ##[section]Starting: Run Pipeline
2022-08-04T08:28:12.1308122Z ==============================================================================
2022-08-04T08:28:12.1308723Z Task         : PowerShell
2022-08-04T08:28:12.1309205Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2022-08-04T08:28:12.1309683Z Version      : 2.200.0
2022-08-04T08:28:12.1310070Z Author       : Microsoft Corporation
2022-08-04T08:28:12.1310749Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2022-08-04T08:28:12.1311436Z ==============================================================================
2022-08-04T08:28:13.8777634Z Generating script.
2022-08-04T08:28:13.8850177Z Formatted command: . 'C:\agent\_work\442\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "current" -appBuild 11860 -appRevision 0
2022-08-04T08:28:13.9348995Z ========================== Starting Command Output ===========================
2022-08-04T08:28:13.9683798Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\e850781b-91f8-4414-9517-75487e7f48de.ps1'"
2022-08-04T08:28:14.8213925Z Set artifact = ///de/
2022-08-04T08:28:14.8253521Z Set pipelineName = LeBit365 Provision-current
2022-08-04T08:28:14.8326950Z Set containerName = lvserver19-lebit365provision-current
2022-08-04T08:28:14.8553720Z Set installApps = ''
2022-08-04T08:28:14.8569954Z Set installTestApps = ''
2022-08-04T08:28:14.8606357Z Set previousApps = '\\lbserver20\Software_Business\apps\LeBit365_Provisionsmodul\latest.zip'
2022-08-04T08:28:14.8644109Z Set appSourceCopMandatoryAffixes = 'lbt com'
2022-08-04T08:28:14.8660439Z Set appSourceCopSupportedCountries = ''
2022-08-04T08:28:14.8695197Z Set appFolders = 'app'
2022-08-04T08:28:14.8731398Z Set testFolders = 'test'
2022-08-04T08:28:14.8747675Z Set memoryLimit = ''
2022-08-04T08:28:14.8766850Z Set additionalCountries = ''
2022-08-04T08:28:14.8783904Z Set genericImageName = ''
2022-08-04T08:28:14.8802304Z Set vaultNameForLocal = ''
2022-08-04T08:28:14.8829319Z Set bcContainerHelperVersion = ''
2022-08-04T08:28:14.8853778Z Set licenseFile = ''
2022-08-04T08:28:14.8915781Z Set rulesetFile = 'scripts/lebit.ruleset.json'
2022-08-04T08:28:15.3883058Z Searching \\lbserver20\Software_Business\apps\LeBit365_Provisionsmodul\latest.zip
2022-08-04T08:28:15.4171486Z Found \\lbserver20\Software_Business\apps\LeBit365_Provisionsmodul\latest.zip
2022-08-04T08:28:15.4322749Z Set installTestRunner = True
2022-08-04T08:28:15.4410258Z Set installTestFramework = True
2022-08-04T08:28:15.4473018Z Set installTestLibraries = True
2022-08-04T08:28:15.4495621Z Set installPerformanceToolkit = False
2022-08-04T08:28:15.4556943Z Set enableCodeCop = True
2022-08-04T08:28:15.4617572Z Set enableAppSourceCop = True
2022-08-04T08:28:15.4677975Z Set enablePerTenantExtensionCop = False
2022-08-04T08:28:15.4738536Z Set enableUICop = True
2022-08-04T08:28:15.4799003Z Set enableBcLntrCop = True
2022-08-04T08:28:15.4823091Z Set doNotSignApps = False
2022-08-04T08:28:15.4846581Z Set doNotRunTests = False
2022-08-04T08:28:15.4870835Z Set cacheImage = False
2022-08-04T08:28:15.4931496Z Set CreateRuntimePackages = True
2022-08-04T08:28:16.3885659Z BcContainerHelper version 3.0.11
2022-08-04T08:28:16.4502991Z Setting hostHelperFolder = C:\ProgramData\BcContainerHelper
2022-08-04T08:28:16.4612142Z Setting genericImageName = mcr.microsoft.com/businesscentral:{0}
2022-08-04T08:28:16.4700760Z Setting bcartifactsCacheFolder = c:\bcartifacts.cache
2022-08-04T08:28:16.8132537Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-08-04T08:28:23.1690222Z Determining artifacts to use
2022-08-04T08:28:51.4729342Z   _____                               _
2022-08-04T08:28:51.4747179Z  |  __ \                             | |
2022-08-04T08:28:51.4765554Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
2022-08-04T08:28:51.4781629Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2022-08-04T08:28:51.4796357Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2022-08-04T08:28:51.4812927Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2022-08-04T08:28:51.4822645Z
2022-08-04T08:28:51.4840124Z Pipeline name               LeBit365 Provision-current
2022-08-04T08:28:51.4858352Z Container name              lvserver19-lebit365provision-current
2022-08-04T08:28:51.4875129Z Image name
2022-08-04T08:28:51.4892025Z ArtifactUrl                 https://bcartifacts.azureedge.net/sandbox/20.3.42673.44596/de
2022-08-04T08:28:51.4907844Z SasToken                    Not Specified
2022-08-04T08:28:51.4924917Z BcAuthContext               Not Specified
2022-08-04T08:28:51.4941471Z Environment
2022-08-04T08:28:51.4958162Z ReUseContainer              False
2022-08-04T08:28:51.4976090Z KeepContainer               False
2022-08-04T08:28:51.4991951Z Auth                        UserPassword
2022-08-04T08:28:51.5164351Z Credential                  ***/Fyxo0119
2022-08-04T08:28:51.5198308Z CompanyName
2022-08-04T08:28:51.5218501Z MemoryLimit                     8G
2022-08-04T08:28:51.5239594Z Enable Task Scheduler           False
2022-08-04T08:28:51.5261197Z Assign Premium Plan             False
2022-08-04T08:28:51.5281571Z Install Test Runner             True
2022-08-04T08:28:51.5302277Z Install Test Framework          True
2022-08-04T08:28:51.5322307Z Install Test Libraries          True
2022-08-04T08:28:51.5342428Z Install Perf. Toolkit           False
2022-08-04T08:28:51.5362311Z InstallOnlyReferencedApps       False
2022-08-04T08:28:51.5382780Z generateDependencyArtifact      False
2022-08-04T08:28:51.5403849Z CopySymbolsFromContainer        False
2022-08-04T08:28:51.5423953Z enableCodeCop                   True
2022-08-04T08:28:51.5445122Z enableAppSourceCop              True
2022-08-04T08:28:51.5465641Z enableUICop                     True
2022-08-04T08:28:51.5487146Z enablePerTenantExtensionCop     False
2022-08-04T08:28:51.5507660Z doNotPerformUpgrade             False
2022-08-04T08:28:51.5528922Z doNotPublishApps                False
2022-08-04T08:28:51.5550204Z uninstallRemovedApps            False
2022-08-04T08:28:51.5572286Z escapeFromCops                  False
2022-08-04T08:28:51.5592550Z doNotBuildTests                 False
2022-08-04T08:28:51.5612749Z doNotRunTests                   False
2022-08-04T08:28:51.5633457Z doNotRunBcptTests               False
2022-08-04T08:28:51.5654321Z useDefaultAppSourceRuleSet      False
2022-08-04T08:28:51.5675115Z rulesetFile                     C:\agent\_work\442\s\scripts\lebit.ruleset.json
2022-08-04T08:28:51.5697395Z azureDevOps                     True
2022-08-04T08:28:51.5717551Z gitLab                          False
2022-08-04T08:28:51.5737768Z gitHubActions                   False
2022-08-04T08:28:51.5760139Z License file                    Specified
2022-08-04T08:28:51.5781399Z CodeSignCertPfxFile             Specified
2022-08-04T08:28:51.5820731Z CodeSignCertPfxPassword         Specified
2022-08-04T08:28:51.5896679Z CodeSignCertIsSelfSigned        False
2022-08-04T08:28:51.5921801Z KeyVaultCertPfxFile             Not specified
2022-08-04T08:28:51.5946275Z KeyVaultCertPfxPassword         Not specified
2022-08-04T08:28:51.5963304Z KeyVaultClientId
2022-08-04T08:28:51.5978767Z BuildOutputFile
2022-08-04T08:28:51.5996522Z TestResultsFile                 C:\agent\_work\442\s\TestResults.xml
2022-08-04T08:28:51.6018330Z BcptTestResultsFile             C:\agent\_work\442\s\bcptTestResults.json
2022-08-04T08:28:51.6038976Z TestResultsFormat               JUnit
2022-08-04T08:28:51.6090294Z AdditionalCountries
2022-08-04T08:28:51.6110162Z PackagesFolder                  C:\agent\_work\442\s\.packages
2022-08-04T08:28:51.6131652Z OutputFolder                    C:\agent\_work\442\s\.output
2022-08-04T08:28:51.6152454Z BuildArtifactFolder             C:\agent\_work\442\a
2022-08-04T08:28:51.6173799Z CreateRuntimePackages           True
2022-08-04T08:28:51.6191317Z AppVersion
2022-08-04T08:28:51.6216584Z AppBuild                        11860
2022-08-04T08:28:51.6246166Z AppRevision                     0
2022-08-04T08:28:51.6278091Z Mandatory Affixes               lbt com
2022-08-04T08:28:51.6301169Z Supported Countries
2022-08-04T08:28:51.6325350Z ObsoleteTagMinAllowedMajorMinor
2022-08-04T08:28:51.6342254Z Install Apps
2022-08-04T08:28:51.6358631Z - None
2022-08-04T08:28:51.6375356Z Install Test Apps
2022-08-04T08:28:51.6391988Z - None
2022-08-04T08:28:51.6408638Z Previous Apps
2022-08-04T08:28:51.6425688Z - \\lbserver20\Software_Business\apps\LeBit365_Provisionsmodul\latest.zip
2022-08-04T08:28:51.6442142Z Application folders
2022-08-04T08:28:51.6460663Z - C:\agent\_work\442\s\app
2022-08-04T08:28:51.6477089Z Test application folders
2022-08-04T08:28:51.6521830Z - C:\agent\_work\442\s\test
2022-08-04T08:28:51.6524937Z BCPT Test application folders
2022-08-04T08:28:51.6530745Z - None
2022-08-04T08:28:51.6547439Z Custom CodeCops
2022-08-04T08:28:51.6565475Z - C:\agent\_work\442\s\BCLinterCop.dll
2022-08-04T08:28:51.6628519Z NewBccontainer override
2022-08-04T08:28:51.6694201Z
2022-08-04T08:28:51.6710634Z
2022-08-04T08:28:51.6729234Z     Param([Hashtable]$parameters)
2022-08-04T08:28:51.6737910Z
2022-08-04T08:28:51.6755443Z     $items = Get-ChildItem -Path $baseFolder -Recurse -Filter "*.dll"
2022-08-04T08:28:51.6763777Z
2022-08-04T08:28:51.6789598Z     $dllFolder = Join-Path $ENV:AGENT_HOMEDIRECTORY "dlls"
2022-08-04T08:28:51.6801202Z     if (-not (Test-Path $dllFolder)) {
2022-08-04T08:28:51.6818113Z         New-Item -ItemType Directory -Path $dllFolder
2022-08-04T08:28:51.6836401Z     }
2022-08-04T08:28:51.6853581Z     if ($items.Count -gt 0) {
2022-08-04T08:28:51.6870767Z         $items | ForEach-Object {
2022-08-04T08:28:51.6888025Z             if (-not (Test-Path (Join-Path $dllFolder $_.Name) -PathType Leaf)) {
2022-08-04T08:28:51.6904395Z                 Copy-Item $_.FullName -Destination $dllFolder
2022-08-04T08:28:51.6920927Z             }
2022-08-04T08:28:51.6937713Z         }
2022-08-04T08:28:51.6955294Z         $parameters.additionalParameters += @("--volume $($dllFolder):c:\run\Add-Ins\mydlls")
2022-08-04T08:28:51.6971793Z     }
2022-08-04T08:28:51.6989230Z     $parameters.additionalParameters += @("--env customWebSettings=AuthenticateServer=false")
2022-08-04T08:28:51.7005920Z
2022-08-04T08:28:51.7023310Z     New-BcContainer @parameters
2022-08-04T08:28:51.7040445Z     Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock {
2022-08-04T08:28:51.7057109Z         $progressPreference = 'SilentlyContinue'
2022-08-04T08:28:51.7074139Z     }
2022-08-04T08:28:51.7082732Z
2022-08-04T08:28:51.7100681Z CompileAppInBcContainer override
2022-08-04T08:28:51.7109059Z
2022-08-04T08:28:51.7126857Z     Param([Hashtable]$parameters)
2022-08-04T08:28:51.7135347Z
2022-08-04T08:28:51.7153095Z     $appJsonFile = Join-Path $parameters.appProjectFolder "app.json"
2022-08-04T08:28:51.7169548Z     $appJson = Get-Content $appJsonFile | ConvertFrom-Json
2022-08-04T08:28:51.7187647Z     if ($appJson.preprocessorSymbols) {
2022-08-04T08:28:51.7205491Z         $appJson.preprocessorSymbols = @()
2022-08-04T08:28:51.7223043Z         $appJson | ConvertTo-Json -Depth 99 | Set-Content $appJsonFile
2022-08-04T08:28:51.7239790Z     }
2022-08-04T08:28:51.7256815Z
2022-08-04T08:28:51.7273905Z     Compile-AppInBcContainer @parameters
2022-08-04T08:28:51.7282216Z
2022-08-04T08:28:51.7291045Z
2022-08-04T08:28:51.7307800Z   _____       _ _ _                                          _        _
2022-08-04T08:28:51.7325000Z  |  __ \     | | (_)                                        (_)      (_)
2022-08-04T08:28:51.7342236Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
2022-08-04T08:28:51.7359118Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2022-08-04T08:28:51.7376699Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2022-08-04T08:28:51.7393726Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2022-08-04T08:28:51.7410018Z                            __/ |   __/ |                                                 __/ |
2022-08-04T08:28:51.7427360Z                           |___/   |___/                                                 |___/
2022-08-04T08:28:51.7436537Z
2022-08-04T08:28:53.2802562Z Pulling mcr.microsoft.com/businesscentral:10.0.17763.2686
2022-08-04T08:28:53.9043219Z
2022-08-04T08:28:53.9062993Z Pulling generic image took 2 seconds
2022-08-04T08:28:53.9313808Z
2022-08-04T08:28:53.9332300Z    _____                _   _                               _        _
2022-08-04T08:28:53.9349141Z   / ____|              | | (_)                             | |      (_)
2022-08-04T08:28:53.9367088Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
2022-08-04T08:28:53.9385018Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-08-04T08:28:53.9402327Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
2022-08-04T08:28:53.9418964Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
2022-08-04T08:28:53.9435980Z                                      __/ |
2022-08-04T08:28:53.9453352Z                                     |___/
2022-08-04T08:28:53.9462735Z
2022-08-04T08:28:55.0265978Z WARNING: Container name should not exceed 15 characters
2022-08-04T08:28:55.7907899Z BcContainerHelper is version 3.0.11
2022-08-04T08:28:55.7923189Z BcContainerHelper is running as ***istrator
2022-08-04T08:28:57.8398464Z Hyper-V is Disabled
2022-08-04T08:28:57.8469747Z UsePsSession is True
2022-08-04T08:28:57.8527909Z Host is Microsoft Windows Server 2019 Standard - ltsc2019
2022-08-04T08:28:58.1049960Z Docker Client Version is 19.03.4
2022-08-04T08:28:58.1107560Z Docker Server Version is 19.03.4
2022-08-04T08:28:59.0537276Z Removing Desktop shortcuts
2022-08-04T08:28:59.8612815Z Fetching all docker images
2022-08-04T08:29:00.1540449Z Fetching all docker volumes
2022-08-04T08:29:00.8652624Z Using image mcr.microsoft.com/businesscentral:10.0.17763.2686
2022-08-04T08:29:01.7906291Z Creating Container lvserver19-lebit365provision-current
2022-08-04T08:29:01.7918571Z Style: sandbox
2022-08-04T08:29:01.7939720Z Multitenant: Yes
2022-08-04T08:29:01.7971446Z Version: 20.3.42673.44596
2022-08-04T08:29:01.7990500Z Platform: 20.0.42653.44568
2022-08-04T08:29:01.8010686Z Generic Tag: <IP_ADDRESS>
2022-08-04T08:29:01.8111888Z Container OS Version: 10.0.17763.2686 (ltsc2019)
2022-08-04T08:29:01.8129488Z Host OS Version: 10.0.17763.2686 (ltsc2019)
2022-08-04T08:29:01.8283762Z Using process isolation
2022-08-04T08:29:01.8391154Z Using locale de-DE
2022-08-04T08:29:01.8490883Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2022-08-04T08:29:01.9297301Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit365provision-current\Microsoft.VisualStudio.Services.VSIXPackage.vsix
2022-08-04T08:29:12.9123810Z Using license file https://devlbstorage.blob.core.windows.net/files/4804634%20LeBit%20Dev%2020%20BC%20on%20premises%20DE%20610%20ISV%2014.06.22.flf
2022-08-04T08:29:12.9213360Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit365provision-current\my\license.flf
2022-08-04T08:29:13.1665075Z Additional Parameters:
2022-08-04T08:29:13.1687737Z --volume "C:\agent\_work\442\s:c:\sources"
2022-08-04T08:29:13.1704415Z --volume C:\agent\dlls:c:\run\Add-Ins\mydlls
2022-08-04T08:29:13.1726168Z --env customWebSettings=AuthenticateServer=false
2022-08-04T08:29:13.1746777Z --env customNavSettings=EnableTaskScheduler=False
2022-08-04T08:29:13.1764915Z Files in C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit365provision-current\my:
2022-08-04T08:29:13.1807930Z - AdditionalOutput.ps1
2022-08-04T08:29:13.1825360Z - license.flf
2022-08-04T08:29:13.1843745Z - MainLoop.ps1
2022-08-04T08:29:13.1862214Z - SetupVariables.ps1
2022-08-04T08:29:13.1884152Z - updatehosts.ps1
2022-08-04T08:29:13.1902255Z Creating container lvserver19-lebit365provision-current from image mcr.microsoft.com/businesscentral:10.0.17763.2686
2022-08-04T08:29:13.6248916Z 9c96159d88b74ac10e7a1d8114eb61465393431bf8b429e2b44b65da8b666ebe
2022-08-04T08:29:17.2106128Z Waiting for container lvserver19-lebit365provision-current to be ready
2022-08-04T08:29:25.3724761Z Adding LVSERVER19-LEBI to hosts file
2022-08-04T08:29:25.3739433Z Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.3.42673.44596/de
2022-08-04T08:29:26.7315280Z Using installer from C:\Run\150-new
2022-08-04T08:29:26.7326968Z Installing Business Central
2022-08-04T08:29:26.7338146Z Installing from artifacts
2022-08-04T08:29:32.0888753Z Starting Local SQL Server
2022-08-04T08:29:32.0904132Z Starting Internet Information Server
2022-08-04T08:29:32.0920437Z Copying Service Tier Files
2022-08-04T08:29:34.7167364Z c:\dl\sandbox\20.3.42673.44596\platform\ServiceTier\Program Files
2022-08-04T08:29:34.7182107Z c:\dl\sandbox\20.3.42673.44596\platform\ServiceTier\System64Folder
2022-08-04T08:29:34.7193701Z Copying PowerShell Scripts
2022-08-04T08:29:34.7207510Z c:\dl\sandbox\20.3.42673.44596\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2022-08-04T08:29:34.7223340Z c:\dl\sandbox\20.3.42673.44596\platform\WindowsPowerShellScripts\WebSearch
2022-08-04T08:29:34.7239518Z Copying Web Client Files
2022-08-04T08:29:38.7519215Z c:\dl\sandbox\20.3.42673.44596\platform\WebClient\Microsoft Dynamics NAV
2022-08-04T08:29:38.7544494Z Copying Client Files
2022-08-04T08:29:40.1099366Z c:\dl\sandbox\20.3.42673.44596\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2022-08-04T08:29:40.1113342Z c:\dl\sandbox\20.3.42673.44596\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2022-08-04T08:29:40.1130790Z c:\dl\sandbox\20.3.42673.44596\platform\LegacyDlls\systemFolder
2022-08-04T08:29:40.1147691Z Copying ModernDev Files
2022-08-04T08:29:40.1163529Z c:\dl\sandbox\20.3.42673.44596\platform
2022-08-04T08:29:41.4692542Z c:\dl\sandbox\20.3.42673.44596\platform\ModernDev\program files\Microsoft Dynamics NAV
2022-08-04T08:29:41.4704760Z Copying additional files
2022-08-04T08:29:41.4717944Z Copying ConfigurationPackages
2022-08-04T08:29:41.4731422Z C:\dl\sandbox\20.3.42673.44596\de\ConfigurationPackages
2022-08-04T08:29:41.4744527Z Copying Test Assemblies
2022-08-04T08:29:41.4758391Z C:\dl\sandbox\20.3.42673.44596\platform\Test Assemblies
2022-08-04T08:29:41.4771924Z Copying Extensions
2022-08-04T08:29:42.8781652Z C:\dl\sandbox\20.3.42673.44596\de\Extensions
2022-08-04T08:29:42.8799807Z Copying Applications
2022-08-04T08:29:44.2812958Z C:\dl\sandbox\20.3.42673.44596\platform\Applications
2022-08-04T08:29:44.2830072Z Copying Applications.DE
2022-08-04T08:29:44.3427006Z C:\dl\sandbox\20.3.42673.44596\de\Applications.DE
2022-08-04T08:29:44.3444855Z Copying dependencies
2022-08-04T08:30:13.1525103Z Copying ReportBuilder
2022-08-04T08:30:16.1116717Z Importing PowerShell Modules
2022-08-04T08:30:23.7897273Z Restoring CRONUS Demo Database
2022-08-04T08:30:26.7369866Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2022-08-04T08:31:42.8520775Z Exporting Application to CRONUS
2022-08-04T08:31:56.1198346Z Removing Application from tenant
2022-08-04T08:31:56.1212969Z Modifying Business Central Service Tier Config File for Docker
2022-08-04T08:31:56.1228348Z Creating Business Central Service Tier
2022-08-04T08:31:56.1244191Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2022-08-04T08:32:23.4964895Z Starting Business Central Service Tier
2022-08-04T08:32:24.9318940Z Importing license file
2022-08-04T08:32:24.9336002Z Copying Database on localhost\SQLEXPRESS from tenant to default
2022-08-04T08:32:24.9354419Z Taking database tenant offline
2022-08-04T08:32:32.7441726Z Copying database files
2022-08-04T08:32:35.5434312Z Attaching files as new Database default
2022-08-04T08:32:35.5450728Z Putting database tenant back online
2022-08-04T08:32:35.5465946Z Mounting tenant database
2022-08-04T08:35:38.5320478Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2022-08-04T08:35:39.9866742Z Sync'ing Tenant
2022-08-04T08:35:39.9881115Z Tenant is Operational
2022-08-04T08:35:39.9895809Z Stopping Business Central Service Tier
2022-08-04T08:35:39.9910581Z Installation took 374 seconds
2022-08-04T08:35:39.9922530Z Installation complete
2022-08-04T08:35:39.9934965Z Initializing...
2022-08-04T08:35:39.9947079Z Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
2022-08-04T08:35:39.9959244Z Starting Container
2022-08-04T08:35:39.9972278Z Hostname is lvserver19-lebit365provision-current
2022-08-04T08:35:42.7922671Z PublicDnsName is lvserver19-lebit365provision-current
2022-08-04T08:35:42.7938262Z Using NavUserPassword Authentication
2022-08-04T08:35:44.1469257Z Creating Self Signed Certificate
2022-08-04T08:35:44.1488921Z Self Signed Certificate Thumbprint 4F62D7B25CA62AD5651471173D78E6B497716AF9
2022-08-04T08:35:44.1505815Z DNS identity lvserver19-lebit365provision-current
2022-08-04T08:35:44.1522290Z Modifying Service Tier Config File with Instance Specific Settings
2022-08-04T08:35:44.1538245Z Modifying Service Tier Config File with settings from environment variable
2022-08-04T08:35:45.4714733Z Setting EnableTaskScheduler to False
2022-08-04T08:36:06.0439582Z Starting Service Tier
2022-08-04T08:36:06.0453889Z Registering event sources
2022-08-04T08:36:07.4789102Z Creating DotNetCore Web Server Instance
2022-08-04T08:36:07.4805683Z Using application pool name: BC
2022-08-04T08:36:07.4822018Z Using default container name: NavWebApplicationContainer
2022-08-04T08:36:10.2471527Z Copy files to WWW root C:\inetpub\wwwroot\BC
2022-08-04T08:36:11.6089250Z Create the application pool BC
2022-08-04T08:36:12.9594125Z Create website: NavWebApplicationContainer without SSL
2022-08-04T08:36:12.9605095Z Update configuration: navsettings.json
2022-08-04T08:36:12.9616662Z Done Configuring Web Client
2022-08-04T08:36:12.9629282Z Modifying Web Client config with settings from environment variable
2022-08-04T08:36:12.9641203Z Setting AuthenticateServer to false
2022-08-04T08:36:12.9652916Z Enabling Financials User Experience
2022-08-04T08:36:12.9665058Z Using license file 'c:\run\my\license.flf'
2022-08-04T08:36:17.0223749Z Import License
2022-08-04T08:36:18.4272044Z Dismounting Tenant
2022-08-04T08:36:18.4291856Z Mounting Tenant
2022-08-04T08:37:45.0379139Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2022-08-04T08:37:45.0393996Z Sync'ing Tenant
2022-08-04T08:37:45.0409666Z Tenant is Operational
2022-08-04T08:37:46.5493322Z Creating http download site
2022-08-04T08:37:46.5506206Z Setting SA Password and enabling SA
2022-08-04T08:37:54.0931522Z Creating *** as SQL User and add to sys***
2022-08-04T08:38:14.9190128Z Creating SUPER user
2022-08-04T08:38:14.9209128Z Container IP Address: <IP_ADDRESS>
2022-08-04T08:38:14.9228609Z Container Hostname  : lvserver19-lebit365provision-current
2022-08-04T08:38:14.9246606Z Container Dns Name  : lvserver19-lebit365provision-current
2022-08-04T08:38:14.9266026Z Web Client          : http://lvserver19-lebit365provision-current/BC/?tenant=default
2022-08-04T08:38:14.9286528Z Dev. Server         : http://lvserver19-lebit365provision-current
2022-08-04T08:38:14.9309104Z Dev. ServerInstance : BC
2022-08-04T08:38:14.9331834Z Dev. Server Tenant  : default
2022-08-04T08:38:14.9351194Z Setting lvserver19-lebit365provision-current to <IP_ADDRESS> in host hosts file
2022-08-04T08:38:14.9371342Z Setting lvserver19-lebit365provision-current-default to <IP_ADDRESS> in host hosts file
2022-08-04T08:38:14.9389670Z Setting lvserver19-lebit365provision-current-default to <IP_ADDRESS> in container hosts file
2022-08-04T08:38:14.9397704Z
2022-08-04T08:38:14.9415206Z Files:
2022-08-04T08:38:14.9436571Z http://lvserver19-lebit365provision-current:8080/Microsoft.VisualStudio.Services.VSIXPackage.vsix
2022-08-04T08:38:14.9446246Z
2022-08-04T08:38:14.9466623Z WARNING: You are running a container which is 146 days old.
2022-08-04T08:38:14.9484008Z Microsoft recommends that you always run the latest version of our containers.
2022-08-04T08:38:14.9492636Z
2022-08-04T08:38:14.9511523Z Container Total Physical Memory is 28.0Gb
2022-08-04T08:38:14.9531081Z Container Free Physical Memory is 14.2Gb
2022-08-04T08:38:14.9540330Z
2022-08-04T08:38:14.9559788Z Initialization took 156 seconds
2022-08-04T08:38:14.9578677Z Ready for connections!
2022-08-04T08:38:16.2199868Z Reading CustomSettings.config from lvserver19-lebit365provision-current
2022-08-04T08:38:17.8348635Z Creating Desktop Shortcuts for lvserver19-lebit365provision-current
2022-08-04T08:38:18.0417088Z Container lvserver19-lebit365provision-current successfully created
2022-08-04T08:38:18.4344002Z
2022-08-04T08:38:18.4365724Z Use:
2022-08-04T08:38:18.4395765Z Get-BcContainerEventLog -containerName lvserver19-lebit365provision-current to retrieve a snapshot of the event log from the container
2022-08-04T08:38:18.4427429Z Get-BcContainerDebugInfo -containerName lvserver19-lebit365provision-current to get debug information about the container
2022-08-04T08:38:18.4463788Z Enter-BcContainer -containerName lvserver19-lebit365provision-current to open a PowerShell prompt inside the container
2022-08-04T08:38:18.4496392Z Remove-BcContainer -containerName lvserver19-lebit365provision-current to remove the container again
2022-08-04T08:38:18.4528707Z docker logs lvserver19-lebit365provision-current to retrieve information about URL's again
2022-08-04T08:38:19.5332732Z
2022-08-04T08:38:19.5352644Z Creating container took 566 seconds
2022-08-04T08:38:19.5361700Z
2022-08-04T08:38:19.5382338Z  _____                _       _                   _                           _                 _
2022-08-04T08:38:19.5399811Z |  __ \              | |     (_)                 | |                         | |               (_)
2022-08-04T08:38:19.5417579Z | |__) |___ ___  ___ | |_   ___ _ __   __ _    __| | ___ _ __   ___ _ __   __| | ___ _ __   ___ _  ___ ___
2022-08-04T08:38:19.5435299Z |  _  // _ \ __|/ _ \| \ \ / / | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| |/ _ \ __|
2022-08-04T08:38:19.5452172Z | | \ \  __\__ \ (_) | |\ V /| | | | | (_| | | (_| |  __/ |_) |  __/ | | | (_| |  __/ | | | (__| |  __\__ \
2022-08-04T08:38:19.5470160Z |_|  \_\___|___/\___/|_| \_/ |_|_| |_|\__, |  \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|_|\___|___/
2022-08-04T08:38:19.5487095Z                                        __/ |            | |
2022-08-04T08:38:19.5503905Z                                       |___/             |_|
2022-08-04T08:38:19.5512206Z
2022-08-04T08:38:19.7696351Z Sorted folders
2022-08-04T08:38:19.7718841Z - C:\agent\_work\442\s\app
2022-08-04T08:38:19.7737353Z - C:\agent\_work\442\s\test
2022-08-04T08:38:19.7755990Z External dependencies
2022-08-04T08:38:19.7783121Z - 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_<IP_ADDRESS>.app
2022-08-04T08:38:19.7799736Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_<IP_ADDRESS>.app
2022-08-04T08:38:19.7815882Z - dd0be2ea-f733-4d65-bb34-a28f4624fb14:Microsoft_Library Assert_<IP_ADDRESS>.app
2022-08-04T08:38:19.7835460Z - e7320ebb-08b3-4406-b1ec-b4927d3e280b:Microsoft_Any_<IP_ADDRESS>.app
2022-08-04T08:38:19.7852857Z - 23de40a6-dfe8-4f80-80db-d70f83ce8caf:Microsoft_Test Runner_<IP_ADDRESS>.app
2022-08-04T08:38:19.7871110Z - 5d86850b-0d76-4eca-bd7b-951ad998e997:Microsoft_Tests-TestLibraries_<IP_ADDRESS>.app
2022-08-04T08:38:19.7889117Z
2022-08-04T08:38:19.7907454Z    _____                      _ _ _
2022-08-04T08:38:19.7923975Z   / ____|                    (_) (_)
2022-08-04T08:38:19.7938852Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___
2022-08-04T08:38:19.7957021Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2022-08-04T08:38:19.7976470Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
2022-08-04T08:38:19.7994935Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2022-08-04T08:38:19.8012499Z                        | |                 __/ |       | |   | |
2022-08-04T08:38:19.8030138Z                        |_|                |___/        |_|   |_|
2022-08-04T08:38:19.8038994Z
2022-08-04T08:38:19.8207953Z Using custom ruleset
2022-08-04T08:38:19.8288633Z Using Version 19.0.11860.0
2022-08-04T08:38:19.8670679Z Copying previous apps to packages folder
2022-08-04T08:38:22.7788073Z LeBit Software & Consult GmbH_LeBit Commission = 19.0.11851.0
2022-08-04T08:38:22.7936307Z Creating AppSourceCop.json for validation
2022-08-04T08:38:22.7985412Z AppSourceCop.json content:
2022-08-04T08:38:22.8013772Z {
2022-08-04T08:38:22.8029859Z     "Publisher":  "LeBit Software \u0026 Consult GmbH",
2022-08-04T08:38:22.8046820Z     "Name":  "LeBit Commission",
2022-08-04T08:38:22.8063012Z     "mandatoryAffixes":  [
2022-08-04T08:38:22.8121583Z                              "lbt com"
2022-08-04T08:38:22.8122230Z                          ],
2022-08-04T08:38:22.8124567Z     "Version":  "19.0.11851.0"
2022-08-04T08:38:22.8130716Z }
2022-08-04T08:38:22.8139991Z
2022-08-04T08:38:22.8157746Z Compiling C:\agent\_work\442\s\app
2022-08-04T08:38:26.0525047Z Using Symbols Folder: C:\agent\_work\442\s\.packages
2022-08-04T08:38:39.3702807Z Downloading symbols: Microsoft_Application_20.3.42673.44596.app
2022-08-04T08:38:39.3765490Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS>&tenant=default
2022-08-04T08:38:46.3489013Z Adding dependency to System Application from Microsoft
2022-08-04T08:38:46.3540148Z Adding dependency to Base Application from Microsoft
2022-08-04T08:38:46.3686092Z Downloading symbols: Microsoft_System_20.0.42653.44568.app
2022-08-04T08:38:46.3705838Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS>&tenant=default
2022-08-04T08:38:47.9292962Z Downloading symbols: Microsoft_System Application_20.3.42673.44596.app
2022-08-04T08:38:47.9310969Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=<IP_ADDRESS>&tenant=default
2022-08-04T08:38:49.4949116Z Downloading symbols: Microsoft_Base Application_20.3.42673.44596.app
2022-08-04T08:38:49.4962034Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=<IP_ADDRESS>&tenant=default
2022-08-04T08:38:52.1184197Z Compiling...
2022-08-04T08:38:52.2158197Z .\alc.exe /project:"c:\sources\app" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\LeBit Software & Consult GmbH_LeBit Commission_19.0.11860.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /analyzer:c:\sources\BCLinterCop.dll /ruleset:c:\sources\scripts\lebit.ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2022-08-04T08:39:07.4830692Z Microsoft (R) AL Compiler version <IP_ADDRESS>214
2022-08-04T08:39:07.4884287Z Copyright (C) Microsoft Corporation. All rights reserved
2022-08-04T08:39:07.4894225Z
2022-08-04T08:39:07.4910265Z Compilation started for project 'LeBit Commission' containing '109' files at '10:38:54.960'.
2022-08-04T08:39:07.4919243Z
2022-08-04T08:39:07.4998900Z ##[error]c:\sources\app\src\report\StatementCrMemo.Report.al(9,18): error AL0445: The file 'src/report/CommissionStatement.rdlc' is opened in another application. Close the application to be able to compile.
2022-08-04T08:39:07.5011805Z
2022-08-04T08:39:07.5012390Z Compilation ended at '10:39:07.367'.
2022-08-04T08:39:07.5012709Z
2022-08-04T08:39:07.5013436Z App generation failed with exit code 1
2022-08-04T08:39:08.0277333Z Compile-AppInBcContainer Telemetry Correlation Id: 7f8356a2-b958-4256-985c-c72a6b5fb8e5
2022-08-04T08:39:09.6521397Z Removing Session lvserver19-lebit365provision-current
2022-08-04T08:39:09.9730319Z Removing container lvserver19-lebit365provision-current
2022-08-04T08:39:18.8488930Z Removing entries from hosts
2022-08-04T08:39:18.8710866Z Removing lvserver19-lebit365provision-current from container hosts file
2022-08-04T08:39:19.0064273Z Removing lvserver19-lebit365provision-current-* from container hosts file
2022-08-04T08:39:19.0150547Z Removing Desktop shortcuts
2022-08-04T08:39:19.0885743Z Removing C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit365provision-current
2022-08-04T08:39:19.6912849Z Run-AlPipeline Telemetry Correlation Id: 617b7337-5682-4e93-b454-7afdf6d5fe50
2022-08-04T08:39:19.9172174Z ##[error]App generation failed with exit code 1
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.11\AppHandling\Compile-AppInNavContainer.ps1:651
Zeichen:72
+ ... | Where-Object { $_ -like "App generation failed*" } | % { throw $_ }
+                                                                ~~~~~~~~
    + CategoryInfo          : OperationStopped: (App generation failed with exit code 1:String) [], RuntimeException
    + FullyQualifiedErrorId : App generation failed with exit code 1
2022-08-04T08:39:19.9257109Z ##[error]PowerShell exited with code '1'.
2022-08-04T08:39:19.9806030Z ##[section]Finishing: Run Pipeline

Additional context
I had that error occur sporadically, usually re-queuing the build would be enough. Now the last 5 builds failed with this error.

Hi @achim-t - sorry for the delay.
Would you maybe have a sample project, which I could download and repro this with - then I can create a fix for this.
Looks like a bug.

Sorry for the long wait.
Cloned the repo, fixed it so it could compile and tried it out:

assuming that this must have been a bug in the compiler or like, cannot repro it now


Ad Cuda 10 Support

Would it be possible to add cuda 10 support?  The RTX series cards would see a pretty good boost

Can Compile Cuda 9.2 in Visual Studio 2017 free version, works great.. When changing to coda 10 with all dependencies and paths correct, compile complains about coda.h and cuda_runtime.h not being there, even though the native coda 10 is compiling the binary.   Also was wondering if current bitcrack was compiled with Fast-Match optimization for the coda cores?


Pin GitHub Action Version

Pull Request

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

#146  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 28, 5:47 PM EDT: A user merged this pull request with Graphite.


Recursive Program To Reverse a Number

PR Checklist:

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is on refer on the language README.md file
[x] My addition does not have a spelling problem
[x] My submission has a proper and user-friendly description of the algorithm
[x] My submission has the time complexity of the algorithm
[x] My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR

Other information:

IMHO, the reliance on static variables can cause confusing bugs to anyone who does not fully grasp the concept of lifetime and scoping (including me). Indeed, the Rev does not give expected results when I try to call it multiple times on my platform.
Furthermore, the computation of log is expensive.
Below is another way to implement recursive reverse function without using log. Of course, it can be easily transformed to iterative version.
int RevHelper(int n, int radix, int curr){
	if(n < 1)
		return curr;
	else
		return RevHelper(n/radix, radix, curr*radix + n%radix);
}
int Rev(int n){
	return RevHelper(n, 10, 0);
}

IMHO, the reliance on static variables can cause confusing bugs to anyone who does not fully grasp the concept of lifetime and scoping (including me). Indeed, the Rev does not give expected results when I try to call it multiple times in the main function on my platform.
Furthermore, the computation of log is expensive.
Below is another way to implement recursive reverse function without using log. Of course, it can be easily transformed to iterative version.
int RevHelper(int n, int radix, int curr){
	if(n < 1)
		return curr;
	else
		return RevHelper(n/radix, radix, curr*radix + n%radix);
}
int Rev(int n){
	return RevHelper(n, 10, 0);
}

Using lambda expression,
#include<functional>
int Rev(int n){
	function<int(int,int, int)> helper = [&](int n, int radix, int curr){
		if(n < 1)
			return curr;
		else
			return helper(n/radix, radix, curr*radix + n%radix);
	};
	return helper(n, 10, 0);
}

Didn't know about the drawbacks of using static variables. Thanks for sharing :)

Can someone explain me this fail I am getting?

Now only update the readme.md and the PR should be good to go

Done! I think that's it. Thanks for helping me out!

Hi @Arsenic-ATG,
The issue of cpplint pipeline is fixed on this pull request #468?

Hi @Arsenic-ATG,
The issue of cpplint pipeline is fixed on this pull request #468?

The check was failing due to the "fibonacci number" project (added in #794 ), due to some reasons this was not detected there.
My last commit with this PR should fix that.

Thanks, @Arsenic-ATG nice work!!!


Generic banned asset tags are not accounting for word case

Hello,
First of all thanks for this wonderful plugin ;!
I have tried to import two esxi devices (cisco b200m5).
It works fine for the first one but not for the second one.
I saw that the first has an "asset tag" which is "UNKNOWN". -->>
And here is the error :
[WARNING] NetBox failed to create devices object. A duplicate record may exist or the data sent is not acceptable.
2020-01-14 11:00:27,294 [DEBUG] NetBox 400 status reason: {'asset_tag': ['device with this Asset tag already exists.']}
2020-01-14 11:00:27,294 [DEBUG] Unaccepted request data: {'name': 'esx002', 'device_type': {'model': 'UCSB-B200-M5'}, 'device_role': {'name': 'Server'}, 'platform': {'name': 'VMware ESXi'}, 'site': {'name': 'vCenter'}, 'serial': 'xxxx', 'asset_tag': 'UNKNOWN', 'cluster': {'name': 'xxxx}, 'status': 1, 'tags': ['Synced', 'vCenter', 'xxxx']}

So I understood that these two machines got the same asset tag (UNKNOWN) which is not acceptable.
Have you got an idea on how I could set another asset tag ?
Thanks for you replies :)

Hi @phbureau! Thanks for the report. You're spot on that the asset tags must be unique. I have a an existing banned asset tag word list to match against for situations like these. Let me make a few adjustments and I'll have an update for you shortly.

I've updated the banned asset tag check to account for case. Unknown is already disallowed and now it should catch. I'm going to place this in the develop branch for now, run it through full testing, and then I'll promote it into master seeing as this is a very minor adjustment.

I retried with your develop branch, it is working very well, no more errors !
Thank you very much for your reactivity !


Assistance Requested for Configuring ubxlib for LEAN_R8 on Linux

Hello,
I hope this message finds you well.
I am reaching out to seek your guidance on configuring the ubxlib library for use with the LEAN_R8 device on a Linux operating system. I have successfully cloned the repository and identified the specific components I need within the UBXLIB_FEATURES section of the linux.cmake file.
Following this, I executed the cmake command to configure the build environment and subsequently ran the test program, which performed as expected. However, my primary objective is to ensure that the compiled library is fully compatible with the LEAN_R8 device, which connects via USB and communicates using the Point-to-Point Protocol (PPP).
Could you please advise on the steps necessary to instruct the cmake build system to target the LEAN_R8 device specifically? My aim is to ensure seamless communication over USB with PPP protocol support.
and if there are any examples of this.
I appreciate your time and look forward to your expert advice.

Hi there, and thanks for posting.  The problem you'll have is that we don't currently have a PPP-level integration into Linux with LENA-R8, only with ESP-IDF [plus Zephyr with some provisos] and with SARA-R5 or SARA-R422.
That said, I can take a look at how difficult it would be to do a PPP-level integration with Linux; I know that on Windows it would involve signed drivers, which would be difficult, but with Linux we should be able to use pppd.  I will also need to check on the status of PPP with LENA-R8.  Will get back to you.

Okay, thank you very much, I am looking forward to hearing from you soon.
Thank you in advance for your help and support.

I have a question, could you tell me how can I run it using UART without PPP now, and when the new update is ready I can move to it?
how can I adjust the Flags to tell it the number of /dev/ttyUSBX and specify the LENA_R8.
Thank you in advance

Certainly: in the uDeviceCfg_t structure you pass to uDeviceOpen() you would set the moduleType field of uDevicCfgCell_t to U_CELL_MODULE_TYPE_LENA_R8; you could also set it to U_CELL_MODULE_TYPE_ANY and ubxlib will read the module type and set it for you but it is slightly quicker to set the proper module type yourself.
To tell Linux the correct serial port to use with the module, if, say, you were using /dev/ttyUSB5 then in the uDeviceCfg_t structure you pass to uDeviceOpen() you would set the uart field of uDeviceCfgUart_t to 5 and the pPrefix field to /dev/ttyUSB.
You can see how we configure this structure in the examples, e.g. this one which runs PPP from ESP-IDF; a Linux version might look similar.

Hi again.  I have pushed a preview branch that contains support for PPP on LENA-R8 and also support for PPP with Linux here:
https://github.com/u-blox/ubxlib/tree/preview_ppp_linux_lena_r8_rmea
Details about how to make it happen can be found in the Linux platform README.md and you will find example code here.  A few things to note:

There seems to be a limitation with LENA-R8 that, once a PPP connection is running, any other AT-command-based activity that needs to send data to the network using the clients on-board the LENA-R8 will fail (i.e. things like using the ubxlib function to look up a DNS address, using ubxlib MQTT or HTTP, using a ubxlib socket).  This is currently preventing me checking the code in as such simultaneous operations are something we specifically test.  I am trying to find out if there is any way around this; I imagine you won't mind as I guess you will do all of those things from Linux natively once PPP is up; if there is no way around it I will need to modify our tests to match for LENA-R8.
Running/configuring pppd can be quite complex. especially as most things connected with it seem to be considered a security risk.  In our test system we have the pppd executable setuid (so that non-root users can run it and it will assume root privileges when it needs to) and we configure it with noauth (since no cellular module is going to ever be able to authenticate itself to pppd).  You will need to decide on your approach to such matters.

Please give it a try and let me know if it works for you.  If you confirm that it works I will merge the support for PPP with Linux and, once I've sorted out what it is doing, the support for PPP with LENA-R8, into master here and will delete the preview branch some time after that.

FYI, branch update to handle the case where pppd disappears without ubxlib knowing about it; probably wouldn't be an issue for your testing.

We've now had time to test this pretty thoroughly ourselves and so it is pushed here, see commits ac08677d4570aa46632317c28a4b114ad645f47d and f62f008347dee8ee5fb3863dd1a7b850c39d7086; if you just take head revision and you should be fine.
If that works for you please close this issue, otherwise let us know how we can help.

to be honest not yey, I moved to another task, and I have to check and test everything related to LTE the next week. Of course, I will check everything.
I would like to thank you for your great support and help. Thank you very much.

NP: I shall delete the preview branch, please just work from a refresh of master and let us know if you have problems with it.

Great news, okay of course thank you very much

Hello,
I would like to thank you, I build it and I understand how I should choose the LEAN and the connection port and I have all the library as .o
I need some support, how can in the end build the final application and connect all of this library, moreover, I want to make the library work on an ARM processor.
how can I generate the elf file? this is my question
now I have compiled everything I have all the library.o, and for example, I want to test my board using this main_ppp_linux.c
however how can I generate the elf file and apply the cross-compiling?
Thank you in advance.
this is my modification
static const uDeviceCfg_t gDeviceCfg = {
.deviceType = U_DEVICE_TYPE_CELL,
.deviceCfg = {
.cfgCell = {
.moduleType = U_CELL_MODULE_TYPE_LENA_R8,
.pSimPinCode = NULL, /* SIM pin */
.pinEnablePower = U_CFG_APP_PIN_CELL_ENABLE_POWER,
.pinPwrOn = U_CFG_APP_PIN_CELL_PWR_ON,
.pinVInt = U_CFG_APP_PIN_CELL_VINT,
.pinDtrPowerSaving = U_CFG_APP_PIN_CELL_DTR
},
},
.transportType = U_DEVICE_TRANSPORT_TYPE_UART,
.transportCfg = {
.cfgUart = {
.uart = 5, // UART port number
.pPrefix = "/dev/ttyUSB" // Prefix for the device file
.baudRate = U_CELL_UART_BAUD_RATE,
.pinTxd = U_CFG_APP_PIN_CELL_TXD,
.pinRxd = U_CFG_APP_PIN_CELL_RXD,
.pinCts = U_CFG_APP_PIN_CELL_CTS,
.pinRts = U_CFG_APP_PIN_CELL_RTS,
#ifdef U_CFG_APP_UART_PREFIX
.pPrefix = U_PORT_STRINGIFY_QUOTED(U_CFG_APP_UART_PREFIX) // Relevant for Linux only
#else
.pPrefix = NULL
#endif
},
},
};

I build it...

That's good news, well done!

how can in the end build the final application and connect all of this library

That kind of depends what you want your application to do.  The example shows how to bring up a network connection and the section in the README.md of the Linux platform folder shows how to set up pppd so that the connection is visible to the Linux kernel.  After that you should just be able to use connectivity from within Linux in the usual way, or make ubxlib API calls from the application that you have linked the ubxlib library into.

moreover, I want to make the library work on an ARM processor.

When you say "ARM processor", since you are talking of an .elf file, I guess you mean an MCU (like nRF52/nRF53, STM32, ESP32, that kind of thing).  The answer will depend entirely on what the MCU is and what the SDK is.  The MCU manufacturer will usually provide/support one or more SDKs and ubxlib supports some of those SDKs: for nRF52/nRF53 we support nRFConnect/Zephyr, for STM32F4 we support STM32Cube, for other STM32 flavours we support native Zephyr and for ESP32 we support ESP-IDF.  You would choose one of these SDKs and then follow the instructions in the relevant ubxlib /port/platform/xxx folder to perform the build.

Great, I want to run the application ARM cortex A7 with Linux os.
So I need to add these two lines for the cmakelist.txt to compile my application and link it with ubloxlib
Is it right?

Taking a step back for a moment, just to align on terminology in case of misunderstandings.
Above you mention ".elf file and apply the cross-compiling"; cross-compiling means using a toolchain on machine (a) to build an executable file that will NOT run on machine (a) but will instead run on machine (b).  The executable file created would usually be an .elf file, or possibly a .hex file or even a .bin file, machine (a) would usually be a Windows or Linux or Mac desktop machine and you would usually use some form of download/flash tool to move the .elf file to machine (b), where it would run.  The reason for doing this is usually because machine (b) is an embedded MCU or some such, it is not a development environment, not a place where you would write code, and is not powerful enough to run a compiler, so you need a "special" toolchain (e.g. GCC ARM) running on a desktop machine to produce code for an entirely different processor to that where the compiler is running.  This toolchain is different to the GCC you might already have on your Linux desktop, which only makes code that will run on that Linux desktop (compiling, as opposed to cross-compiling).
Above you also say "I want to run the application on ARM cortex A7 with Linux OS": given that you mentioned cross-compiling and a .elf file, I guess that this target machine is some form of embedded Linux and it has to be machine (b) because it is not sufficiently powerful to run a compiler itself, you need machine (a) to run the compiler.
So you will need something like GCC-ARM, or whatever the suppliers of the "ARM cortex A7 with Linux OS" machine suggest, installed on machine (a) and, after that you would create a build environment that calls GCC-ARM (rather than the native GCC compiler for machine (a)) on the .c files of your application, plus the ubxlib files.  If you are using CMake then yes, it would be pretty much as indicated, just make sure that the correct toolchain for the target machine is being called by the CMake files.

Thank you very much,
I have built the example and a cmake I will share with you, but I still have a problem, with a cross-compiling problem Could you help me?
I will be thankful
just I want to build
This is the project containing "CMakeLists", issam_LTE.c issam_LTE.h
project.zip

OK: what is the problem?

I think I discovered the problem there are problems with OpenSSL and libgpiod
I am trying to add it to gcc-arm to generate the file based on gcc-arm.
I will come back to you to tell you.
A huge thanks for your helping

I am embarrassed too much could you give me an example of how can I build the issam_LTE.c using gcc-arm I tried too much, but I still have a lot of problems.
You mentioned this was tested by Raspberry how can I generate a file and test it on raspberry, should I build the system on raspberry pi.
Moreover if just can you just help me on this point would be great, how can I build the issam-lte,c using gcc-arm, as you mentioned I am working with embedded Linux, especially stm32mp1

Cross-compiling is a complex thing to do: for an embedded MCU, where everything is usually compiled from .c files in one go, i.e. there are no pre-compiled libraries, one can just get a flavour of GCC for the target MCU (e.g. GCC-ARM) and away you go, but if the target is a Linux machine and you need to include in your application third party libraries like OpenSSL and libgpiod then you will, of course, need to obtain and point your build at versions of those third party libraries that have been compiled for the target architecture, the thing you are cross-compiling to; this makes the process even more complex.
If the target is a kind of Raspberry Pi that runs Linux then, 10 years ago, I might have suggested that compiling for the Pi on a Windows or Linux desktop was necessary, since the Pi's back then were not so powerful, but these days a Raspberry Pi 3, 4 or 5 should be perfectly fine for compiling the relatively small application you have in mind, so I would go for compiling everything natively on the Raspberry Pi, no cross-compiling required.
Then you can just fetch the OpenSSL and GPIO libraries on that Raspberry Pi (I think the Pi already has these installed but if not libssl-dev and libgpiod-dev are probably what you want) and everything should work.

Dear, thank you for all your support and great results, the software is working very well.
I built the example and ran it and I was able to connect, everything was fantastic. however, I think this will be the last question. during the run of the example I stacked at this point, you can guide me, or give me any hints. I will be thankful.
After creating a ppp connection and connecting with APN, the software started to enter into a loop and repeat the last 5 commands more and more. Do you know what is it the problem?

root@stm32mp1-hexabitzv2-mx:~/LTE_1/ubxlib/port/platform/linux/mcu/posix/runner/issam/build# ./issam_LTE
U_CELL: initialising with enable power pin not connected, PWR_ON pin not connected and VInt pin not connected.
AT
OK
AT
OK
U_CELL_PWR: powering on, module is already on.
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
02.00,A01.22
OK
AT&C1
OK
AT&D0
OK
AT&K0
OK
AT+UPSV=0
OK
AT+UGPRF?
+UGPRF:2,0,""
OK
AT+CFUN=4
OK
+CREG: 0,"0000","0000",0
U_PORT_PPP: listening for pppd on socket <IP_ADDRESS>:5000.
Opened device with return code 0.
Br[  812.650387] TCP: request_sock_TCP: Possible SYN flooding on port 5000. Sending cookies.  Check SNMP counters.
inging up the network...
U_CELL_NET: preparing to register/connect...
AT+CREG=2
OK
AT+CGREG=2
OK
U_PORT_PPP: pppd has connected to socket.
AT+CEREG=4
OK
AT+CIMI
234502106062261
OK
AT+CIMI
234502106062261
OK
U_CELL_NET: APN from database is "jtm2m".
AT+CGDCONT=1,"IP","jtm2m"
OK
AT+UAUTHREQ=1,0,"",""
OK
AT+CGDCONT=2,"IP","jtm2m"
OK
U_CELL_NET: setting automatic network selection mode...
AT+COPS?
+COPS: 0
OK
AT+CFUN=1
OK
AT+CREG?
+CREG: 0,"0000","0000",0
OK
-1: NReg
AT+CGREG?
+CGREG: 2,0,"0000","0000"
OK
-1: NReg
AT+CEREG?
+CEREG: 4,0,"0000","00000000", 0,0,0,"00000000","00000000"
OK
-1: NReg
AT+CREG?
+CREG: 0,"0000","0000",0
OK
-1: NReg
AT+CGREG?
+CGREG: 2,0,"0000","0000"

This is normal: the cellular module is trying to connect to the cellular network, which may take some time (at last seconds and, on the first attempt in a location where the cellular module has not connected before, potentially minutes).

Great! After 242 seconds, I have this message
Would you like me to do something special?
Thank you very much,
OK
-1: Deny
AT+CREG?
+CREG: 0,"1903","5f66",0
OK
-1: NReg
U_CELL_NET: unable to register with the network, is APN "jtm2m" correct and is an antenna connected?
AT+CEER
+CEER:No Error Call
OK
AT+CFUN=4
OK
+CREG: 0,"0000","0000",0
U_CELL_NET: connection attempt stopped after 242 second(s).
Unable to bring up the network!
Closing device...
-1: NReg
Segmentation fault (core dumped)

Can you post a bit more of the log, maybe include the whole log as an attachment?  Deny means that some form of cellular service has been denied by the network but the exact form of that service is not clear as the Deny will be an interpretation of a URC (i.e. an unsolicited output from the module that conventionally begins with a +) which happened before the bit you have pasted in above.  It could be that circuit-switched service has been denied but packet switched service is possible (in which case there's a bug in our code) or it could be that both circuit and packet switched service has been denied, in which case your SIM card has not been accepted on any visible cellular network.
Segmentation fault (core dumped) is, of course, unexpected, irrespective of whether you have achieved a connection or not; do you get any back-trace at that point?

Okay, I will attach the log file. if can you take a look and tell me, what do you think the problem? I will be thankful for your help. You can find the file as an attachment.
Thank you in advance
+CREG: 0,"0000","0000",0
U_PORT_PPP: listening for pppd on socket <IP_ADDRESS>:5000.
Opened device with return code 0.
Bringing up the network...
U_CELL_NET: preparing to register/connect...
U_PORT_PPP: pppd has connected to socket.
AT+CREG=2
OK
AT+CGREG=2
OK
AT+CEREG=4
OK
AT+CIMI
234502106062261
OK
AT+CIMI
234502106062261
OK
U_CELL_NET: APN from database is "jtm2m".
AT+CGDCONT=1,"IP","jtm2m"
OK
AT+UAUTHREQ=1,0,"",""
OK
AT+CGDCONT=2,"IP","jtm2m"
OK
U_CELL_NET: setting automatic network selection mode...
AT+COPS?
log_LTE.txt

Thanks: relatively quickly (about 1/3rd of the way into your log) the network is returning "denied" for both circuit-switched and packet-switched service:
+CREG: 3,"1903","5f66",0 [begins occurring at line 1324 out of 4186]
+CEREG: 4,3,"1903","5f660000", 0,0,20,"00000000","00000000" [begins occurring at line 1352 out of 4186]

So either (a) your SIM card is not valid or (b) you are not using the correct APN for your SIM card.
What SIM card are you using and were you given an APN to use with that SIM card?

I used a mobile thing company
I have to change the APN.

https://www.thingsmobile.com/private/thingsmobile

Ah, yes, set the APN to "TM" and try again.

Yeah I recognize the problem I will search how to modify the APN in the code
Thank you very much, sorry I am not too much expert on these things.
Thank you I will modify it

https://github.com/u-blox/ubxlib/blob/2dd46e25078b7c1b519674acc46330982cd0b8da/example/sockets/main_ppp_linux.c#L129

still have the same problem, I need to configure some thing before use the SIM like the PIN, or something like this.
OK
-1: Deny
U_CELL_NET: unable to register with the network, is APN "TM" correct and is an antenna connected?
AT+CEER
+CEER:No Error Call
OK
AT+CFUN=4
OK
+CREG: 0,"0000","0000",0
U_CELL_NET: connection attempt stopped after 243 second(s).
Unable to bring up the network!
Closing device...
-1: NReg
Segmentation fault (core dumped)

Does the chip need an external antenna?

It is a customized board designed by our company. I will share with you the picture.

Looks like you need to plug 2.4 GHz cellular antennas into BOTH of these sockets:

okay, there are any specific requirements for the antenna like gain,
2.4GHz
I will order two if there are any specific kind you recommend it to me I will be happy to hear from you

Okay great don't worry I will buy a good one. I will check then I will come back with news.
A huge thank you

Correction: that's a LENA-R8 device with an M10 GNSS module inside it, so one of those U.FL connectors will probably be for GNSS, which will need a high quality GNSS active antenna, the other will be for LTE.  You will need to find out which is which!

Yeah, So we have to choose a good antenna. I checked the FCC ID. I have seen some expirments for the LTE I am in France and I choose Band 7. Antenna Gain = 9 dBi.
Is it a good choice?
https://fcc.report/FCC-ID/XPYUBX22EL01/

France has these bands for 4G LTE: (MHz)
B1 (2100), B3 (1800), B7 (2600), B20 (800), B28a (700), B28b (700)
Depending on what actual network you will roam on to, as you are using a roaming SIM, that network will be on Band 7, Band 20, Band 3, Band 1 etc...
You'd have to look at the network operators and what bands they are on. In my experience for europe, bands 3 and 20 are common. You'll have to see what networks are on band 7 2600MHz.
Of course the LENA-R8M10 module supports these bands 1,2,3,4,5,7,8,12,20,28,66
But it depends on the actual network operator bands in the location you are deploying into.

I have checked many operators in my area which use band 3 and 7.  So I think band 3 will be good. I have to buy a good antenna that works on this band. Is it right?

I would imagine you can find an antenna which covers LTE on all Bands.
Here is one from Taoglas: https://www.taoglas.com/product/fxub63-ultra-wide-band-flex-antenna/

Great, I am checking it, it looks suitable.
Thank you very much.

Hello,
I'm back with an update on the antenna. I've used the antenna, and now it seems like I can communicate with the network. However, I'm still facing some problems. It tells me the APN is not correct, even though I used the one provided by the SIM provider, which is called "TM."
I attached the logfile contain the output on the termianl.
Please could you help me.
Thank you in advance.
log_LTE.txt

This is the C file, is the same example that you provide us in repo
issam_LTE.c.txt

That is good progress.

It tells me the APN is not correct,

Not quite: that is a debug print from the ubxlib code saying that you have not been able to activate a PDP context with the network and suggesting things you might check, like the APN.  Looking at the log, there appears to be a limitation, I guess in your subscription, look toward the bottom of this segment, where it says +CME ERROR: operation not allowed:
AT+CFUN=1
OK
AT+CREG?
+CREG: 0,"0000","0000",0
OK
AT+CGREG?
+CGREG: 2,0,"0000","0000"
OK
AT+CEREG?
+CEREG: 4,0,"0000","00000000", 0,0,0,"00000000","00000000"
OK
+CREG: 5,"35c5","00dcf406",7
+CEREG: 5,"35c5","00dcf406",7
+CREG: 5,"35C5","00DC"
+CGREG: 4,"35C5","00DC"
AT+COPS=3,0
OK
AT+COPS?
+COPS: 0,0,"Orange F",7
OK
AT+CGATT?
+CGATT:1
OK
AT+CGACT?
+CGACT: 0,0
OK
AT+CGACT=1,1
OK
AT+CGACT?
+CGACT: 1,1
OK
AT+CGACT?
+CGACT: 1,1
OK
AT+CGACT=1,2
+CME ERROR: operation not allowed
U_CELL_NET: unable to activate a PDP context, is APN "TM" correct?

LENA-R8 has a limitation that it will not let you use the same PDP context for the internal module clients (MQTT, HTTP, sockets) and for PPP, hence we activate a second PDP context for PPP.    It seems that your "TM" SIM card, or possibly the "Orange F" network, only allows a single PDP context (you can see that AT+CGACT=1,1 succeeded), activation of a second PDP context is not allowed.  The same procedure works fine here on Vodafone UK, see below:
 23:39:35,009 AT+COPS?
 23:39:35,143 +COPS: 0,0,"vodafone UK",7
 23:39:35,173 OK
 23:39:35,185 AT+CGATT?
 23:39:35,222 +CGATT:1
 23:39:35,253 OK
 23:39:35,264 AT+CGACT?
 23:39:35,294 +CGACT: 0,1
 23:39:35,325 OK
 23:39:35,336 AT+CGACT=1,1
 23:39:35,382 OK
 23:39:35,393 AT+CGACT?
 23:39:35,452 +CGACT: 1,1
 23:39:35,483 OK
 23:39:35,494 AT+CGACT?
 23:39:35,524 +CGACT: 1,1
 23:39:35,555 OK
 23:39:35,566 AT+CGACT=1,2
 23:39:35,782 OK
 23:39:35,794 AT+CGACT?
 23:39:35,853 +CGACT: 1,1
 23:39:35,864 +CGACT: 2,1
 23:39:35,894 OK
 23:39:38,870 U_CELL_NET: connected after 6 second(s).
 23:39:38,884 AT+CGACT?
 23:39:38,952 +CGACT: 1,1
 23:39:38,964 +CGACT: 2,1
 23:39:38,993 OK
 23:39:39,004 AT+CGPADDR=1
 23:39:39,035 +CGPADDR: 1,"<IP_ADDRESS>"
 23:39:39,065 OK

Note quite sure what to suggest; if you are definitely never going to use the on-board module clients, you will just use PPP, there may be a way to hack the code to force PPP to use the first context, but it will be a bit of a hack I'm afraid.

So, the problem could be with the SIM itself. Could I try using my mobile SIM to test it, or should it be an IoT SIM? My network is "free Mobile" in France.

Difficult to say really: doesn't need to be anything particularly special, SIM-wise, aside from supporting activation of two PDP contexts.  Probably worth a try with your mobile phone SIM I guess.

If that doesn't work, you can try defining the conditional compilation flag U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 when compiling the ubxlib code.  As I say the on-board module clients for MQTT, HTTP and sockets won't work with that set but it should allow you to use PPP with a single PDP context.

Yeah, you're right about the mobile phone being the worst. Okay, I'll do it. Do you think using a different module, like the SARA R5 for example if there are no solutions on LEAN, would result in the same issue?
Because MQTT, and HTTP are vital for our application

It is only LENA-R8 that has this limitation.  But remember that the problem is only with the clients inside the cellular module, i.e. those you would use through the ubxlib APIs.  If you are planning to use PPP then you will, I assume, be using MQTT and HTTP clients that you will have installed on Linux, not the ones on the cellular module, I would guess...?

That is what you said at the start "...and communicates using the Point-to-Point Protocol (PPP)"...?

Great! yeah just to be sure.
Because my mission is to make everything work then the application team should build the application. yeah, I got it.
Anyway even after this modification, I still have the same error.
The same problem.

Anyway even after this modification, I still have the same error.

Could you post the AT log output please?

Yeah! sure this is the output.
log_LTE.txt

The log is the same:
AT+CGACT=1,2
+CME ERROR: operation not allowed
U_CELL_NET: unable to activate a PDP context, is APN "TM" correct?

You need to double-check that you defined U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 for the build of the ubxlib code.

yeah I define them like this
export U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1
export U_FLAGS="-DU_CFG_PPP_ENABLE"
then I applied cmake then make.
I will check again

export U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 is defining the environment variable U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8 rather than defining a build flag U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8.  You  probably meant to do something like:
export U_FLAGS="-DU_CFG_PPP_ENABLE -DU_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1"

Huge Thank you. it works finally, however, I can't find https://ubxlib.com/ for this reason I changed it to google. Currently, I am rebuilding the code.
I will come back with the update

Excellent!

can't find https://ubxlib.com/

Do you mean you are unable to resolve the IP address for ubxlib.com or that you are unable to connect to an HTTP server on ubxlib.com? If the latter, you need to use the correct port number for the HTTP echo server that is running on ubxlib.com.

yeah, I can't resolve the IP address. I will fix it thanks. I will come back.
Thanks

If you mean that ubxlib is unable to resolve the IP address for ubxlib.com, that will be because of LENA-R8: DNS look-up is a local client on the LENA-R8 module and it will not work if LENA-R8 has PPP using the PDP context I'm afraid.

Still have some problems with the DNS! With Google, I was able to resolve the IP address however the program was stuck after this.
This is the log file for the ublox.com :8080
log_LTE.txt

Not sure I understand: I don't see any attempt to resolve ubxlib.com, or google.com in that AT log.  Are you talking about Linux being able to resolve the DNS address, or ubxlib?

OK
U_CELL_NET: unable to read DNS addresses.
AT+CMUX=0,0,,128
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
U_CELL_PPP: sent ATD991#[0d]
U_CELL_PPP: received ATD99**1#[0d][0d][0a]CONNECT[0d][0a]
U_PORT_PPP: socket connected to module.
Unable to find ubxlib.com (errno 11)!
Taking down network...

I will try with google now and send to you the log.

I'm not going to be able to determine why DNS address look-ups fail I'm afraid, that's a Linux thing.

Well I can see that it found a Google server but of course, unless that Google server happens to be running a TCP echo server on whatever port you are connecting to then the example isn't going to do very much more.
ubxlib.com is a DNS address hosted on AWS so there should be no problem finding it.

the model print this after the last line in the file
No reply received!
Closing socket...
Taking down network...
U_CELL_PPP: sent ~[ff]}#[c0]!}%}"} }0User requestS3~
U_CELL_PPP: received ~[ff]}#[c0]!}%}"} }0User requestS3~
U_CELL_PPP: *** WARNING *** PPP did not terminate, it may not connect next time, you may wish to reboot the module.
U_PORT_PPP: socket disconnected from module (but pppd still connected to socket).
AT+COPS?
+COPS: 0,0,"Orange F",7
OK
AT+CFUN=4
OK
+CREG: 0,"0000","0000",0
+CEREG: 0,"0000","00000000", 0,,,"00000000","00000000"
+CREG: 0,"0000","0000"
+CGREG: 0,"0000","0000"
-1: NReg
-1: NReg
-1: NReg
-1: NReg
U_CELL_NET: disconnected.
AT+CEER
+CEER:No Error Call
OK
Closing device...
Deinitializing ubxlib...
U_PORT_PPP: pppd has been disconnected from socket.
U_PORT_PPP: no longer listening for pppd on socket.
Done.

the model print this after the last line in the file

Not sure I understand?

I will try again with ubxlib.com
I mean yeah as you told me because there are no server to make an echo so it doesn't receive any reply the problem with ubxlib.com I will check again.

unfortently, Unable to find ubxlib.com (errno 11)!
the same problem for ubxlib.com. I don't know what is the problem. If you have an idea please share it with me.
Huge thanks in advance
+CGCONTRDP: 1,6,"TM.mnc050.mcc234.gprs","<IP_ADDRESS>.<IP_ADDRESS>"
OK
U_CELL_NET: unable to read DNS addresses.
AT+CMUX=0,0,,128
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
U_CELL_PPP: sent ATD991#[0d]
U_CELL_PPP: received ATD99**1#[0d][0d][0a]CONNECT[0d][0a]
U_PORT_PPP: socket connected to module.
Unable to find ubxlib.com (errno 11)!
Taking down network...
U_CELL_PPP: sent ~[ff]}#[c0]!}%}"} }0User requestS3~
U_CELL_PPP: received ~[ff]}#[c0]!}%}"} }0User requestS3~
U_CELL_PPP: *** WARNING *** PPP did not terminate, it may not connect next time, you may wish to reboot the module.
U_PORT_PPP: socket disconnected from module (but pppd still connected to socket).
AT+COPS?
+COPS: 0,0,"Orange F",7
OK
AT+CFUN=4
OK
+CREG: 0,"0000","0000",0
+CEREG: 0,"0000","00000000", 0,,,"00000000","00000000"
+CREG: 0,"0000","0000"
+CGREG: 0,"0000","0000"
-1: NReg
-1: NReg
-1: NReg
-1: NReg
U_CELL_NET: disconnected.
AT+CEER
+CEER:No Error Call
OK
Closing device...
Deinitializing ubxlib...
U_PORT_PPP: pppd has been disconnected from socket.
U_PORT_PPP: no longer listening for pppd on socket.
Done.

It is definitely there because I can resolve it on the internet from the laptop in front of me:
Pinging ubxlib.com [<IP_ADDRESS>]...
You could try using the IP address instead if DNS is failing you.

Hello, I think the problem is from the server, ubxlib.com when I tried to implement ping ubxlib.com. I didn't receive anything from the server.
With Google, I can resolve the domain. and I think the problem is the server itself ubxlib.com
Anyway, I still have a strange message.
U_CELL_NET: unable to read DNS addresses.
AT+CMUX=0,0,,128

Hello, I think the problem is from the server, ubxlib.com when I tried to implement ping ubxlib.com. I didn't receive anything from the server.

Can you explain what you mean?  I can use ping from my laptop here and ping resolves the IP address of ubxlib.com successfully.  The server will NOT respond to ping, it is not meant to, but it will accept TCP connections on port 5055, which is what the example does: I know 'cos it is doing it now!
You will get the message U_CELL_NET: unable to read DNS addresses. because LENA-R8 does not support reading the DNS addresses it has been assigned.

Eh?  Which port are you making your TCP connection to ubxlib.com?  Port 5055 on ubxlib.com is a TCP echo server, it cannot possibly return an HTTP response!

5055 it doesn't work at all. I tried to connect with http 8080 :(
however, Do you think the problem was from the server, or I had a problem with my code?

I will try again, hold on. I don't know maybe I made a mistake

this the output with 5055
U_CELL_PPP: sent ATD991#[0d]
U_CELL_PPP: received ATD99**1#[0d][0d][0a]CONNECT[0d][0a]
U_PORT_PPP: socket connected to module.
Found <IP_ADDRESS> at <IP_ADDRESS>.
Unable to connect to server (errno 101)!
Closing socket...
Taking down network...
+CREG: 5,"35c5","00dcf205",7
7: RegR

Well, I can't explain that.  Here I can open PuTTY, ask to open a raw socket to ubxlib.com (or <IP_ADDRESS>) on port 5055 and, when I type in the PuTTY terminal, what I type is echoed back to me (on a line-buffer basis).  So the server is accepting connections on port 5055, just for some reason your Linux box doesn't want to make one.

Anyway, getting something back from port 8080 of ubxlib.com, which is of course the port for the HTTP echo server running on the same machine, is good enough proof that connectivity is working as expected.

Yeah! I agree, it is good enough to say everything is working well!
Thank you very much!
For your support, I appreciate a lot your help.
A huge thank you.

Thanks!  Good to get you working this far.

Hello,
I am here again,
I am sorry. I need to build an example based on http work.
I tried the http client example, and it works, but it can't create a http connection.
I will attache the log, and the issam_LTE.c
If you can help me.
log.txt
issam_LTE.txt

This is never going to work I'm afraid; remember what I said above.

LENA-R8 has a limitation that it will not let you use the same PDP context for the internal module clients (MQTT, HTTP, sockets) and for PPP...

...you can try defining the conditional compilation flag U_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 when compiling the ubxlib code. As I say the on-board module clients for MQTT, HTTP and sockets won't work with that set but it should allow you to use PPP with a single PDP context...

...remember that the problem is only with the clients inside the cellular module, i.e. those you would use through the ubxlib APIs. If you are planning to use PPP then you will, I assume, be using MQTT and HTTP clients that you will have installed on Linux, not the ones on the cellular module...

[also described here] So if you want to use PPP with LENA-R8, with the SIM card/cellular network you have you, you CANNOT use the uSock, uHttp or uMqtt APIs, And in any case, as noted here the uHttp API would not work on LENA-R8, even if you did have a SIM card/cellular network that supported two PDP contexts.
You need to use HTTP from Linux, not from ubxlib.

so, I am a little bit confused,
Could you give me a small example how will I configure the hardware, and then send the message using http for example.
Just a small example, I think I need to use ublox.h to configure the LENA_R8.

I solved it works. Thanks, I will share with you just to check if there are any problem
OK
U_CELL_PPP: sent ATD991#[0d]
U_CELL_PPP: received ATD99**1#[0d][0d][0a]CONNECT[0d][0a]
U_PORT_PPP: socket connected to module.
getaddrinfo is done...
Create socket is done..
Connect is done..
prepare the request is done..
Write  the request is done..
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Last-Modified: Fri, 05 Apr 2024 15:40:56 GMT
Date: Sat, 06 Apr 2024 22:53:21 GMT
Content-Length: 13
Connection: close

Read  the response is done..
Taking down network...
U_CELL_PPP: sent ~[ff]}#[c0]!}%}"} }0User requestS3~
U_CELL_PPP: received ~[ff]}#[c0]!}%}"} }0User requestS3~
U_CELL_PPP: *** WARNING *** PPP did not terminate, it may not connect next time, you may wish to reboot the module.
U_PORT_PPP: socket disconnected from module (but pppd still connected to socket).
AT+COPS?
+COPS: 0,0,"Orange F",7
OK
AT+CFUN=4
OK
+CREG: 0,"0000","0000",0
+CEREG: 0,"0000","00000000", 0,,,"00000000","00000000"
+CREG: 0,"0000","0000"
+CGREG: 0,"0000","0000"
-1: NReg
-1: NReg
-1: NReg
-1: NReg
U_CELL_NET: disconnected.
AT+CEER
+CEER:No Error Call
OK
U_PORT_PPP: pppd has been disconnected from socket.
U_PORT_PPP: no longer listening for pppd on socket.
Done.

Excellent: I can't tell from the log but I guess that around the prints "Connect is done..", "prepare the request is done..", "Write the request is done.." and "Read the response is done.." you are performing your HTTP client operations in Linux, which is the right place to do them for the way you have chosen to use LENA-R8 (i.e. via PPP).

Great! I am happy thank you. A huge thank you.
Now, I can go forward to see the GNSS I hope will be easy. :)

Ref. GNSS and LENA-R8, note the first bullet point here.

To be specific, for whatever reason, we did not include support for access to the built-in GNSS chip in LENA-R8 over CMUX, the protocol which allows us to run AT commands (and PPP) at the same time as using the UBX protocol to talk to the GNSS chip, all over the same UART.
Because of this, if you want to talk to the built-in GNSS chip over the same UART as you are using to send AT commands and do PPP, you will need to force the ubxlib code to use the older AT+UGUBX message interface (where UBX messages are sent as an AT command), which you can do by defining U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY for your build.  HOWEVER, the AT+UGUBX will only get you "polled" position, i.e. the ubxlib code can ask for position, sending an AT+UGUBX command, and get the answer back, you CANNOT get "streamed" position, i.e. tell the built-in GNSS chip to send position at a given rate (e.g. once per second) and simply receive the answer; AT commands don't work that way, the are always "ask and get response", so you cannot use any of the position APIs that have continuous in the name.
If you want to obtain streamed position, you must do as it says in the link above: physically connect either the secondary UART or the USB port of the cellular module to a second input on your MCU and receive GNSS position that way.

Okay, thank you very much. I think we will communicate with it using a different port, specifically a UART. I'll study it, build the example, and then get back to you. Moreover, could you suggest another model from UBLOX that supports LTE-CAT1 and GNSS and is compatible with all the capabilities in the repo?

could you suggest another model from UBLOX that supports LTE-CAT1 and GNSS and is compatible with all the capabilities in the repo

LARA-R6 is LTE Cat 1 but we don't release a variant with GNSS inside I'm afraid, so you're stuck with LENA-R8, that or LARA-R6 and a separate GNSS chip.  There shouldn't be an issue with using the built-in GNSS device via the secondary UART or USB, it just needs a bit more work in SW terms, being an unusual arrangement, and, since you are using PPP so as to get a cellular-based IP transport into the Linux kernel, not being able to use the HTTP client on-board the cellular module shouldn't be a particular issue.

Hello, Good evening,
I hope you are doing well!
I have a small question, when I tried to connect with the GNSS through the UART peripheral directly, I couldn't see ttyUSBX, or anything that allowed me to communicate with the UART.
Do you have any advice?
This is the code that I am working on. Should I see the device under /dev/?
issam_GNSS.txt

Hi, good evening.  You will first need to call uDeviceOpen() on the cellular module, since the GNSS module is inside the cellular module it won't be powered up or available or anything unless you do that.
Once the cellular module is open you will need to call  uCellCfgSetGnssProfile() to tell the cellular module where you would like the GNSS information to be routed; please consult the AT+UGPRF AT command in the LENA-R8 AT manual to find the bit-map you need for the auxiliary UART (I think it is probably 1).
With that done and the secondary UART connected to your MCU you should hopefully be able to call uDeviceOpen() on it as a GNSS device, as you have done in the code you have attached.

Okay, great I will follow these instructions. Thank you very much.
Can I use LTE and GNSS at the same time? Will not be a problem!

Can I use LTE and GNSS at the same time?

I can't see a reason why that would be a problem.

Just was a curious question just to be sure.
Thank you, I am working to modify my code. A huge thanks

Not that it won't be a problem of course, I just can't see one ;-).  LENA-R8 is full of surprises :-).

I have followed the instructions, however, I can't open the device—the error is -8.
Opened device with return code -8.

Obviously you will need to debug this to find out what would cause U_ERROR_COMMON_PLATFORM.

I moved to implement this example it works, but it looks like uses the same port for LTE, in I brought up the LTE, and then I tried to move to GNSS, Everything was good however, there is an error
+CME ERROR: Operation not supported
AT+UGPS=1,15,127
+CME ERROR: Operation not supported
AT+UGPS=1,15,127
.
I don't know if it is the right way to start, could you recommend an example to start developing it to make LENA work?
log_GNSS.txt
gnss_code.txt

I feel I am stuck, if you can help me I will be thankful

without UART, use the same port I received message is not support, if you can guide me how can I make it run using UART I mean another port, I will be thankful

You can take that approach if you wish, but remember that it will not support "streamed" position from the GNSS device (i.e. none of the ubxlib location/GNSS APIs with Streamed in the name will work): calling uNetworkInterfaceUp() on the cellular device will indeed use the same transport as uDeviceOpen() created, either starting up CMUX to do so or, where CMUX is not supported [the LENA-R8 case], it will drop back to using AT+UGUBX commands, which are not able to support streamed position from the GNSS device (as AT commands only do "polled" kind of behaviours).
The reason you are getting "+CME ERROR: Operation not supported" is likely because of the GNSS system selection number used at the end of the AT+UGPS command: we set it to "all" and some GNSS-enabled-cellular modules then set all of the ones they support, ignoring ones they don't while other GNSS-enabled-cellular modules reject the number if it asks for GNSS system types that the GNSS chip inside the cellular module does not support.  You can try setting U_CELL_LOC_GNSS_SYSTEM_TYPES to, say 3, for now, and see if that works.

Now, it is working, without this error unsupporting, however, still have a problen.
Unable bring the GNSS
This my modification
// NETWORK configuration for GNSS
static const uNetworkCfgGnss_t gNetworkCfg = {
.type = U_NETWORK_TYPE_GNSS,
.moduleType = U_CELL_LOC_GNSS_SYSTEM_TYPES,
.devicePinPwr = -1, // The pins of the cellular module that are connected
.devicePinDataReady = -1 // to the GNSS chip's power and Data Ready lines
};
log_GNSS.txt

Ah, yes, I forget LENA-R8 does support CMUX, so the ubxlib code will try to use it, LENA-R8 just doesn't support access to the built-in GNSS chip over CMUX.  For this case you should do a clean build with U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY defined and that will force ubxlib to only use AT commands to talk to the GNSS chip built into the cellular module.

And if I want to have streaming,  what should I do where should I move?
Because this will work on trucks so, I think the streaming will be important. Maybe latter, I will think about streaming but now for this what do you think the problem.

If you want streamed GNSS position then, as indicated above, you will need to debug why you were getting U_ERROR_COMMON_PLATFORM when you tried to call uDeviceOpen() for the GNSS device on the auxiliary UART.

okay I will check latter, for the streaming.
Regarding this U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY , I didn't understand it.

Could you tell me what should I do for this "U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY"

I mean that you should do a clean build with the conditional compilation flag U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY defined for the build.

Ah okay, got it. I will do it.
Thank you very much

I have an error :)
cc: warning: U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY: linker input file unused because linking not done
cc: error: U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY: linker input file not found: No such file or directory
make[2]: *** [CMakeFiles/ubxlib.dir/build.make:76: CMakeFiles/ubxlib.dir/home/root/LTE/ubxlib/common/at_client/src/u_at_client.c.o] Error 1
make[2]: *** Deleting file 'CMakeFiles/ubxlib.dir/home/root/LTE/ubxlib/common/at_client/src/u_at_client.c.o'
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/ubxlib.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

"linker input file not found: No such file or directory" is not an error I have ever seen or heard of I'm afraid.  I would guess that you are not specifying the conditional compilation flag to your toolchain correctly...?

it is like this
export U_FLAGS="-DU_CFG_PPP_ENABLE -DU_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 -DU U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY"

-DU U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY doesn't look right to me...?

I think I fix it

it is the same
U_CELL: initialising with enable power pin not connected, PWR_ON pin not connected and VInt pin not connected.
AT
OK
AT
OK
U_CELL_PWR: powering on, module is already on.
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
02.00,A01.22
OK
AT&C1
OK
AT&D0
OK
AT&K0
OK
AT+UPSV=0
OK
AT+UGPRF?
+UGPRF:2,0,""
OK
AT+CFUN=4
OK
U_PORT_PPP: listening for pppd on socket <IP_ADDRESS>:5000.
Opened cellular device with return code 0.
Bringing up GNSS...
U_PORT_PPP: pppd has connected to socket.
AT+CMUX=0,0,,128
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
Unable to bring up GNSS!
U_PORT_PPP: pppd has been disconnected from socket.
U_PORT_PPP: no longer listening for pppd on socket.
Done.

Are you sure that was a clean build?

Yeah I removed the directory and mkdir new one, then I export then cmake, the make.
I will try again

You can see the code here:
https://github.com/u-blox/ubxlib/blob/a2d986e2944141176eedaee6dc4be87be7eea57b/common/network/src/u_network_private_gnss.c#L214-L262
If U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY is defined execution should never get to line 216.  You can try putting a debug print there to see what is happening.

I made like to told me
U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY is not define
so it doesn't define the Flag this how I export
Are there any problem
export U_FLAGS="-DU_CFG_PPP_ENABLE -DU_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 -U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY"

export U_FLAGS="-DU_CFG_PPP_ENABLE -DU_CELL_PRIVATE_PPP_CONTEXT_ID_LENA_R8=-1 -U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY"

I think you are missing a D there.

Okay, it looks like is going on the right way, I still have a problem
'U_NETWORK_GNSS_CFG_CELL_USE_AT_ONLY is  define
U_CELL: initialising with enable power pin not connected, PWR_ON pin not connected and VInt pin not connected.
AT
OK
AT
OK
U_CELL_PWR: powering on, module is already on.
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
02.00,A01.22
OK
AT&C1
OK
AT&D0
OK
AT&K0
OK
AT+UPSV=0
OK
AT+UGPRF?
+UGPRF:2,0,""
OK
AT+CFUN=4
OK
U_PORT_PPP: listening for pppd on socket <IP_ADDRESS>:5000.
Opened cellular device with return code 0.
Bringing up GNSS...
Unable to bring up GNSS!
U_PORT_PPP: no longer listening for pppd on socket.
Done'

Okay Okay, I think it will be better to make a real debug, I will use gdb, and then I will let you know.

Hello,
I hope everything is fine
I had some Hw problem I have solved, currently I am able to receive NMEA message from the GNSS, the boudrate is 38400, however, I am trying to run one of your example, I am facing some problem, could you advice me which example and how can I use your framwork to receive and control with the GNSS, thank you very much

issam_LTE.txt
I am working on this, however I don't know what is the problem

Hi there: it is a bit difficult to know how to help without knowing what the problem is.  Looking at the code you have attached, the field .pPrefix seems to be being initialised multiple times, which I'm surprised compiles:
            .pPrefix = "/dev/ttySTM", // Prefix for the device file   <<< THIS SEEMS CORRECT
	    .baudRate = 38400, /* Use 0 to try all possible baud rates and find the correct one. */
            .pinTxd = U_CFG_APP_PIN_GNSS_TXD,  // Use -1 if on Zephyr or Linux or Windows
            .pinRxd = U_CFG_APP_PIN_GNSS_RXD,  // Use -1 if on Zephyr or Linux or Windows
            .pinCts = U_CFG_APP_PIN_GNSS_CTS,  // Use -1 if on Zephyr
            .pinRts = U_CFG_APP_PIN_GNSS_RTS,  // Use -1 if on Zephyr
            //  <<< .pPrefix seems to be being initalised again, to what seem to be incorrect values, below >>>
#ifdef U_CFG_APP_UART_PREFIX
            .pPrefix = U_PORT_STRINGIFY_QUOTED(U_CFG_APP_UART_PREFIX) // Relevant for Linux only
#else
            .pPrefix = NULL
#endif


Support fontStyle "strikethrough" about theme

Feature Request.
Request
Currently v1.36.1, supported fontStyles in theme customization are bold, italic and underline.
But I want to use strikethrough too. like this:
		{
			"name": "FinishedTaks",
			"scope": [
				"task.fiinshed"
			],
			"settings": {
				"foreground": "#ffff00",
				"fontStyle" : "strikethrough"
			}
		}

FYI
VSCode sources:

src/vs/editor/common/modes/supports/tokenization.ts#L63
src/vs/editor/common/modes.ts#L70

TextMate source:

Frameworks/theme/src/theme.cc#L76

TextMate supports strikethrough.

this would be perfect for semantic syntax highlighting in regards to deprecated methods


[fix] Loosen promise after hoc removal

@stackchain right, I might be misunderstanding how useEffect/promises work, but it doesn't look like this changes anything. wrapping a promise in another promise? did you notice a change in behavior?

React at build time knows that useEffect is sync and keeps throwing warnings, this PR is to remove react's warnings.


[Monitor][Ingestion] Regen using stable API spec

The package was regenerated using the newly created stable API spec for the ingestion API and a small update in autorest.

API change check
API changes are not detected in this pull request.

Pending deployment on service side to accept new API version.

/azp run python - monitor - tests


ffs: wallet balance

sum up the address balances

we could add a total balance in the ffs.Info result

You can currently sum the address balances that come from ffs.Info