Page 1 of 1

Windows Server

Posted: Sun 8. Apr 2012, 20:40
by jwphrijk
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? :oops:

Thans for your help.

Re: Windows Server

Posted: Mon 9. Apr 2012, 16:13
by PEAK-Support
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.

Re: Windows Server

Posted: Wed 11. Apr 2012, 21:36
by jwphrijk
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

Re: Windows Server

Posted: Thu 12. Apr 2012, 08:38
by S.Michaelsen
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.).