gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GPS data from multiple android GPS sources over UDP


From: Debashisha Mishra
Subject: Re: GPS data from multiple android GPS sources over UDP
Date: Tue, 18 Apr 2023 15:03:00 +0200 (CEST)

Hi Ken,

I agree with your concern. I tried to put different ports to handle multiple UDP connections. However, it was not feasible and I think it  could be a limitation. The questions that you raised: "(i) if gpsd can handle multiple UDP connections from different ports, (ii) if gpsd would treat data from different ports to be from different sensors, (iii) if you can run multiple gpsd daemons on the same host" seems to be the right ones to understand first and proceed in this issue.

I believe that finding precise answers to above fundamental questions could be of best interest to many of us in this group. I would expect someone in this group with more experience with this tool could advise in this regard.

Best Regards,
Debashisha

----- On Apr 18, 2023, at 4:50 PM, Ken Hendrickson <Ken.Hendrickson@L3Harris.com> wrote:
  • how do I put two different ports on the host computer that runs the
  • GPSD daemon and gather the segregated GPS data?

 

No.  I really don’t know.

 

  • gpsd -N udp://<phone-ip>:12345

 

In your command above, 12345 is the port number.

 

But I don’t know if gpsd can handle multiple UDP connections from different ports.

I don’t know if gpsd would treat data from different ports to be from different sensors.

I don’t know if you can run multiple gpsd daemons on the same host.

 

 

From: Debashisha Mishra <debashisha.mishra@univ-lorraine.fr>
Sent: Tuesday, April 18, 2023 8:39 AM
To: Hendrickson, Ken (US) - SAS <Ken.Hendrickson@L3Harris.com>
Cc: gpsd-users <gpsd-users@nongnu.org>
Subject: [EXTERNAL] Re: GPS data from multiple android GPS sources over UDP

 

WARNING: Email originated from an EXTERNAL source. Do NOT click links, open attachments or reply unless you recognize sender and know the content is safe.

Hi Ken,

 

Thank you for your email. I didn't understand your point and how to achieve that with GPSD.

Could you please explain with some hints/commands on how do I put two different ports on the host computer that runs the GPSD daemon and gather the segregated GPS data? Thank you.

 

Best Regards,

Debashisha

 

----- On Apr 18, 2023, at 3:23 PM, Ken Hendrickson <Ken.Hendrickson@L3Harris.com> wrote:

Use different ports for each different phone?

 

From: gpsd-users-bounces+ken.hendrickson=l3harris.com@nongnu.org <gpsd-users-bounces+ken.hendrickson=l3harris.com@nongnu.org> On Behalf Of Debashisha Mishra
Sent: Tuesday, April 18, 2023 2:56 AM
To: gpsd-users@nongnu.org
Subject: [EXTERNAL] GPS data from multiple android GPS sources over UDP

 

WARNING: Email originated from an EXTERNAL source. Do NOT click links, open attachments or reply unless you recognize sender and know the content is safe.

Dear Team,

 

Thank you for this nice tool. I came across this tool while investigating a need to send the GPS data from an android phone to the host computer over WiFi network. The corresponding steps are similar to ones described here.

Now, my setup include one android phone with GPSd Forwarder app that streams the GPS data to the host computer IP and port.

The command I use on the host computer is "gpsd -N udp://*:12345". Everything works fine and I could see the GPS data in the host computer using gpsmon.

 

My question is the following. I want to send the GPS data from multiple android phones to the host computer in the same way I explained earlier. I used the above method and install the GPS forwarder android app on two phones. 

However, I could not know which GPS data is coming from which android phone and how can I segregate the GPS sources (the android phones) in the host computer. Basically I want to save the GPS data separately for each of these android sources.

 

I tried with "gpsd -N udp://<phone-ip>:12345" command on the host computer to listen from the particular phone IP. I could NOT make it work. Sorry.

 

Kindly suggest and help me. Thank you very much.

 

Best Regards,

Debashisha

 

 


  

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.

 

 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]