Was built for ICOM radio but can be used for anything that accepts Hex Codes/Binary over Serial Port 🙏
Example of the script sending numbers over a serialport 🎉
- ICOM IC-7610
- Anything over Serial Port (Arduino/etc...)
You will get a prompt for the mandatory arguments.
Once filled in, the script will run.
Since the shell dissapears running it this way, don't expect to catch the response from the serial device!
.\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD'
Waiting for device to respond...
---
FEFEFD
---
Port Closed.\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD' -timeout 1000
Forcing a timeout!
Port ClosedOR
.\icmd.ps1 -timeout 1000 COM4 'FE FE 94 E0 26 00 05 00 01 FD'
Forcing a timeout!
Port ClosedYou can write a powershell script that just calls this one!
The icmdchain.ps1 has the template 😄
# no response
.\icmd.ps1 -timeout 1000 COM4 'FE FE 94 E0 26 00 05 00 01 FD'
# read response
.\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD'
# no response
.\icmd.ps1 -timeout 1000 COM4 'FE FE 94 E0 26 00 05 00 01 FD'
# read response
.\icmd.ps1 COM4 'FE FE 94 E0 26 00 05 00 01 FD'Please read the CODE_OF_CONDUCT.md file 🙏
I use VSCode with two extensions for this project:
Please fork the project and make a Pull Request (PR) to contribute!
- HEX to BIN table
- CI-V Reference Manual
- ICOM IC-7610 Reference Manual
- Old CT-17 Reference Manual with BASIC code blocks
- Decimal Array to Binary
$port.Write/3 - System.IO.Ports.SerialPort.Write .NET API
CI-V Manual Message Format Snippet

