From: Rafael Seste <rseste@gmail.com>
To: Andreas Volz <lists@brachttal.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Adressbook with bluez?
Date: Thu, 6 Aug 2009 18:20:47 -0300 [thread overview]
Message-ID: <5d223510908061420w6562f704r76027ba8ae670321@mail.gmail.com> (raw)
In-Reply-To: <20090806225726.28631666@frodo.mittelerde>
On Thu, Aug 6, 2009 at 5:57 PM, Andreas Volz<lists@brachttal.net> wrote:
>
> I found some docs about Nokia (fitting for me) AT commands:
>
> http://www.activexperts.com/xmstoolkit/atcommands/nokia/
>
> I see that it's also possible to do stuff (e.g. initiate a call) that
> works also with HFP. I assume this is better to do with a defined
> protocol, not? (e.g. with HFP for Linux[1]).
>
> regards
> Andreas
>
> [1] http://nohands.sourceforge.net
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
This python scripts returns the first five contacts from the default
phonebook using handsfree profile it works for my nokia phone.
#!/usr/bin/python
import bluetooth
sock = bluetooth.BluetoothSocket(bluetooth.RFCOMM)
conn = sock.connect((<bluetooth device address>, <HF port>))
sock.send("AT+CPBR=1,5\r")
print sock.recv(1024)
print sock.recv(1024)
print sock.recv(1024)
print sock.recv(1024)
print sock.recv(1024)
print sock.recv(1024)
sock.close()
--
Rafael S. Seste
next prev parent reply other threads:[~2009-08-06 21:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 18:24 Adressbook with bluez? Andreas Volz
2009-08-04 5:49 ` Artem Makhutov
2009-08-04 16:32 ` Andreas Volz
2009-08-06 10:05 ` Artem Makhutov
2009-08-06 20:57 ` Andreas Volz
2009-08-06 21:20 ` Rafael Seste [this message]
2009-08-06 18:57 ` Per Thomas Jahr
2009-08-06 20:37 ` Andreas Volz
2009-08-06 20:44 ` Rafael Seste
2009-08-06 21:41 ` Andreas Volz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d223510908061420w6562f704r76027ba8ae670321@mail.gmail.com \
--to=rseste@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=lists@brachttal.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox