Using SMS_task with Link lib

Platform for Telematic Applications
Post Reply
jwphrijk
Posts: 15
Joined: Wed 21. Dec 2011, 22:19

Using SMS_task with Link lib

Post by jwphrijk » Sun 27. Jan 2013, 23:02

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.

S.Michaelsen
Hardware Development
Hardware Development
Posts: 73
Joined: Fri 10. Sep 2010, 13:11

Re: Using SMS_task with Link lib

Post by S.Michaelsen » Mon 28. Jan 2013, 08:00

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

jwphrijk
Posts: 15
Joined: Wed 21. Dec 2011, 22:19

Re: Using SMS_task with Link lib

Post by jwphrijk » Thu 7. Feb 2013, 15:43

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.

S.Michaelsen
Hardware Development
Hardware Development
Posts: 73
Joined: Fri 10. Sep 2010, 13:11

Re: Using SMS_task with Link lib

Post by S.Michaelsen » Thu 7. Feb 2013, 16:07

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

Post Reply