{"id":16747070,"url":"https://github.com/selfup/icom-cmd","last_synced_at":"2025-03-16T02:21:53.951Z","repository":{"id":71266542,"uuid":"141900774","full_name":"selfup/icom-cmd","owner":"selfup","description":"ICOM Powershell Serialport Command Sender - Sends binary/hex over USB","archived":false,"fork":false,"pushed_at":"2019-08-27T01:48:18.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T15:11:22.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/selfup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-07-22T14:02:46.000Z","updated_at":"2021-01-09T13:57:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"b24efc96-7a7e-4c0d-b73a-6a5f0abe08a9","html_url":"https://github.com/selfup/icom-cmd","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.06896551724137934,"last_synced_commit":"8c3fad38f8a00b902b4053b63d4012b7e7d4258f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Ficom-cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Ficom-cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Ficom-cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfup%2Ficom-cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selfup","download_url":"https://codeload.github.com/selfup/icom-cmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814969,"owners_count":20352076,"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-10-13T02:09:02.631Z","updated_at":"2025-03-16T02:21:53.831Z","avatar_url":"https://github.com/selfup.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ICOM Powershell Serialport Command Sender\n\nWas built for ICOM radio but can be used for anything that accepts Hex Codes/Binary over Serial Port :pray:\n\nExample of the script sending numbers over a serialport :tada:\n\n![icom-cmd-example-script-env](https://user-images.githubusercontent.com/9837366/63654012-3a339380-c73a-11e9-8609-708ab608ad13.png)\n\n## Known compatible targets\n\n-   ICOM IC-7610\n-   Anything over Serial Port (Arduino/etc...)\n\n## Usage\n\n#### Clicking 'Run with Powershell' in the File Explorer\n\nYou will get a prompt for the mandatory arguments.\n\nOnce filled in, the script will run.\n\nSince the shell dissapears running it this way, don't expect to catch the response from the serial device!\n\n![](https://user-images.githubusercontent.com/9837366/56464532-9152e180-63b1-11e9-91b7-8225660cf853.png)\n\n#### Default ReadLine with just two arguments:\n\n```powershell\n.\\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD'\nWaiting for device to respond...\n---\nFEFEFD\n---\nPort Closed\n```\n\n#### Force a timeout instead of reading response:\n\n```powershell\n.\\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD' -timeout 1000\nForcing a timeout!\nPort Closed\n```\n\n_OR_\n\n```powershell\n.\\icmd.ps1  -timeout 1000 COM4 'FE FE 94 E0 26 00 05 00 01 FD'\nForcing a timeout!\nPort Closed\n```\n\n#### Chaining calls\n\nYou can write a powershell script that just calls this one!\n\nThe `icmdchain.ps1` has the template :smile:\n\n```powershell\n# no response\n.\\icmd.ps1  -timeout 1000 COM4 'FE FE 94 E0 26 00 05 00 01 FD'\n# read response\n.\\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD'\n# no response\n.\\icmd.ps1  -timeout 1000 COM4 'FE FE 94 E0 26 00 05 00 01 FD'\n# read response\n.\\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD'\n```\n\n## Development\n\n1. [RealTerm](https://sourceforge.net/projects/realterm/)\n1. [com0com](https://sourceforge.net/projects/com0com/)\n\nPlease read the `CODE_OF_CONDUCT.md` file :pray:\n\nI use [VSCode](https://code.visualstudio.com/) with two extensions for this project:\n\n1. [Powershell](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell)\n1. [Editorconfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)\n\nPlease fork the project and make a Pull Request (PR) to contribute!\n\n## Reading Materials\n\n1. [HEX to BIN table](http://vlsm-calc.net/decbinhex.php)\n1. [CI-V Reference Manual](http://www.icomamerica.com/en/support/kb/article.aspx?ArticleNumber=63AE624429)\n1. [ICOM IC-7610 Reference Manual](http://www.icomamerica.com/en/downloads/default.aspx?Category=661)\n1. [Old CT-17 Reference Manual with BASIC code blocks](http://www.icom.co.jp/world/support/download/manual/pdf/CT-17.pdf)\n1. [Decimal Array to Binary `$port.Write/3`](https://social.technet.microsoft.com/Forums/office/en-US/c0cad62d-5e6d-47de-97a6-406f50025d7f/sendingreading-hex-data-to-a-serial-port-in-powershell?forum=winserverpowershell)\n1. [System.IO.Ports.SerialPort.Write .NET API](https://msdn.microsoft.com/en-us/library/System.IO.Ports.SerialPort.Write.aspx)\n\n**CI-V Manual Message Format Snippet**\n\n![basic-message-format-icom](https://user-images.githubusercontent.com/9837366/43176722-9fef0936-8f8a-11e8-8ab1-22e65ffe0977.PNG)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfup%2Ficom-cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfup%2Ficom-cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfup%2Ficom-cmd/lists"}