From: Ka Kin Cheung <michaelhku2002@yahoo.com.hk>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] rfcomm question 2-AT command
Date: Fri, 28 Jan 2005 22:13:21 +0800 (CST) [thread overview]
Message-ID: <20050128141322.96979.qmail@web60904.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
Hi Marcel!
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?
Thank you very much.
Michael
---------------------------------
新年願望第一位 : 找到友緣人
[-- Attachment #2: Type: text/html, Size: 941 bytes --]
next reply other threads:[~2005-01-28 14:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-28 14:13 Ka Kin Cheung [this message]
2005-01-28 19:24 ` [Bluez-users] rfcomm question 2-AT command Marcel Holtmann
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=20050128141322.96979.qmail@web60904.mail.yahoo.com \
--to=michaelhku2002@yahoo.com.hk \
--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