I'm re-developing an old app. I compile it without modifying and it works fine. The problem is that when I try to use wm_atSendCommand, I get "error LNK2019: unresolved external symbol _wm_atSendCommand referenced in function _adl_main". I have included "wm_apm.h" library and still doesn't work.
I have also tried wm_atSendCommandExt and I get the same message. I have tried several parameters and stays the same… I’ve even created a new proyect with new files with the same code.
Could anyone gime me a hand with this? Thank you very much in advance.
wm_atSendCommand( ) should be used only when you are using “Basic” model to develop your program. If you have chosen ADL model then you should use ADL APIs, e.g. adl_atCmdCreate( )
So if I want to launch an existing AT command when the application is starting, should I create the command and then use a handler, or by just creating it with adl_atCmdCreate would be enough?