Giter Site home page Giter Site logo

pybt's People

Contributors

mikeryan avatar richo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pybt's Issues

Control handle values

Hi,

Another question that I have about the GATT DB is whether or not the handle values can be assigned manually. For device cloning purposes, this could be advantageous. bleno does not support this, but I suspect that PyBT would.

Thanks, and have a great day.
JennJ

Connection Handle never modified ?

Hi,
It seems that the connection handle is never modified :

    def raw_att(self, data):
        self.s.send(HCI_Hdr()/HCI_ACL_Hdr(handle=64)/L2CAP_Hdr(cid=4)/data)

Is it normal ? I have to change this piece of code to make it works.

Facing Problem when Installing PyBT

Hi All,
When I'm Installing getting below errors. I'm forking the code from master branch and I Installed scapy as suggested.

Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup
ImportError: No module named setuptools

So,please provide solution to this problem.

Thanks...

GATT DB Server Error

Hi,

I don't think this is a problem with PyBT. I think it is a problem in my use of PyBT.

I am attempting to create a peripheral with a rudimentary GATT DB. You can see the code here: https://github.com/jennj/BLE-Scripts/tree/master/scripts-peripheral . The example advertises; I can see the advertised data in the nRF Connect app with no problems. When I attempt to connect, though, the connection fails with an error 0x85. According to Nordic this means a problem with the GATT server configuration. The server data matches that what I receive when I perform a gattlib read-by-handle (you can see the output of read-by-handle at the bottom of the file referenced above. This likely means that I am missing something. What am I missing? I would be grateful for a hint.

Ubuntu 16.04
bluez 5.37
scapy -> the one you linked in the PyBT page
PyBT -> the latest version

Latest versions of pycrypto and gevent are installed (what is standardly available with Ubuntu).

Thank you, and kind regards,
JennJ

Error: cannot convert argument to integer

Hi,
I have installed scapy 2.3.3 and was able to run gattclient.py. However, when I typed connect BD_ADDR random in the interactive console, I got the error:
Cannot convert argumetn to integer
The error occurred in scapy/fileds.py when calling s+struct.pack(self.fmt, self.i2m(pkt, val)) function.
Any idea on this?
Thanks : )

Execute the gattclient.py

Hi,
I have installed PyBT. However, I could not figure out what is the usage of gattclient.py? Any help would be appreciated!

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.