Hi everybody,
I noticed a problem in OpenAT 3.10, and I do classify this as a bug since I have re-tested the same program compiled with OpenAT 3.02 on the 6.51 core firmware. On the older platform the problem does NOT exist!
The application tries to activate UART 2 by sending
adl_atCmdCreate( "AT+WMFM=0,1,2", FALSE, Res_WMFM_Handler, "*", NULL );
This fails in the OpenAT 3.10 if the UART2 is not enabled (with at+wmfm=0,0,2) before the application is started. It will activate the port, yes! But after the “OK” answer there will no other Handler function for atCmdCreate’d commands be called. So the application hangs and is unable to process further AT commands (it will respond to AT+WAC with OK, but that is the only command that receives an answer, I think. There will be no answer for AT+IPR=38400 / AT+IFC=2,2 / AT&W / at+crmp=0,0 / ati3 / at+cgsn / at+cpin? / …)
Funny, that if the UART2 is already activated, everything works fine!
This problem can be reproduced at 100%.
For the Tests I used
ati3
655_09gg.Q2406B 2015268 111705 17:01
OK
at+wopen=2
+WOPEN: 2,"AT v03.10","AT v03.10"
OK
and
ati3
651_09gg.Q2406B 1478872 070705 14:15
OK
at+wopen=2
+WOPEN: 2,"AT v03.02","AT v03.02"
OK
Both versions are to the best of my knowledge released and not in Beta state…
Best Regards,
Jan