Hi everyone,
I’ve installed Wavecom Open AT Software Suite v2.02 and created the sample project “Hello World”.
I get the following warning when building the target:
[b]… Compiling hello_world.c
hello_world.c: In function ‘adl_main’:
hello_world.c:98: warning: passing argument 4 of ‘adl_tmrSubscribe’ from incompatible pointer type
---------------------------------------[/b]
void HelloWorld_TimerHandler ( u8 ID )
{
/* Hello World */
TRACE (( 1, "Embedded : Hello World" ));
adl_atSendResponse ( ADL_AT_UNS, "\r\nHello World from Open-AT\r\n" );
}
void adl_main ( adl_InitType_e InitType )
{
TRACE (( 1, "Embedded : Appli Init" ));
/* Set 1s cyclic timer */
adl_tmrSubscribe ( TRUE, 10, ADL_TMR_TYPE_100MS, HelloWorld_TimerHandler );
}
If I attempt to download the created gcc_Hello_World_256KB.wpb.dwl file using Hyperterminal I get the following Pop-Up error:
“Transfer cancelled by remote system”
Followed by:
at+wdwl
+WDWL: 0
*** ERROR IN HEADER ***
aHB˜dNàÌ#a’Ip’€ò²† ˜PÛ"ØvlO@ÛA¼ÞAnÛáaÔHPC-êµW¥½æjÓö^›µµ>a¿"Ó1ÊêÏf¦´
–($lSIp`°Qðš×ƒdýÕ$<”&U¦AQØ ý"³nÃ;N_1ÊÌÝýø#a›¾9» õ½á‰S]ý~@]ýî%|PâêlcëK…
*”8qA 7”XžiÝXOòeöÀ•ºúZµìIšõåÐïBB0
The hardware I’m using is Q2687:
at+whwv
Hardware Version 4.24
ati3
661_09gg.Q2687H 1925236 100506 11:13
Software:
OpenAT version R71b00
GCC Compiler 4.0.1.2
IDE 1.07.01
MINGW 3.8.0.1
OS 6.02.02
Any help/ideas would be greatly appreciated!
Thanking you in advance.