From: Sebastian Roth <sebastian.roth@esk.fhg.de>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Re: mystic AT-Command
Date: Mon, 21 Feb 2005 09:20:01 +0100 [thread overview]
Message-ID: <cvc5d5$lij$1@sea.gmane.org> (raw)
In-Reply-To: <4217E058.2000805@xmission.com>
Hi Brad,
> ok, I made this change in cvs.
Thank you!
Can you please merge this in btsco2 too.
diff -u -r1.1 btsco2.c
--- btsco2.c 1 Dec 2004 12:02:58 -0000 1.1
+++ btsco2.c 21 Feb 2005 08:15:25 -0000
@@ -387,10 +387,9 @@
return 0;
buf [rlen] = 0;
fprintf(stderr, "recieved %s\n", buf);
- if (strstr(buf, "AT+BVRA=" )) opdone = headset_button(headset);
- else if (strstr(buf, "AT+CKPD=200")) opdone =
headset_button(headset);
- else if (strstr(buf, "AT+CHUP" )) opdone =
headset_button(headset);
- else if (strstr(buf, "AT+CIND=?" )) opdone =
headset_button(headset);
+ if (strstr(buf, "AT+CKPD=200" )) opdone = headset_button(headset);
+ else if (strstr(buf, "AT+CHUP" )) opdone = headset_button(headset);
+ else if (strstr(buf, "AT+CIND=?")) opdone = headset_button(headset);
else if (sscanf (buf, "AT+VGS=%d", &headset->volumes[0]) == 1)
opdone = headset_speaker (headset);
else if (sscanf (buf, "AT+VGM=%d", &headset->volumes[1]) == 1)
opdone = headset_micro (headset);
if (opdone == 1)
Best regards,
Sebastian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2005-02-21 8:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-18 13:30 [Bluez-devel] mystic AT-Command Sebastian Roth
2005-02-18 14:31 ` Lars Grunewaldt
2005-02-18 15:11 ` [Bluez-devel] " Sebastian Roth
2005-02-18 16:50 ` Lars Grunewaldt
2005-02-19 18:18 ` Sebastian Roth
2005-02-20 0:56 ` Brad Midgley
2005-02-20 2:17 ` Lars Grunewaldt
2005-02-21 8:20 ` Sebastian Roth [this message]
2005-02-21 17:09 ` Brad Midgley
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='cvc5d5$lij$1@sea.gmane.org' \
--to=sebastian.roth@esk.fhg.de \
--cc=bluez-devel@lists.sourceforge.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