Opened 12 years ago
Closed 10 years ago
#879 closed defect/bug (fixed)
no vehicle on wince (4.x)
Reported by: | me.yahoo.com/a/jya23di6w_0a00d6zazcw88xiiakhiu91aw-#78152 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | version 0.5.0 |
Component: | port/wince | Version: | git master |
Severity: | Keywords: | gps | |
Cc: |
Description
Hello,
I have played around with a "Falk N80" device (a WinCE 4.2 maschine) and I think, thats the vehicle_wince has a bug.
I have configured a GPS-device on wince:COM2: an in the logfile i will see a "wait for connect" message.
I have take a look in the code (my prefered programming language is Java not C) an I think, that vehicle_wince_open () works not correctly.
In the log you can find this:
3651.579188|vehicle_wince:vehicle_wince_open:enter vehicle_wince_open, priv->source='COM2: baud=4800' 3651.584607|vehicle_wince:vehicle_wince_open:serial(, 'baud=4800')
I think, the first String should not empty, when source is COM2.
Attachments (1)
Change History (7)
Changed 12 years ago by me.yahoo.com/a/jya23di6w_0a00d6zazcw88xiiakhiu91aw-#78152
comment:1 Changed 12 years ago by henning heinold
Hi,
what is your config-line for the vehicle in your navit.xml
Did you read http://wiki.navit-project.org/index.php/Navit_on_WinCE/Windows_Mobile ?
Bye Henning
comment:2 Changed 12 years ago by me.yahoo.com/a/jya23di6w_0a00d6zazcw88xiiakhiu91aw-#78152
Hello,
here the config-line:
<vehicle name="Local GPS" profilename="car" follow="1" enabled="yes" active="1"
source="wince:COM2: baud=4800">
Yes, I have read the Wiki-page. And I think, COM2 is the correct value. I have use SirfTech?.exe and this found the GPS-receiver on COM2 with 4800 baud.
Greeting, Ronald.
comment:3 Changed 11 years ago by woglinde
Hi,
proably your syntax is wrong it should be
<vehicle name=".." ... source="wince:COM2:" baudrate="4800">
Bye Henning
comment:4 Changed 11 years ago by andreas voigt
Hi,
I have the same problem with WinCE 6.0 on a Witson 29230V: Demo works fine. As soon as I put ...source="wince:COM2:" baudrate="9600"> navit will refuse to start. "navit has encountered a serious problem and has to be shut down" (gosmore works fine with these settings)
Logfile is also not helpful:
Navit log started navit:main_real:trying \StorageCard?\navit\data/navit.xml navit:file_wordexp_new:wordexp('\StorageCard\navit\data/bookmark.txt') returned 1 navit:navit_ref:refcount 2 binding_win32:win32_main_navit:enterbinding_win32:win32_main_navit:enter2graphics_win32:create_memory_dc:resize memDC to: 800 480 graphics_win32:create_memory_dc:resize memDC to: 800 480 graphics_win32:WndProc:resize gfx to: 800 480
Has somebody got an idea?
Regards
Andreas
comment:5 Changed 10 years ago by usul
I use Navit on WinCE Core 5.0 and have not problems at all.
<vehicle name="internal GPS" profilename="pedestrian" enabled="yes" active="1" source="wince:com2:" baudrate="57600">
Please use the sirftech util to figure out, if your setup works correctly. It might be possible that the GPS chip is working in a different mode than plain text NMEA (e.g. SiRF has some binary mode) that navit currently doesn't understand. But maybe it's just a malformed XML (which sadly can happen quickly, as endusers have still edit it to get Navit running). But it will get better :)
Please answer to this bug, otherwise I will close it within 2 weeks to get a sleak roadmap
comment:6 Changed 10 years ago by usul
- Keywords gps added
- Resolution set to fixed
- Status changed from new to closed
No more feedback and issue seemed to be outdated docs. Fixed -> close ticket
navit.log from 2011-jun-10