V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2021-07-20 12:30:05 +08:00 · 1758 次点击
    这是一个创建于 983 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    问题

    • 如何通过 Python 串口模块进行数据发送
    • 如果不运行 rfcomm whatch hci0 命令,PC 端串口调试助手无法正常打开 COMM3 端口
    4 条回复    2021-07-20 16:10:45 +08:00
    leavic
        1
    leavic  
       2021-07-20 13:00:45 +08:00
    pyserial
    SystemLight
        3
    SystemLight  
    OP
       2021-07-20 13:57:49 +08:00
    @sudoy 但是端口没有正常打开
    hongch
        4
    hongch  
       2021-07-20 16:10:45 +08:00
    这个问题 google 上不是一堆答案吗。。。为啥要来这里问
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5285 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.