All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] rfcomm question 2-AT command
@ 2005-01-28 14:13 Ka Kin Cheung
  2005-01-28 19:24 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Ka Kin Cheung @ 2005-01-28 14:13 UTC (permalink / raw)
  To: bluez-users

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-29 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28 14:13 [Bluez-users] rfcomm question 2-AT command Ka Kin Cheung
2005-01-28 19:24 ` Marcel Holtmann
2005-01-29  5:52   ` Ka Kin Cheung
2005-01-29 14:06     ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.