Skip to content
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

Add support for cell states and GNSS methods #136

Merged
merged 4 commits into from
Sep 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add scan, without enabling ScanMode on yaml file.
  • Loading branch information
halyssonJr authored and duduita committed Sep 22, 2023
commit 3ba45fbebcd6db75bf32757e39cf17f728d80931
16 changes: 13 additions & 3 deletions Source/Meadow.Contracts/Hardware/Networking/ICellNetworkAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ public interface ICellNetworkAdapter : INetworkAdapter
/// </summary>
/// <returns>A list of CellNetworks</returns>
CellNetwork[] Scan();

/// <summary>
/// Get the signal quality
/// Get current signal quality
/// </summary>
double GetSignalQuality();
/// <param name="timeout"></param>
/// <return>Cell signal quality</return>
double GetSignalQuality(int timeout = 10);

/// <summary>
/// Scan available networks,
/// this method is used without entering the "Scan Mode"
/// </summary>
/// <param name="timeout"></param>
/// <returns>A list of CellNetworks</returns>
CellNetwork[] ScanNetwork(int timeout = 30);
}