Skip to content

Cell - Enable modem#303

Open
halyssonJr wants to merge 1 commit into
developfrom
cell-turn-on
Open

Cell - Enable modem#303
halyssonJr wants to merge 1 commit into
developfrom
cell-turn-on

Conversation

@halyssonJr

Copy link
Copy Markdown
Contributor

Summary

The PR aims to add an enumeration to different kinds of cell modems.

/// <summary>
/// Type of Cell Modem.
/// </summary>
public enum CellModemType

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like it belongs in Meadow.Foundation not contracts

string FetchGnssAtCmdsOutput(IGnssResult[] resultTypes, int timeout = gnssFixTimeoutInSeconds);

/// <summary>
/// Enable the modem to communicate through serial (COM1 or COM4).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to specify the comm port in the comment since it's an interface

/// </summary>
/// <param name="pin"> Output pin connected to PWRKEY.</param>
/// <param name="modem">The type of modem model ported. </param>
public void EnableModem(IPin pin, CellModemType modem);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this universal or potentially hardware-specific? again, feels like Meadow.Foundation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants