Coder Social home page Coder Social logo

pbap's People

Contributors

eliasj avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pbap's Issues

OBEXResponse code=0x44

Hi Elias, I got the last commit of your file yesterday wich was updated a few hours ago, my issue that am dealing with is:
when I make a call to the phonebook access using your files. (pbap.py) I can see without any trouble the constructor and the methods: "set_Phonebook()", "pull_phonebook", "pull_vcard_listing" of the class PBAP... until now perfect, I can see my 5 contacts names on the Phone, listed by the "vcf_id" and "full_name" but when I try to do: pull_vcard_entry("0.vcf") I should get my Phone number, but I get instead: OBEXResponse reason=not found code=0x44 header 0{}, no matter which contact I try to pull, I get the same Error, Do you have any Idea why?
Thanks in advance

Lightblue issue ?

ok . i know you won't help , but i 'll give it a try.
i installed all the prerequisites lightblue, openOBEX, pyBluez (and the prerequisites of the prerequisites) e.t.c.
when i run your code (i made a file example.py )

it prints out
sudo python example.py

Traceback (most recent call last):
File "example.py", line 5, in
pb = pbap.PBAP(devices[0][0])

and WITHOUT SUDO:

python example.py
Traceback (most recent call last):
File "example.py", line 5, in
pb = pbap.PBAP(devices[0][0])
IndexError: list index out of range

i think it seems like lightblue is having a problem?
can u provide some guideline in order to make pbap work?
i know it's been a while but i really need your help, im under a specific pressure.
Thank you.

Problem med att få kontakterna

Skulle behöva din hjälp där.
Det är så att jag håller på med min Raspberry Pi.
Har allt installerat (Bluez, PyBluez, Lightblue och din Pbap)
Men den slänger ur sig fel meddelanden hela tiden:
Problem 1:
Traceback (most recent call last):
File "bb.py", line 5, in
pb = pbap.PBAP(devices[0][0])
Och problem 2:
Traceback (most recent call last):
File "bb.py", line 7, in
phonebook = pb.pull_phonebook()
File "/home/pi/pbap-master/pbap/pbap.py", line 73, in pull_phonebook
raise Exception("Could not get the phonebook" + str(response))
Exception: Could not get the phonebook<OBEXResponse reason='Bad Request' code=0x40 (0xc0) headers={}>

Hoppas du vet var felet ligger!

Getting an error when initializing PBAP

pbap.PBAP('f4:98:d6:10:46:8b')
Traceback (most recent call last):
File "", line 1, in
File "pbap.py", line 16, in init
self.__find_service_port()
File "pbap.py", line 26, in __find_service_port
for (a, port, service) in lightblue.findservices(self.__device_address):
File "/Library/Python/2.7/site-packages/lightblue/_lightblue.py", line 73, in findservices
_macutil.createbtdevaddr(devaddr))
ValueError: depythonifying array of 6 items, got one of 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.