Forum

Diese Foren dienen dem Austausch und der Unterstützung der Entwicklungspartner für GPSoverIP/DATAoverIP und HLD.

Nutzen Sie diese zur direkten Kommunikation mit dem Entwicklungsteam der GPSoverIP GmbH und anderen Entwicklern. Anfragen über die Foren werden mit erhöhter Priorität bearbeitet.

Achten Sie bitte bei der Kommunikation auf die Netiquette, um allen Beteiligten die Arbeit mit den Foren zu erleichtern.

Device ID & GPS Data

Gast

Hi,

I have 2 questions for you:

1. How do I retrieve the device ID from my application? I need to use the device ID in my web service calls.

2. How do I retrieve the GPS info on the device? Since datacom.exe is running I think it will read the GPS com port so I can’t share it. I don’t need to read it in an interval, when a driver updates an order state I’ll need the current GPS info.

I hope I can get this data, it would make my job easier.

Best regards.

Emre


GPSoverIP GmbH

Hi Emre,

1.
That’s the definition:

BOOL MISC_Read_Raw_Flash(DWORD sect, LPBYTE pBuf, DWORD numSects,LPBYTE pSectInfo );

Here is how we use it:

MISC_Read_Raw_Flash(64, pBuf, 1,0); // parameter1:what is page?, 2:save to the point of Byte(At lease 256), 3:The number of page, 4:NULL

When everything work’s fine you’ll get a “ return 1;”

2.
First use the following:

HANDLEhHLD=CreateEvent(NULL,FALSE,FALSE,L"HLD_get_gps";

CloseHandle(hHLD);

after that you'll find the GPS-Data in the registry

HKEY_CURRENT_USER/HLD/GPS_Latitude REG_SZ-String
HKEY_CURRENT_USER/HLD/GPS_Longitude REG_SZ-String
HKEY_CURRENT_USER/HLD/GPS_current REG_DWORD 0 <=> no actual position , 1 <=> position updated
HKEY_CURRENT_USER/HLD/GPS_Time REG_DWORD 191410.000 => 19:14:10 Time UTC
HKEY_CURRENT_USER/HLD/GPS_Date REG_DWORD 180709 => Date 18.07.09

Is this all you need?

best regards
Patric


Sie haben noch Fragen? Jetzt unverbindlich beraten lassen!

Home/Produkte/Teststellung/Kontodaten

Main
Kundenbetreuung direkt kontaktieren: +49 (0) 9721 796973-0
Die Sicherheit Ihrer persönlichen Daten hat für uns höchste Priorität. Weitere Einzelheiten finden Sie in unserer Datenschutzerklärung.

Nehmen Sie Kontakt mit uns auf

+49 9721 796 973 30
+49 9721 796 973 59

Geben Sie Ihre Telefonnummer an, wenn Sie einen Rückruf wünschen.

Suche
Hardware-Komponenten
Software-Komponenten
Mediathek
E-Mail
Telefon
Support
Zum Online-Shop
Zum GPS-Explorer
Sprache wählen
EN
GR
IT
ES
FR
TR
Seite drucken