The file is created in my app. I didn't find any info on .itn files structure, so i created some of them through tomtom navigator and investigated the structure. The last field of every line is this flag you mention. I saw that the values go like this: 0 = Pass-through Waypoint; 1 = Visited Waypoint; 2 = Destination.
I've tried with all addresses as waypoints but the last one (Destination) and all of them as desination. The navigatetonextstopover does nothing in both cases.
This is an example of the last 3 lines of one of my files:
219362|4138354|menorca 7, BARCELONA|0|
219292|4141493|huelva 18, BARCELONA|0|
221019|4140463|fluvia 15, BARCELONA|2|
Is this all right? For what i've seen in the files generated from navigator i think so.
And by the way, what's the difference between a pass-through waypoint and a destination address? Navigator will notify "arrived to destination" only if it's marked as Destination or something like that?
Thanks
Santi