-
-
Notifications
You must be signed in to change notification settings - Fork 122
Add SX1262 LoRa driver and sample #1516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
garydyksman
wants to merge
20
commits into
nanoframework:main
Choose a base branch
from
garydyksman:add-LoRa_plus_Sx1262_Driver
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ae8e805
- Ceate LoRa Device Interface
garydyksman c5a57c2
Fix Sx1262 ReadBuffer SPI protocol handling
garydyksman da94aa9
Remove trailing whitespace in LoRa assembly info files
garydyksman 35e3896
Add StyleCop and align LoRa with standard device projects.
garydyksman b908b79
LoRa: rename Initialise to Initialize, fix StopPolling, add tests
garydyksman ba5cfc8
LoRa: address PR review (Send threading, RX recovery, docs)
garydyksman 0d023a5
LoRa: align headers, Send validation, optional SPI dispose
garydyksman 46bd17f
LoRa: Interlocked poll stop flag, StyleCop order, tests, lock file
garydyksman 132627e
LoRa: use samples/tests layout and device-root StyleCop settings
garydyksman caafb47
LoRa tests: add System.Device.Spi reference for Sx1262 constructor test
garydyksman a913ed7
LoRa tests: add System.Device.Gpio reference
garydyksman a30adc5
LoRa tests: add Runtime.Events for Gpio deployment chain
garydyksman b8f1b3f
PR fixes
garydyksman 76dee4b
PR fixes
garydyksman a6c141d
Copilot PR comment fix
garydyksman 1f555be
Add LoRa SX1262 module to wireless modules in README
garydyksman 8db8d25
Merge branch 'main' into add-LoRa_plus_Sx1262_Driver
garydyksman 6ba4542
Merge branch 'main' into add-LoRa_plus_Sx1262_Driver
garydyksman 5250d52
Updates for the PR
garydyksman 4069076
Merge branch 'add-LoRa_plus_Sx1262_Driver' of https://github.com/gary…
garydyksman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"> | ||
| <metadata> | ||
| <id>nanoFramework.Iot.Device.LoRa</id> | ||
| <version>$version$</version> | ||
| <title>nanoFramework.Iot.Device.LoRa</title> | ||
| <authors>nanoframework</authors> | ||
| <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
| <license type="file">LICENSE.md</license> | ||
| <releaseNotes> | ||
| </releaseNotes> | ||
| <readme>docs\README.md</readme> | ||
| <developmentDependency>false</developmentDependency> | ||
| <projectUrl>https://github.com/nanoframework/nanoFramework.IoT.Device</projectUrl> | ||
| <icon>images\nf-logo.png</icon> | ||
| <repository type="git" url="https://github.com/nanoframework/nanoFramework.IoT.Device" commit="$commit$" /> | ||
| <copyright>Copyright (c) .NET Foundation and Contributors</copyright> | ||
| <description>This package includes the LoRa binding Iot.Device.LoRa for .NET nanoFramework C# projects.</description> | ||
| <summary>Iot.Device.LoRa assembly for .NET nanoFramework C# projects</summary> | ||
| <tags>nanoFramework C# csharp netmf netnf Iot.Device.LoRa LoRa SX1262</tags> | ||
| <dependencies> | ||
| <dependency id="nanoFramework.CoreLibrary" version="1.17.11" /> | ||
| <dependency id="nanoFramework.Runtime.Events" version="1.11.32" /> | ||
| <dependency id="nanoFramework.System.Buffers.Binary.BinaryPrimitives" version="1.2.862" /> | ||
| <dependency id="nanoFramework.System.Device.Gpio" version="1.1.57" /> | ||
| <dependency id="nanoFramework.System.Device.Spi" version="1.3.82" /> | ||
| </dependencies> | ||
| </metadata> | ||
| <files> | ||
| <file src="LoRa\bin\Release\Iot.Device.LoRa.dll" target="lib\Iot.Device.LoRa.dll" /> | ||
| <file src="LoRa\bin\Release\Iot.Device.LoRa.pdb" target="lib\Iot.Device.LoRa.pdb" /> | ||
| <file src="LoRa\bin\Release\Iot.Device.LoRa.pdbx" target="lib\Iot.Device.LoRa.pdbx" /> | ||
| <file src="LoRa\bin\Release\Iot.Device.LoRa.pe" target="lib\Iot.Device.LoRa.pe" /> | ||
| <file src="LoRa\bin\Release\Iot.Device.LoRa.xml" target="lib\Iot.Device.LoRa.xml" /> | ||
| <file src="README.md" target="docs\" /> | ||
| <file src="..\..\assets\nf-logo.png" target="images" /> | ||
| <file src="..\..\LICENSE.md" target="" /> | ||
| </files> | ||
| </package> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| | ||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| # Visual Studio Version 17 | ||
| VisualStudioVersion = 17.14.37111.16 | ||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||
| Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "LoRa", "LoRa\LoRa.nfproj", "{5D8A46C7-F705-4AAB-AF5E-D14657161340}" | ||
| EndProject | ||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}" | ||
| EndProject | ||
| Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "Sx1262Sample", "samples\Sx1262Sample\Sx1262Sample.nfproj", "{E4A64F77-59D4-4A2F-B0FE-8315ED264D89}" | ||
| EndProject | ||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{A0CB0C00-272F-4976-9DC2-B305E2DF5221}" | ||
| EndProject | ||
| Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "LoRaTests", "tests\LoRaTests.nfproj", "{DA6342A6-C455-450D-9921-CC76A0032F1D}" | ||
| EndProject | ||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}" | ||
| ProjectSection(SolutionItems) = preProject | ||
| category.txt = category.txt | ||
| README.md = README.md | ||
| EndProjectSection | ||
| EndProject | ||
|
garydyksman marked this conversation as resolved.
garydyksman marked this conversation as resolved.
|
||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {5D8A46C7-F705-4AAB-AF5E-D14657161340}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {5D8A46C7-F705-4AAB-AF5E-D14657161340}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {5D8A46C7-F705-4AAB-AF5E-D14657161340}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
| {5D8A46C7-F705-4AAB-AF5E-D14657161340}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {5D8A46C7-F705-4AAB-AF5E-D14657161340}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| {5D8A46C7-F705-4AAB-AF5E-D14657161340}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(NestedProjects) = preSolution | ||
| {E4A64F77-59D4-4A2F-B0FE-8315ED264D89} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} | ||
| {DA6342A6-C455-450D-9921-CC76A0032F1D} = {A0CB0C00-272F-4976-9DC2-B305E2DF5221} | ||
| EndGlobalSection | ||
| GlobalSection(ExtensibilityGlobals) = postSolution | ||
| SolutionGuid = {0ADD658D-0671-4036-BAA4-7A6C246D8E66} | ||
| EndGlobalSection | ||
| EndGlobal | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.