{"id":49230860,"url":"https://github.com/elkanamol/sierra_status","last_synced_at":"2026-04-24T11:45:13.544Z","repository":{"id":252619060,"uuid":"839914672","full_name":"elkanamol/sierra_status","owner":"elkanamol","description":"sierra_status is a Python CLI tool for retrieving status of Sierra Wireless EM9xxx, EM7xxx, and WP76xx modules. It uses AT commands to gather essential information, generates timestamped status files, and offers optional network search. The tool supports various module series and provides configurable verbosity for debugging.","archived":false,"fork":false,"pushed_at":"2025-01-21T09:15:34.000Z","size":87,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T10:24:16.473Z","etag":null,"topics":["at-command","automation","cli","debugging","mit-license","pyserial","python","sierra","sierra-status","sierra-wireless","testing"],"latest_commit_sha":null,"homepage":"https://github.com/elkanamol/sierra_status","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elkanamol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-08T15:23:10.000Z","updated_at":"2025-01-21T09:15:38.000Z","dependencies_parsed_at":"2024-08-11T09:25:44.546Z","dependency_job_id":"a56e2598-421f-4a5a-85ea-8227a0e410b3","html_url":"https://github.com/elkanamol/sierra_status","commit_stats":null,"previous_names":["elkanamol/sierra_status"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/elkanamol/sierra_status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elkanamol%2Fsierra_status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elkanamol%2Fsierra_status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elkanamol%2Fsierra_status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elkanamol%2Fsierra_status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elkanamol","download_url":"https://codeload.github.com/elkanamol/sierra_status/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elkanamol%2Fsierra_status/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["at-command","automation","cli","debugging","mit-license","pyserial","python","sierra","sierra-status","sierra-wireless","testing"],"created_at":"2026-04-24T11:45:11.663Z","updated_at":"2026-04-24T11:45:13.538Z","avatar_url":"https://github.com/elkanamol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sierra_status\n\n\u003c!--- [![Windows' exe](https://github.com/elkanamol/sierra_status/actions/workflows/Build_Executable.yml/badge.svg)](https://github.com/elkanamol/sierra_status/actions/workflows/Build_Executable.yml) \n[![Linux' bin](https://github.com/elkanamol/sierra_status/actions/workflows/build_exe.yml/badge.svg)](https://github.com/elkanamol/sierra_status/actions/workflows/build_exe.yml) \n[![Run Tests](https://github.com/elkanamol/sierra_status/actions/workflows/test.yml/badge.svg)](https://github.com/elkanamol/sierra_status/actions/workflows/test.yml) \n[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Felkanamol%2Fsierra_status\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)---\u003e\n\n[![GitHub Repo stars](https://img.shields.io/github/stars/elkanamol/sierra_status?style=plastic)](https://github.com/elkanamol/sierra_status/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/elkanamol/sierra_status?style=plastic)](https://github.com/elkanamol/sierra_status/forks)\n[![GitHub watchers](https://img.shields.io/github/watchers/elkanamol/sierra_status?style=plastic)](https://github.com/elkanamol/sierra_status/watchers)\n[![GitHub contributors](https://img.shields.io/github/contributors/elkanamol/sierra_status?style=plastic)](https://github.com/elkanamol/sierra_status/graphs/contributors)\n[![GitHub tag (with filter)](https://img.shields.io/github/v/tag/elkanamol/sierra_status?style=plastic\u0026label=latest)](https://github.com/elkanamol/sierra_status/releases/latest)\n[![GitHub release (by tag)](https://img.shields.io/github/downloads/elkanamol/sierra_status/latest/total?style=plastic)](https://github.com/elkanamol/sierra_status/releases/latest)\n[![GitHub all releases](https://img.shields.io/github/downloads/elkanamol/sierra_status/total?style=plastic\u0026label=total%20downloads)](https://github.com/elkanamol/sierra_status/releases)\n[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Felkanamol%2Fsierra_status\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false_style=plastic)](https://hits.seeyoufarm.com)\n\n## Overview\n\nem-mc_status_script is a Python-based CLI tool designed to retrieve and analyze the status of Sierra Wireless EM9xxx,EM7xxx and WP76xx modules. This script provides a quick and efficient way to gather essential information from these modules using AT commands.\n\n## Features\n\n- Sends multiple AT commands to query module status\n- Supports both EM9xxx and EM7xxx series modules\n- Generates a timestamped status file with the collected information\n- Optional network search functionality\n- Interactive mode for sending custom AT commands\n- Configurable verbosity for debugging\n\n## Installation\n\nTo install the package, you can use pip:\n\n```bash\npip install git+https://github.com/elkanamol/sierra_status.git\n```\n\nFor Ubuntu 18.04 and lower you can use with the following command:\n\n```bash\npip3.8 install git+https://github.com/elkanamol/sierra_status.git\n```\n\nAlternatively, you can clone the repository and install it locally:\n\n```bash\ngit clone https://github.com/elkanamol/sierra_status.git \ncd sierra_status \npip install\n```\n\n### Windows Executable\n\nFor Windows users, a standalone executable is available. You can download it directly from the latest GitHub release:\n\n1. Go to the [Releases page](https://github.com/elkanamol/sierra_status/releases) of the project.\n2. Find the latest release and download the `sierra-status.exe` file.\n3. Once downloaded, you can run the executable directly without any additional installation.\n\n## Usage\n\nAfter installation, you can use the `sierra-status` command-line tool:\n\nsierra-status -p [OPTIONS]\n\nFor Windows users using the standalone executable:\n\nsierra-status.exe -p [OPTIONS]\n\n### Required Arguments\n\n- `-p, --port`: Specify the USB port to use (e.g., 'COM1' for Windows or '/dev/ttyUSB2' for Linux)\n\n### Optional Arguments\n\n- `-m, --model`: Specify the model of the device to add to the filename (e.g., EM9191 or EM7455)\n- `-v, --verbose`: Enable verbose output for debugging\n- `-s, --search`: Perform a network search using the AT!COPS=? command\n- `-i, --interactive`: Enter interactive mode to send custom AT commands\n- `--version`: Show the version of the tool\n\n## Key Components\n\n### 1. cli.py\n\nThis file contains the main entry point for the CLI tool. It parses command-line arguments and initiates the status retrieval process.\n\nKey functions:\n\n- `main()`: Parses arguments and starts the process\n\n### 2. usb_handle.py\n\nThis file contains the core functionality for communicating with the Sierra Wireless modules.\n\nKey functions:\n\n- `send_at_command()`: Sends individual AT commands to the module\n- `get_em_status()`: Retrieves the full status by sending multiple AT commands\n- `get_em_cops()`: Performs a network search (if enabled)\n- `creat_status_file()`: Generates the output file with the collected status information\n- `start_process()`: Orchestrates the entire status retrieval process\n\n## AT Commands\n\nThe script uses a predefined list of AT commands to query various aspects of the module's status. Some of the key commands include:\n\n- Basic information: ATI, AT+CMEE=1\n- Hardware details: AT!HWID?, AT!USBCOMP?, AT!USBSPEED?\n- Network status: AT+CREG?, AT+CGREG?, AT+CEREG?\n- LTE/NR information: AT!LTEINFO?, AT!NRINFO?\n\n## Output\n\nThe script generates a text file with the naming format:\n\n`status_[module_name]_[date].txt`\n\nThis file contains the responses from all the AT commands sent to the module, providing a comprehensive snapshot of the module's status.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Contributing\n\nContributions to em-mc_status_script are welcome. Please feel free to submit pull requests or create issues for bugs and feature requests.\n\n## Support\n\nFor questions or issues, please open an issue on the GitHub repository: \u003chttps://github.com/elkanamol/sierra_status/issues\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felkanamol%2Fsierra_status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felkanamol%2Fsierra_status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felkanamol%2Fsierra_status/lists"}