Skip to main content

uart 工具

Project description

uart-tool

自用uart-tool,适用于字符串/16 进制log 读取

support commands

uart-tool

uart-tool -h
usage: uart-tool [-h] -p COM_PORT [-b BAURATE] [-t TIMEOUT] [--hex_mode] [--print_str] [-e [END]] [--test_mode]

uart tool 参数

options:
  -h, --help            show this help message and exit
  -p COM_PORT, --com_port COM_PORT
                        COM 串口名字
  -b BAURATE, --baurate BAURATE
                        COM 口波特率配置,默认115200
  -t TIMEOUT, --timeout TIMEOUT
                        COM 读写消息间隔,默认0.1
  --hex_mode            是否使用16进制模式
  --print_str           是否打印字符串模式
  -e [END], --end [END]
                        换行字符\r或者\n, 默认\r (使用 -e ''  -e 传空字符串表示不追加换行)
  --test_mode           开启测试模式,发送预设命令

lsuart

列出当前系统的串口

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uart_tool-0.0.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file uart_tool-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: uart_tool-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for uart_tool-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 144a746940bc9bd8bc9d5a1ede6dedc8f225771e2cab5a8bed962affd4b14a09
MD5 af604e1822a6a4696c4f1b7a147285a5
BLAKE2b-256 5f91a822680b2e25be45c108a96d1f06a7efa42a082647a2ed1fa12e00766a84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page