-
Notifications
You must be signed in to change notification settings - Fork 79
Add wwan test for lakeport (New) #2709
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
rickwu666666
wants to merge
18
commits into
main
Choose a base branch
from
add-wwan-test-for-lakeport
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 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
97d53fa
Add WWAN connection test via AT command
rickwu666666 269f28f
Add test job for connect wwan via at command
rickwu666666 51dc1b6
Update test script
rickwu666666 f47b819
Add ce-oem-wwan-automated to ce-oem automated test plan
rickwu666666 4bb5e1f
Add unittest for wwan_connction_at_command.py
rickwu666666 478dfab
Fix README wording for detect_module() selection logic
Copilot f2ee6ed
Fix black
rickwu666666 373eb3b
Fix black formatting in test_wwan_connection_at_command.py
Copilot 462d440
Move README to wwan folder
rickwu666666 e24adad
Add folder under data to store related wwan AT command json file
rickwu666666 626ee02
Add WWAN_AT_COMMAND_JSON environment to determine the wwan_at_commman…
rickwu666666 542706b
Update manifest id and put more details in _prompt section
rickwu666666 1236a3c
Remove sudo from the script, since checkbox job run as root user already
rickwu666666 db8813e
Add some wording to the resert job summary for more AT command related
rickwu666666 1f3e485
Shorten wwan template-summary to fit within 80 character limit
Copilot 3c2d037
Fix the template-id
rickwu666666 8f9bdce
remove redundant wording for job id
rickwu666666 cdcb728
Add logic to fail the test if wwan modem can not enable
rickwu666666 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
694 changes: 694 additions & 0 deletions
694
contrib/checkbox-ce-oem/checkbox-provider-ce-oem/bin/wwan_connection_at_command.py
Large diffs are not rendered by default.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...x-ce-oem/checkbox-provider-ce-oem/data/wwan_at_command/SIM7672G-LNGV_wwan_at_command.json
|
rickwu666666 marked this conversation as resolved.
|
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,31 @@ | ||
| { | ||
| "SIM7672G-LNGV": { | ||
| "Base communication": "AT", | ||
| "SIM status": { | ||
| "cmd": "AT+CPIN?", | ||
| "expect": "READY" | ||
| }, | ||
| "Signal quality": { | ||
| "cmd": "AT+CSQ", | ||
| "expect_min": 10 | ||
| }, | ||
| "Network registration": "AT+COPS?", | ||
| "Set APN": "AT+CGDCONT=1,\"IP\",\"{APN}\"", | ||
| "Set auto-dial": "AT+DIALMODE=0", | ||
| "Verify GPRS attachment": { | ||
| "cmd": "AT+CGATT?", | ||
| "expect": "CGATT: 1", | ||
| "poll": true | ||
| }, | ||
| "Verify PDP context active": { | ||
| "cmd": "AT+CGACT?", | ||
| "expect": "CGACT: 1,1", | ||
| "poll": true | ||
| }, | ||
| "Verify IP assignment": { | ||
| "cmd": "AT+CGPADDR=1", | ||
| "expect_nonempty": true, | ||
| "poll": true | ||
| } | ||
| } | ||
| } |
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.