Giter Club home page Giter Club logo

Comments (5)

IanHarvey avatar IanHarvey commented on August 22, 2024

Hi,

It may sometimes take a while (up to a minute) to make a connection, depending on the device - I assume you've tried just waiting?

I'm writing a wiki page on Bluetooth LE on the Pi - http://www.elinux.org/RPi_Bluetooth_LE - which has got instructions on how to build the BlueZ stack and test the hardware using command-line tools. I've found a number of devices which don't appear to connect properly using these tools, but haven't sorted out why yet; the TI SensorTag seems reliable though.

Thanks,
Ian

On 11 Apr 2014, at 14:20, Matija Urh [email protected] wrote:

Hi,

I'm trying to run your lib on RPi. I removed everything and just put
conn = Peripheral("72:64:9D:DB:0A:11")

and I get

Running /home/pi/BT/LE/sandbox/bluepy-helper
Sent: conn 72:64:9D:DB:0A:11

Got: '# bluepy-helper.c built at 12:26:47 on Apr 11 2014\n'
Got: "rsp=$stat state=$tryconn dst='72:64:9D:DB:0A:11 mtu=h0 sec='low\n"
Any idea why?
Is there any example code other than included btle.py?


Reply to this email directly or view it on GitHub.

from bluepy.

kalfa avatar kalfa commented on August 22, 2024

Just as a side answer for the records; it probably does not apply here since it's a very specific line:
this happened to me because I wrote the wrong address for the Peripheral. This make the helper try to connect until giving up (I suppose it was on purpose).

from bluepy.

IanHarvey avatar IanHarvey commented on August 22, 2024

@ajitam - is this still a problem? I'd like to close this issue if we can't establish that there's a problem with the bluepy code itself.

Thanks,
Ian

from bluepy.

ajitam avatar ajitam commented on August 22, 2024

Hi,
I think (I'm not certain) that I switch to another library, but it was a long time ago, so yeah you can close the issue.

from bluepy.

IanHarvey avatar IanHarvey commented on August 22, 2024

OK, thanks, closing it now.

from bluepy.

Related Issues (20)

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.