hi all ,
now , i need get gps latitude and longitude information.
reference nrf9160_gps.c file,it should be do it now ,
how to use driver to get PVT? ,
follow , it can't get message ,
static void gps_handler(struct device *dev, struct gps_trigger *trigger) { static u32_t fix_count; ARG_UNUSED(trigger); if (++fix_count < 3) { return; } ... gps_channel_get(dev, GPS_CHAN_PVT, &gps_data); printk("sucess %f,%f\n",gps_data.pvt.latitude,gps_data.pvt.longitude); .. }