Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Open Source Projects
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.


Gps4ppc


Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 06-14-2008, 08:03 AM
Junior Member
 
Join Date: May 2008
Posts: 23
Default What can I do to progress?

Hi,
After new Tests, there is the results :
My version : trial version 6.3, .Net Version 2.0.5238 (from Basic4PPC).

When I try GPS4PPC. exe, No problem, soft connect Well using port 6.

When I try GPS4PPC.sbp in run mode, With Serial2.dll, I get the message "error oppening port 6".

When I try GPS4PPC.sbp in run mode, with Serialdevice.dll, I get the message "GPS is Connect", + 2/3second later "GPS is deconnect".

What can I do to test my program. Increase time interval?, Increase counter value?Buy licence to compile soft for test?


Last edited by alea46 : 06-14-2008 at 08:11 AM.
Reply With Quote
  #32 (permalink)  
Old 06-14-2008, 08:28 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,813
Default

SerialDevice.dll should only be used with .Net CF 1.0.
If you like you can go to Basic4ppc folder (on the device): \Program Files\Basic4ppc
and rename Basic4ppc.exe.config to something else.
Now the IDE will work with .Net CF 1.0 instead of 2.0.
Reply With Quote
  #33 (permalink)  
Old 06-16-2008, 08:38 PM
Junior Member
 
Join Date: May 2008
Posts: 23
Question GPS is down

HI, after tries and tries, I don't understand what is wrong for my program.
Can you see where i made a mistake, because with compiled program, it doesn't work. (i Buy Basic4PCC today )

I compile program in OPtimized compilation and Serial2.dll, because EREL say GPS4PPC compiled version use Serial2.DLL.

Attached Files
File Type: zip Guidage test Asus.zip (75.6 KB, 7 views)
Reply With Quote
  #34 (permalink)  
Old 06-17-2008, 04:55 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,813
Default

I'm sorry if I wasn't clear in my previous post.
The compiled GPS4PPC that you've used was compiled with the legacy compiler and SerialDevice.dll.
You should uncheck the optimized compiler option and replace Serial2.dll with SerialDevice.dll / SerialDesktop.dll.
After compiling your program a config file will also be created. Delete this file as you want to target .Net CF 1.0 and not 2.0.
Reply With Quote
  #35 (permalink)  
Old 06-17-2008, 08:58 PM
Junior Member
 
Join Date: May 2008
Posts: 23
Smile Put claude is great

After a lot of tests, I make a cab,setup pgm.
I compile as EREL said, and test my program : bad luck, it's doesn't work.

I just test the differences between GPS4PCC V1.05 directory and the directory where I put my program : SerialDevice are different, mine is 16,5Kb, GPS4PCC was 28kb.
I'm copying SerialDevice 28kb in my directory : GPS application doesn't crash!
Put claude is right in is topic
NETCFv2 vs NETCFv1 w/Version 6

A question stay : Why two version of serialdevice, one in GPS4PCC V1.05 and one in Basic4PCC library ?
Reply With Quote
  #36 (permalink)  
Old 06-18-2008, 03:05 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,813
Default

I'm happy you solved this issue.
Can you please send me the SerialDevice.dll you use (erel@basic4ppc.com)?

The library that is now included in Basic4ppc was updated by its author.
I want to compare the two versions.
Reply With Quote
  #37 (permalink)  
Old 06-18-2008, 05:52 PM
Junior Member
 
Join Date: May 2008
Posts: 23
Default the two serialdevice.dll

Hi Erel,
I send you the two serialdevice :
Serialdevice28 came from GPS4PPC V1.05 program (exe to charge into device).
Serialdevice16 came from Basic4PPC standard library.

Thank for all your replies.

Note : For my program, is there an exhaustive documentation for GPS.dll, because i have trouble, with only $GPZDA sentence intercepted.
Attached Files
File Type: zip SerialDevice28K.zip (7.2 KB, 3 views)
File Type: zip SerialDevice16K.zip (6.9 KB, 2 views)
Reply With Quote
  #38 (permalink)  
Old 06-18-2008, 05:53 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,813
Default

Thanks.
This is the documentation: GPS
The GPS library parses the GPRMC and GPGGA sentences.
Reply With Quote
  #39 (permalink)  
Old 06-18-2008, 08:24 PM
Junior Member
 
Join Date: May 2008
Posts: 23
Default GPS NMEA problem

HI,
after making a test program that is decode manualy NMEA sentence, I saw that I received a single string with 3 NMEA sentences :
(program use listbox and strsplit to write NMEA sentence)

$GPZDA Date & Time
$GPGGA Global Positioning System Fix Data
$GPRMC Recommended minimum specific GPS/Transit data

These 3 sentences are separated by 2 specials Characters, but I don't know witch one (represented by square)

Is someone already had this problem?

How can't I decoded this 2 specials characters?

How can't I change this (serial parameters?)?
Reply With Quote
  #40 (permalink)  
Old 06-19-2008, 12:53 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,813
Default

Please open a new thread for this discussion as it is not directly related to GPS4PPC.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPS4PPC in opticomp Put Claude Questions & Help Needed 2 01-07-2008 06:51 PM


All times are GMT. The time now is 05:07 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0