Code Monkey home page Code Monkey logo

Comments (15)

Jcsim0 avatar Jcsim0 commented on July 28, 2024

我这个是连的蓝牙模块的。手机的暂时没连过哦

from python_bluetooth_test.

Jcsim0 avatar Jcsim0 commented on July 28, 2024

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

这个我也是连接arduino的蓝牙模块,地址名字都改了连不上不知道哪里的原因,

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

那个蓝牙用的库版本和pycharm也匹配3.5的

from python_bluetooth_test.

Jcsim0 avatar Jcsim0 commented on July 28, 2024

看看是不是蓝牙设备的原因,通信协议之类的

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

HC05的蓝牙模块用您这个代码的话把做地址和名字改过来后就可以连接蓝牙了吗,不需要其他别的操作吗

from python_bluetooth_test.

Jcsim0 avatar Jcsim0 commented on July 28, 2024

image
我用的这个

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

嗯嗯,差不多05和06

from python_bluetooth_test.

Jcsim0 avatar Jcsim0 commented on July 28, 2024

我这边是蓝牙自动发数据,然后电脑接收。改了名字和地址是可以连接了的。不过数据接收方法可能需要按你的方式来改

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

这个电脑接受的数据直接打印出来了吗

from python_bluetooth_test.

Jcsim0 avatar Jcsim0 commented on July 28, 2024

image
打印出来了的

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

如果要存入到MySQL的话,不知道大佬有想法吗

from python_bluetooth_test.

Jcsim0 avatar Jcsim0 commented on July 28, 2024

循环接收、然后接收到了就存进数据库或者先存进缓存,然后隔一段时间从缓存取数据再一次性存进数据库。最后给定一个特殊字段或字符退出循环,关闭蓝牙接受。大概这样子?具体的还得看需求。

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

谢谢大佬指点

from python_bluetooth_test.

Vigorouszgy avatar Vigorouszgy commented on July 28, 2024

你好,那个这个服务端你用的什么呢arduino吗,那个服务端socket发起程序怎么写的呢

from python_bluetooth_test.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.