I use a tty device as gps source, but it will show that QSocketNofifer error

View: New views
6 Messages — Rating Filter:   Alert me  

I use a tty device as gps source, but it will show that QSocketNofifer error

by ZhaoAlexander :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
I am using a tty device as gps source, but it seems that it will show a QSocketNotifer error, and can't get
data from gps device.
is there somebody used that kind of gps device before?

Thank you.



立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Roadmap-general mailing list
Roadmap-general@...
https://lists.sourceforge.net/lists/listinfo/roadmap-general

Re: I use a tty device as gps source, but it will show that QSocketNofifer error

by Paul Fox-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

zhaoalexander wrote:
 >
 > Hi,
 > I am using a tty device as gps source, but it seems that it
 > will show a QSocketNotifer error, and can't get
 > data from gps device.
 > is there somebody used that kind of gps device before?

i'm guessing QSocketNotifer is some sort of qt api?  i'm not sure
how you'd get that, since the tty GPS code is all desktop-independent,
or, at least, i thought so.

to use a tty GPS device, your preferences file should contain
a line that looks like:
    GPS.Source: tty://dev/ttyUSB0
paul
=---------------------
 paul fox, pgf@... (arlington, ma, where it's 69.4 degrees)

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Roadmap-general mailing list
Roadmap-general@...
https://lists.sourceforge.net/lists/listinfo/roadmap-general

Re: I use a tty device as gps source, but it will show that QSocketNofifer error

by Fmiser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> ZhaoAlexander wrote:

>
> Hi,
> I am using a tty device as gps source, but it seems that it
> will show a QSocketNotifer error, and can't get data from gps
> device. is there somebody used that kind of gps device before?

My GPS receiver is USB so it shows up on /dev/ttyUSB0.  But that
is where gpsd works.  Roadmap should care how or what the GPS
receiver is as long as gpsd is happy.

--     Philip

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Roadmap-general mailing list
Roadmap-general@...
https://lists.sourceforge.net/lists/listinfo/roadmap-general

Re: I use a tty device as gps source, but it will show that QSocketNofifer error

by Paul Fox-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

fmiser wrote:
 > > ZhaoAlexander wrote:
 >
 > >
 > > Hi,
 > > I am using a tty device as gps source, but it seems that it
 > > will show a QSocketNotifer error, and can't get data from gps
 > > device. is there somebody used that kind of gps device before?
 >
 > My GPS receiver is USB so it shows up on /dev/ttyUSB0.  But that
 > is where gpsd works.  Roadmap should care how or what the GPS
 > receiver is as long as gpsd is happy.

oh, right.  my response assumed direct access to the GPS.  if you're
usin gpsd, then of course you'd have
          GPS.Source: gpsd://localhost
or
          GPS.Source: gpsd2://localhost
in your preferences file.

paul
=---------------------
 paul fox, pgf@... (arlington, ma, where it's 72.3 degrees)

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Roadmap-general mailing list
Roadmap-general@...
https://lists.sourceforge.net/lists/listinfo/roadmap-general

Re: I use a tty device as gps source, but it will show that QSocketNofifer error

by Pablo Rogina :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jul 16, 2009 at 11:49 AM, Paul Fox <pgf@...> wrote:
zhaoalexander wrote:
 >
 > Hi,
 > I am using a tty device as gps source, but it seems that it
 > will show a QSocketNotifer error, and can't get
 > data from gps device.
 > is there somebody used that kind of gps device before?

i'm guessing QSocketNotifer is some sort of qt api?  i'm not sure
how you'd get that, since the tty GPS code is all desktop-independent,
or, at least, i thought so.

I agree with Paul that the code to get GPS input is mostly desktop-independent, so at a first glance there shouldn't be a need to use Qt's specific API methods at that level.

I don't have access to CVS now, so could you please show us what the code looks like where you got the error?

Thanks, Pablo


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Roadmap-general mailing list
Roadmap-general@...
https://lists.sourceforge.net/lists/listinfo/roadmap-general

Re: I use a tty device as gps source, but it will show that QSocketNofifer error

by ZhaoAlexander :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
it is my fault,
i set it like
GPS.Source:tty://dev/ttyUSB0
GPS.Baud:9600
and that 9600 doesn't work.when I set it as GPS.Source:tty://dev/ttyUSB0:9600 it can work well.
 
Thank you.

 

> To: roadmap-general@...
> Date: Thu, 16 Jul 2009 10:49:07 -0400
> From: pgf@...
> Subject: Re: [Roadmap-general] I use a tty device as gps source, but it will show that QSocketNofifer error
>
> zhaoalexander wrote:
> >
> > Hi,
> > I am using a tty device as gps source, but it seems that it
> > will show a QSocketNotifer error, and can't get
> > data from gps device.
> > is there somebody used that kind of gps device before?
>
> i'm guessing QSocketNotifer is some sort of qt api? i'm not sure
> how you'd get that, since the tty GPS code is all desktop-independent,
> or, at least, i thought so.
>
> to use a tty GPS device, your preferences file should contain
> a line that looks like:
> GPS.Source: tty://dev/ttyUSB0
> paul
> =---------------------
> paul fox, pgf@... (arlington, ma, where it's 69.4 degrees)
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Roadmap-general mailing list
> Roadmap-general@...
> https://lists.sourceforge.net/lists/listinfo/roadmap-general


没有互动,哪来共识?微软地图MSN互动为你提供全新地图浏览体验! 立即试用!
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Roadmap-general mailing list
Roadmap-general@...
https://lists.sourceforge.net/lists/listinfo/roadmap-general