GithubHelp home page GithubHelp logo

Any more application details? about bluepy HOT 3 CLOSED

ianharvey avatar ianharvey commented on August 26, 2024
Any more application details?

from bluepy.

Comments (3)

IanHarvey avatar IanHarvey commented on August 26, 2024

Hi,

So, the bluepy project was originally conceived to connect a TI SensorTag to a Raspberry Pi. If you're completely new to BLE it might be worth playing with a SensorTag first just to get a feel for it, they're roughly the same cost as things like the Tile but much more interesting. You don't need a Pi particularly, it should work on Linux on PCs as well.

For setting up bluepy, there are brief instructions in the README.md file, and fuller instructions at http://www.elinux.org/RPi_Bluetooth_LE . This should let you establish a basic connection to your device.

At the minute, the only code examples for using the bluepy API are the __main__ code in btle.py itself, and sensortag.py. If you'd like more on the programming concepts involved, I wrote some stuff at http://en.wikipedia.org/wiki/Bluetooth_low_energy#Software_model which might help. I've nearly finished some Sphinx documentation on bluepy, which I'll hopefully be publishing soon.

Hope that helps, have fun,

Ian

from bluepy.

mcsarge avatar mcsarge commented on August 26, 2024

Please include samples on sending data to a device and then getting a response, I can not seem to find any example where you send data to a device...

from bluepy.

gitcandies avatar gitcandies commented on August 26, 2024

Hi Ian:

Thanks for the useful feedback...does your setup/installation also install the latest edition (or late enough) of gatttool...I'm under the impression (perhaps wrong), that this will only be created using the --enable-client parameter

I managed to connect to my BLE device (at least generate a handle), after finding I needed to use -random parameter with lecc (I came across this tip in some posting). However, I can't find any information on what this random parameter sets/controls...where are all of the optional parameters described?

It's hard to use them if you don't know what is available!

best regards,

Norm

From: Ian Harvey [mailto:[email protected]]
Sent: Tuesday, December 02, 2014 3:45 AM
To: IanHarvey/bluepy
Cc: gitcandies
Subject: Re: [bluepy] Any more application details? (#21)

Hi,

So, the bluepy project was originally conceived to connect a TI SensorTag to a Raspberry Pi. If you're completely new to BLE it might be worth playing with a SensorTag first just to get a feel for it, they're roughly the same cost as things like the Tile but much more interesting. You don't need a Pi particularly, it should work on Linux on PCs as well.

For setting up bluepy, there are brief instructions in the README.md file, and fuller instructions at http://www.elinux.org/RPi_Bluetooth_LE . This should let you establish a basic connection to your device.

At the minute, the only code examples for using the bluepy API are the main code in btle.py itself, and sensortag.py. If you'd like more on the programming concepts involved, I wrote some stuff at http://en.wikipedia.org/wiki/Bluetooth_low_energy#Software_model which might help. I've nearly finished some Sphinx documentation on bluepy, which I'll hopefully be publishing soon.

Hope that helps, have fun,

Ian


Reply to this email directly or view it on GitHub #21 (comment) . https://github.com/notifications/beacon/AJgn9Ez_HR9ZL-9BGxIX5haqERzbmOE7ks5nTXOOgaJpZM4DBQjK.gif

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.