{"id":21040567,"url":"https://github.com/pixelspark/tymodem","last_synced_at":"2025-05-15T16:33:19.893Z","repository":{"id":136773509,"uuid":"169857032","full_name":"pixelspark/tymodem","owner":"pixelspark","description":"Read status from Huawei E3372 modem using AT commands","archived":false,"fork":false,"pushed_at":"2019-02-10T09:55:08.000Z","size":16,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T11:38:52.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelspark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-09T10:50:33.000Z","updated_at":"2024-11-11T06:25:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"d369fb8d-2eee-4d25-b8cb-bf6eddbaabf7","html_url":"https://github.com/pixelspark/tymodem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Ftymodem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Ftymodem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Ftymodem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelspark%2Ftymodem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelspark","download_url":"https://codeload.github.com/pixelspark/tymodem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254377440,"owners_count":22061140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-19T13:47:11.021Z","updated_at":"2025-05-15T16:33:19.887Z","avatar_url":"https://github.com/pixelspark.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tymodem\n\nRead connection information from Huawei E3372s LTE dongle and print to console.\n\n## Usage\n\n### Command-line version\n\n`cargo run --bin tymodem-cli`\n\nWill output:\n\n````\nState: operator=XXX (MCC, MNC) mode=automatic conn=LTE (rssi=-85 dBm, rsrq=32, rsrp=-105 dBm, sinr=161) err=no error\n````\n\nEvery second.\n\nBy default, tymodem will read data from `/dev/cu.HUAWEIMobile-Pcui`, which is the port available for \nquerying the stick on Mac.\n\n### GUI version\n\n`cargo run --bin tymodem-gui`\n\n## Compatibility\n\nNote: the E3372 comes in two different versions, differing only by the firmware each uses:\n\n* The `E3372s` has 'stick mode' firmware, which makes the modem appear to your computer as an AT modem. This has better compatibility (e.g. works much better on Mac) but has lower maximum throughput. You can configure the stick using AT commands over the 'Pcui' port that is made available when the stick is inserted (presumably there is software from Huawei to assist the user).\n* The `E3372h` has 'HiLink mode' firmware, which makes the modem appear to your computer as a network adapter. Configuring the modem can be done through a web interface. In some cases an AT interface also appears to be availble.\n\nTymodem only supports 'stick mode'. It is possible to flash the 'stick mode' firmware onto an E3372h by following [these](https://www.0xf8.org/2017/01/flashing-a-huawei-e3372h-4g-lte-stick-from-hilink-to-stick-mode/) instructions.\n\n## AT commands used\n\nThe following is an overview of the most useful AT commands supported by the E3372. Although they are not documented for\nthe E3372 specifically, many of the commands that work for other Huawei devices (e.g. [as listed here](http://download-c.huawei.com/download/downloadCenter?downloadId=51047\u0026version=120450\u0026siteCode)) work for the E3372.\n\n(You can try these yourself by connecting to the `/dev/cu.HUAWEIMobile-Pcui` port using `screen` or a serial terminal app).\n\n### Stick info\n\n#### ATI\n\nQueries device information\n\n````\n\u003e ATI\n\u003c Manufacturer: huawei\n\u003c Model: E3372\n\u003c Revision: 21.180.01.00.00\n\u003c IMEI: XXX\n\u003c +GCAP: +CGSM,+DS,+ES\n````\n\n#### AT^VERSION?\n\nQuery firmware versions.\n\n````\n\u003e AT^VERSION?\n\u003c ^VERSION:BDT:Sep 30 2014, 15:17:21\n\u003c ^VERSION:EXTS:21.180.01.00.00\n\u003c ^VERSION:INTS:\n\u003c ^VERSION:EXTD:WEBUI_17.100.18.05.1217_HILINK\n\u003c ^VERSION:INTD:\n\u003c ^VERSION:EXTH:CL2E3372HM Ver.A\n\u003c ^VERSION:INTH:\n\u003c ^VERSION:EXTU:E3372\n\u003c ^VERSION:INTU:\n\u003c ^VERSION:CFG:1004\n\u003c ^VERSION:PRL:\n\u003c ^VERSION:OEM:\n\u003c ^VERSION:INI:\n````\n\n#### AT^TBATVOLT?\n\nQuery battery voltage (not applicable for the E3372 as it is a USB-powered stick, but probably returns the USB voltage).\n\n````\n\u003e AT^TBATVOLT?\n\u003c ^TBATVOLT:4458\n````\n\n#### AT^CHIPTEMP?\n\nQuery the chip temperature.\n\n````\n\u003e AT^CHIPTEMP?\n\u003c ^CHIPTEMP: 304,304,65535,27,65535\n````\n\n### SIM info\n\n#### AT+COPN\n\nQuery known/supported network names.\n\n````\n\u003e AT+COPN\n\u003c +COPN: \"732123\",\"Movistar\"\n\u003c +COPN: \"73402\",\"DIGITEL GSM\"\n...\n````\n\n#### AT+CPOL?\n\nQuery preferred roaming networks.\n\n````\n\n\u003e AT+CPOL?\n+CPOL: 1,2,\"26202\",1,0,1,1\n....\n+CPOL: 62,2,\"40443\",1,0,1,1\n````\n\n#### AT^ICCID?\n\nQuery the ICCID (SIM card number).\n\n````\n\u003e AT^ICCID?\n\u003c ^ICCID: 8931XXXXXXXXXXXXX\n````\n\n#### AT^CPBR?\n\nQuery the SIM phone book.\n\n````\n\u003e AT^CPBR=?\n\u003c ^CPBR: (1-250),40,20\n\u003e AT^CPBR=1\n\u003c ^CPBR: 1,\"+XXXXXXXXX\",145,\"XXXXXXX\",0\n````\n\n### Connection info\n\n#### AT^PLMN?\n\nQuery the connected network code (MNC/MCC).\n\n````\n\u003e AT^PLMN? \n\u003c ^PLMN: mnc,mcc\n````\n\n#### AT^LOCINFO?\n\nQuery network location info.\n\n````\n\u003e AT^LOCINFO?\n\u003c ^LOCINFO:XXXXX,0xXXXX,0xXX,0xXXXXXX\n````\n\n#### AT^CREG?\n\nQuery registration info, which contains (among other things) the cell ID.\n\n````\n\u003c AT+CREG?\n\u003e +CREG: 2,1,\"XXXX\",\"XXXX\"\n````\n\n#### AT+COPS?\n\nQuery network operator info:\n\n````\n\u003e AT+COPS?\n\u003c +COPS: 0,0,\"NAME OF MNO\",7\n````\n\n#### AT^CSNR?\n\nQuery signal-to-noise level.\n\n````\n\u003e AT^CSNR?\n\u003c ^CSNR: -145,-32\n````\n\n#### AT^CERRSI?\n\nQuery received signal strength indications (RSSI).\n\n````\n\u003e AT^CERSSI?\n\u003c ^CERSSI:0,0,0,0,255,-90,-7,15,32639,32639,32639\n````\n\n#### AT^DSFLOWQRY\n\nQuery flow (traffic) statistics.\n\n````\n\u003e AT^DSFLOWQRY\n\u003c ^DSFLOWQRY:00000010,0000000000060A85,000000000003CC18,00000010,0000000000060A85,000000000003CC18\n````\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelspark%2Ftymodem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelspark%2Ftymodem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelspark%2Ftymodem/lists"}