V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
SystemLight
V2EX  ›  Python

请教下树莓派和 PC 如何做蓝牙串口通信?

  •  
  •   SystemLight ·
    SystemLight · Jul 20, 2021 · 2761 views
    This topic created in 1754 days ago, the information mentioned may be changed or developed.

    根据网上文章大概总结出来以下成果

    • 通过 rfcomm whatch hci0 进行监听时,PC 端打开串口 COMM3 可以正常连接到树莓派发送消息

    问题

    • 如何通过 Python 串口模块进行数据发送
    • 如果不运行 rfcomm whatch hci0 命令,PC 端串口调试助手无法正常打开 COMM3 端口
    4 replies    2021-07-20 16:10:45 +08:00
    leavic
        1
    leavic  
       Jul 20, 2021
    pyserial
    SystemLight
        3
    SystemLight  
    OP
       Jul 20, 2021
    @sudoy 但是端口没有正常打开
    hongch
        4
    hongch  
       Jul 20, 2021
    这个问题 google 上不是一堆答案吗。。。为啥要来这里问
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3154 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 03:17 · PVG 11:17 · LAX 20:17 · JFK 23:17
    ♥ Do have faith in what you're doing.