Page 1 of 1

Using SMS_task with Link lib

Posted: Sun 27. Jan 2013, 23:02
by jwphrijk
Hello Peak employees,

I want to implement a function which wil make it possible to change the target IP in the g_gprs_comm struct by a SMS.

Is this possible together with the LIB_Link-GPRS.lib?
When I implement the sms_init and the sms_task it seems to crash?
The documentation says that information is comming soon?

Thanks in advance fore your help.

Re: Using SMS_task with Link lib

Posted: Mon 28. Jan 2013, 08:00
by S.Michaelsen
Good Morning,

it is not possible to use the sms functions and the gprs task at the same time cause both need access to the same UART.


Best Regards,
Stephan Michaelsen

Re: Using SMS_task with Link lib

Posted: Thu 7. Feb 2013, 15:43
by jwphrijk
Ok thanks for your response,

If possible I would like some advice?

As far as I know now it is also not possible to use the link_task and the servercomm_task together?

Could it be possible to initialize servercomm_task after the link_task and vice versa?
Or do I have to reboot the unit then?

The objective is to, by means of a special CAN message, switch from the use of the virtual CAN NET to getting the GPS coordinates (like the DEMO firmware).

Thanks for your help.

Re: Using SMS_task with Link lib

Posted: Thu 7. Feb 2013, 16:07
by S.Michaelsen
Using both tasks beside each other is not recommended and could cause problems. Even if it might work sometimes it can't be guaranteed that it will work every time. So the system might run unstable if you do so.

Best Regards,
Stephan Michaelsen