Comments (5)
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:11Got: '# 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.
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.
@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.
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.
OK, thanks, closing it now.
from bluepy.
Related Issues (20)
- Passive scan returns weird connectable
- bluepy-helper crashes HOT 1
- Sampling frequency HOT 6
- thon3
- BluePy not compatible with Python 3.10 or newer
- Multiple Instances of a single Service
- Reading Accelerometer Data from SensorTag CC2650
- Try to use timeout HOT 4
- getting temperature data
- unable to make it work on Python 3.7.3
- Failed to connect to peripheral <my mac address>, addr type: random HOT 4
- Select a host Bluetooth device (the one that starts the connection) HOT 7
- ResourceWarning: unclosed file <_io.TextIOWrapper name=6 encoding='UTF-8'>
- Infinite timeout
- HCI Selection Failure HOT 1
- Help! Loaded everything but doesn't see the camera.
- Unable to set connection parameters and advertasing parameters Thingy:52
- Bluepy and Bookworm HOT 6
- Can't connect to any peripherals with Bluetooth adapter hci1
- te
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluepy.