* Make adddevice idempotent
* Fix Test & Logic
* Use Mapperly to avoid maintaining mapping code between options
* Adapt to comment
---------
Co-authored-by: Atif Aziz <code@raboof.com>
* test
* Polish
* Set data rate in OTAA AU915 program.
* Renamed AU915RP1 to AU915.
* Changed data rate in ABP AU915 Arduino program.
* used DR5 for OTAA program + minor reformatting.
* Add the missing files
Co-authored-by: Ophelie Le Mentec <17216799+ouphi@users.noreply.github.com>
* parse connection strings from command line arguments
* remove connection strings from appsettings.json
* use OptionsBase for shared connection string option
* use OptionsBase in ListOptions
* use OptionsBase in UpgradeFirmwareOptions
* use OptionsBase in remaning options
* fix namespace names
* change message type to Error
* add options to be used for firmware upgrades
* firmware upload and device twin update logic
* rename version param to package
* use paths for digest and crc instead of contents directly
* query device twin after uploading firmware
* remove unnecessary log lines
* update option descriptions
* update option description
* save checksum in the twin as unit
* Add china fixes
* fix cn again
* Commit CN
* Last fixes for china
* Fix Arduino code
* Fix tests
* React to comments
* Remove old comment
* Remove using
* Correct sample
* Treat Code Analysis/style warnings as errors
* IDE0007: Use var instead of explicit type
* CA1062: Validate parameters in public methods
* Use consistent this preferences
* CA1031: do not catch general exception types
* Suppress CA1303
* IDE0058: Expression value is never used
* CA1822: Mark members as static
* Fix remaining CA warnings (various categories)
* CA5394: Use cryptographically secure RNG
* Fix remaining IDE violations (various categories)
* Remove unused imports
* Inline method that is only used once
* Changing helper-functions for generating DER format CA and Client Certificates
* Uploading the file with the provisioning tool should just read bytes
* Provide certificate update mechanism
* Implement certificate revocation command
* Make RotateCertificateOptions immutable
* Revert obsolete code
* Update Tools/Cli-LoRa-Device-Provisioning/CommandLineOptions/RevokeOptions.cs
Co-authored-by: Daniele Antonio Maggio <damaggio@microsoft.com>
* Fix bug in region validation
* Fix no-cups path
* Log if thumbprint not found
Co-authored-by: Daniele Antonio Maggio <damaggio@microsoft.com>
* Initial version of CUPS configuration support in CLI
* Use mutually exclusive sets in AddOptions
* Improve validation logic
* Fix CRC32 calculation
* Update CLI description
* Move credential storage container name to private constant
* Make cleanup more robust
* Add aditional validation for TC and CUPS URI
* Initial version
* Adjusting usage
* Making script compatible with git bash
* Adding line endings
* Moving gitignore to top
* Adding license statement
* Adjusting usage
* Adding forgotten .gitattributes
* Pointing to 2.0.5 tag
* Use .NET 6 SDK
* Use .NET 6 runtime in LoRaEngine
* Update NuGet packages to latest (6.0.0)
* Update samples/tools to .NET 6
* Update CI/Image versions to .NET 6
* Update SDK version in CodeQL pipeline
* Replace wrong image name in DecoderSample
* Use C# 10
* Simplify Task.WhenAll statement
* Rename cts to cancellationToken
* Static readonly fields Pascal Case
* Revert unrelated change
* Use TargetFramework for tools/samples
* Revert some unnecessary changes to structured logging
* Fix CodeQL warnings
* Inline API comparison methods
* Use dotnet 6 step
* Use Function runtime v4 in quickstart
* Updating version and suppressing code analysis warnings
* Adding TwinProperty name
* Including default configs for EU863 and US902
* Extending helper to verify concentrator options and create twin
* Adding region and stationeui options to AddOptions
* Modifying program to handle Concentrator types
* Remove markdown linting automation
* delete /Docs/* except submodule
* Add new readme to point to docs
* update arduino readme to point to new docs
* remove decoder readme, and add new readme with pointer to docs
* update device-provisioning readme to point to new file
* Update Tools/Cli-LoRa-Device-Provisioning/README.md
Co-authored-by: Atif Aziz <code@raboof.com>
* suggestions from PR reviews
Co-authored-by: Atif Aziz <code@raboof.com>
* docker module builds were broken for the network server due to the addition of buidl props and version synchronization. The versions were not picked up causing the build to break.
* removing stylecop
Co-authored-by: Patrick Schuler <paschule@microsoft.com>
* Add action for linting markdown
* fix action syntax
* more syntax fix for yaml
* fix job syntax
* edit markdown to trigger action
* fix format of task
* Fix line lengths and linting
* linting of all docs/*.md
* replace config with jsonc
* add config to action
* fix some additional linting
* use CLI instead of bloated superlinter
* syntax again
Not used to Action syntax yet
* splitting steps
* ignore node-modules in linting
* Linting of additional docs
* fix another file that was missed
* rename Action and remove comments from previous implementation
* add config for mlc
* add more config for linkcheck
* test with verbose logging
* wrong links for test
* the config file was broken
* fix all broken links hopefully
* fixing links once more
* fix links and reduce verbosity
* final link fix
* simplify yaml, parallel jobs
* split runs
* inject linting error and wrong link as final test
* fixed and ci working as expected
* Implement BulkVerify verb.
- Other minor fixes
- Allow for settings.local.json
* Work on BulkVerify, add missing Twin properties
RXDelay, KeepAliveTimeout
* Work in progress.
* Make the bulkverify verb pageable.
* Moved to async Main, Update docs.
* Move from settings.json to appsettings.json
- including settings.local.json to appsettings.local.json
- undo changes to .gitignore
* Updated docs to reflect change from settings.json to appsettings.json
* Implemented cli-lora-device-checker
Initial implementation.
Created README.md
* Implement Update and Delete verbs
* Implement DevAddr and FCnt checks.
* Rename to Cli-LoRa-Device-Provisioning
* Finalize documentation. Fix small bugs.
In validation, RX2DataRate and RX1DROffset output warnings if set for ABP devices as we currently only support them in OTAA devices.
* Update main project's devuide.md and quickstart.md
Refer users to the tool when manually creating devices.
* Updated build instructions for multiple platforms.
* Fix a bug.
* Implement Input @fbeltrao
- Show settings file structure if settings file read error.
- Validation: If API missing from decoder name: output warning instead of error
* DevAddr verification: If wrong NetId, display the NetId it belongs to.
* Updated based on @debugerr 's suggestions
Additionally:
- grouped classes and moved to subfolders.
- changed namespace to LoRaWan.Tools.CLI in accordance with our main solution.