Since there doesn't appear to be a 'decent' php-based ns1-parser, I'm currently my own. For some reason, some files seem to work fine (read all data from all AP's), but others don't.
The problem seems to lie in the "location source" value of APDATA entries.
This is a 32bit int, and should normally only have the value 0 (no GPS data present) of 1 (GPS data present).
If a file fails, the value of location source is 80 ff 14 7c, giving a decimal value of 2081750912.
I've attached 2 ns1 files that show this behaviour. The funny thing is that both files open in netstumber without problems.
test1.ns1 -> first APDATA element of 7th AP in file (no SSID), position in file = 16737 to 16740
test2.ns1 -> first APDATA element of 4th AP in file (SSID = dorp), position in file = 6926 to 6929
Does anyone know why they have this value, and how I should treat this?
Greetings,
Tom