kismetwireless/python-kismet-db

kismet_log_to_kml exported 0 devices

jonathanfoster opened this issue · 0 comments

I received the message exported 0 devices after running kismet_log_to_xml. I confirmed the .kismet file did have device records.

I added more verbose error logging to the script and turns out there's an issue dereferencing the lon/lat data. It looks like Kismet has changed the data structure to a geopoint instead of individual lon/lat fields. Here's an example:

"kismet.common.location.avg_loc": {
  "kismet.common.location.time_usec": 0,
  "kismet.common.location.time_sec": 0,
  "kismet.common.location.fix": 0,
  "kismet.common.location.alt": 0,
  "kismet.common.location.geopoint": [0, 0]
}

I captured this data on Kismet 2020-12-R3.