[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Gps application stops transmitting data after some time
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Gps application stops transmitting data after some time |
Date: |
Tue, 15 Sep 2015 10:22:31 -0700 |
Yo lokesh!
On Tue, 15 Sep 2015 17:33:59 +0530
lokesh kumar Nijalinge <address@hidden> wrote:
> Can anyone let me know if something is missed in this part of code.
> Below is the code
You are waing to long, and the input buffer is filling up.
> while (1) {
[...]
> sleep(1);
> printf("status %d \n",gpsdata.status);
> }
You can not read more than one sentence a second with the sleep in there,
but there may be many sentences a second.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1(541)382-8588
pgplad0xin3pY.pgp
Description: OpenPGP digital signature
- [gpsd-users] Gps application stops transmitting data after some time, lokesh kumar Nijalinge, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time,
Gary E. Miller <=
- Re: [gpsd-users] Gps application stops transmitting data after some time, lokesh kumar Nijalinge, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, Gary E. Miller, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, lokesh kumar Nijalinge, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, Gary E. Miller, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, lokesh kumar Nijalinge, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, Gary E. Miller, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, lokesh kumar Nijalinge, 2015/09/15
- Re: [gpsd-users] Gps application stops transmitting data after some time, Gary E. Miller, 2015/09/16
- Re: [gpsd-users] Gps application stops transmitting data after some time, lokesh kumar Nijalinge, 2015/09/18
- Re: [gpsd-users] Gps application stops transmitting data after some time, Gary E. Miller, 2015/09/18