Return-Path: Message-ID: <20050128141322.96979.qmail@web60904.mail.yahoo.com> From: Ka Kin Cheung To: bluez-users@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-891329071-1106921601=:95083" Subject: [Bluez-users] rfcomm question 2-AT command Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 28 Jan 2005 22:13:21 +0800 (CST) --0-891329071-1106921601=:95083 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit 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; jHi 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



?s?~?@???Ĥ@?? : ?????ͽt?H
--0-891329071-1106921601=:95083-- ------------------------------------------------------- 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