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
新年願望第一位 : 找到友緣人