Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] rfcomm question 2-AT command
Date: Fri, 28 Jan 2005 20:24:05 +0100	[thread overview]
Message-ID: <1106940245.10580.2.camel@pegasus> (raw)
In-Reply-To: <20050128141322.96979.qmail@web60904.mail.yahoo.com>

Hi Michael,

> I have written a program that the menu can be sent to T610 by AT
> command. However, I face a problem. When I send one menu to the
> mobile, there is 4-5 seconds delay. The syntax of my program is:
> sprintf(command, "AT*EASM=\"Bt-IrConverter\",1,1,%d", item_brand+1);
>   ret_code=put_command (command, answer, sizeof (answer), 5, 0);
>   for (j=0; j<item_brand; j++)
>   {
>    sprintf(command, ",\"%s\"", device[j]);
>    ret_code=put_command (command, answer, sizeof (answer), 5, 0);
>    }
>   sprintf(command, ",\"quit\",\r");
> where the variable device[j] stores the string extracted from MySQL
> db. So, why is that? And how can I reduce the delay?

check with hcidump if there is really a delay or if the phone simply
needs that long to execute that command.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-28 19:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-28 14:13 [Bluez-users] rfcomm question 2-AT command Ka Kin Cheung
2005-01-28 19:24 ` Marcel Holtmann [this message]
2005-01-29  5:52   ` Ka Kin Cheung
2005-01-29 14:06     ` Marcel Holtmann

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=1106940245.10580.2.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@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