Skip to content

This project is a practical tool for writing on the spi symmetrical full-duplex socket communication protocol stack using linux-symspi,linux-iccom and libiccom projects.本项目是用于在使用linux-symspi,linux-iccom,libiccom项目搭建spi对称全双工socket通信协议栈上编写的实用工具,包括:iccsh/iccshd、iccom_send、iccom_recv等。

License

Notifications You must be signed in to change notification settings

QQxiaoming/iccom-utils

Repository files navigation

CI License

iccom-utils

English | 简体中文

introduction

This project is a practical tool for writing on the spi symmetrical full-duplex socket communication protocol stack using linux-symspi,linux-iccom and libiccom projects, including:

  • iccshd/iccsh/icccp
  • iccom_send
  • iccom_recv

1.The source files under the driver path in the project warehouse have some bugfixes and optimization improvements based on the original project linux-symspi/linux-iccom. The code respects the source license, but the version of the original project can still be used to cooperate with iccom-util. tool use.
2.The source files under the lib path in the project warehouse have some bugfixes and optimization improvements based on the original project libiccom. The code respects the source license, but the version of the original project can still be used with the iccom-util utility tool.

iccshd/iccsh/icccp

iccsh is a terminal forwarding tool based on the iccom transport protocol. The host host runs iccshd, and the client host runs iccsh to perform terminal operations through the spi-based physical layer (The design idea is similar to the sshd/ssh mode, but the currently implemented iccsh does not include encryption). icccp is used for file copying (the design idea is similar to scp).

iccom_send

iccom_send is a practical tool for sending data under the iccom transmission protocol (the design idea is similar to the can-utils series), and the usage is as follows:

iccom_send - send iccom-frames via sockets.
Usage: iccom_send <frame>.
    <frame>:
        <ch_id>#{data}: for iccom data frames
            <ch_id>:
                2 byte hex chars
            {data}:
                ASCII hex-values
Examples:
    iccom_send 15A1#1122334455667788

iccom_recv

iccom_recv is a practical tool for data reception under the iccom transmission protocol (the design idea is similar to the can-utils series), and the usage is as follows:

iccom_recv - recv iccom-frames via sockets.
Usage: iccom_recv <ch_id>.
    <ch_id>:
        2 byte hex chars
Examples:
    iccom_recv 15A1

TODO

  • iccsh support encryption
  • iccshd support custom port num
  • iccshd support Multi-terminal connection
  • icccp support recursive
  • icccp improve the way the target path is a directory

About

This project is a practical tool for writing on the spi symmetrical full-duplex socket communication protocol stack using linux-symspi,linux-iccom and libiccom projects.本项目是用于在使用linux-symspi,linux-iccom,libiccom项目搭建spi对称全双工socket通信协议栈上编写的实用工具,包括:iccsh/iccshd、iccom_send、iccom_recv等。

Topics

Resources

License

Stars

Watchers

Forks

Languages