Platform for Telematic Applications
-
jwphrijk
- Posts: 15
- Joined: Wed 21. Dec 2011, 22:19
Post
by jwphrijk » Sun 8. Apr 2012, 20:40
Hi,
I am trying to make a server in a Windows environment. I've the server running and the connection is established but it seems that the firmware is expecting a message before anything is sent. maybe, according to THE SERVER COMMUNICATION CONCEPT, IMEI confirmation but i'm not sure.
What is received is + + + or asci 43 43 43.
This regards the sample project.
There is a SWITCH CASE witch on request sends the desired data. But I thought the firmware sends the GPS data every 10 seconds without being requested.
What should i do to recieve the gps data?
Do you pehaps have the Linux server software for the Windows enviroment?
Thans for your help.
-
PEAK-Support
- Sales & Support

- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Post
by PEAK-Support » Mon 9. Apr 2012, 16:13
We are sorry, but the PCAN-GPRS Link is supplied with a programming example only for Linux, as a daemon for x86 Debian. The Windows Version is no longer supported.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
jwphrijk
- Posts: 15
- Joined: Wed 21. Dec 2011, 22:19
Post
by jwphrijk » Wed 11. Apr 2012, 21:36
OK thanks for your reply,
Can you then please tell me if the demo firmware is expecting some kind of string from the server before sending gps information.
Thanks
-
S.Michaelsen
- Hardware Development

- Posts: 87
- Joined: Fri 10. Sep 2010, 13:11
Post
by S.Michaelsen » Thu 12. Apr 2012, 08:38
Hello,
the firmware expects that the server requests the gprs configuration data first. The server needs to know this data to be able to identify the module. If the server has never requested gprs configuration the serverComm_Task() will always return from line 238 befor data is sent. After the module has got the request for the grps configuration waitForIMEIrequest is set to FALSE (line 366 in serverComm.c) and next time serverComm_Task() is called it should start sending data from the transmit queue (line 243 ff.).