Hi,

> So sorry for late reply.

Is ok :)

> On 14 May 2017 at 19:47, Jan-Tarek Butt <[email protected]> wrote:
>> Hi Zeeshan,
>>
>> Johannes is my mentor I put him in CC.
> 
> Aweosome, thanks. Just out of curiosity, which org this is under?

The org is Freifunk
https://summerofcode.withgoogle.com/projects/#6078953772023808

>>> https://github.com/zeenix/gps-share
>>>
>>> This will be not only a replacement for GPSD but also be able to share
>>> your GPS device on the local network (the same way as our android app
>>> works). I'm writing it in Rust language so it's very reliable and I
>>> have aims of porting Geoclue to Rust as well in the future.
>>>
>>> So while you're free to do as you wish, I'd strongly recommend you
>>> modify your GSoC project a bit to join forces with me to enable GPS
>>> support in Geoclue instead. You won't need a new MLS key either. :)
>>
>> Ok, I don't understand what exactly is missing? You mean standalone as
>> only receiving coordinates base on surrounded WiFis?
> 
> Standalone GPS are the ones that are not part of a 3G modem but are
> just GPS devices (USB and bluetooth). This has nothing to do with
> WiFi-part really. The WiFi-geolocation is already in place and geoclue
> even uploads Wifi information to MLS if submit-data=true is set in
> /etc/geoclue/geoclue.conf file.
> 
> Applications on Linux system are expected to use Geoclue (and many do,
> even if some still use the old geoclue) for geolocation and I feel
> that your current plan will create unnecessary redundancy: Geoclue
> will be using MLS for WiFi-geolocation and then your module will be
> doing exactly the same.

The difference is, that MLS needs SSL and an authentication via API key,
openwifi.su not. On our Routers we don't have SSL and a requires of an API
key for each router. It is also not really a good way for both sides.

> Unless I misunderstood your project or your project is meant to be
> never used on a typical Linux system?

You can use it as well on typical Linux systems. Even in geoclue if
geoclue got the support of working with Standalone GPS hardware.

>> My use case is a bit special. I am maintaining a firmware for few
>> thousand routers. This is an open source and open wireless network, working
>> with distributed network protocols like BATMAN-adv (Freifunk
>> ffnw.de <-- is in german). The problem is that many routers have only 4MB
>> Flash. So I need a very small application which gave me lat/long by
>> surrounded WiFi networks. Actually we use libwlocate and lwtrace. It doesn't
>> need an API key or any authentication for receiving a position anonymously
>> like real GPS.
> 
> Ah ok. Geoclue with it's deps chain[1] on a typical desktop Linux
> machine (Fedora in my case) is 13MB but these deps have not been
> configured/built for a limited-resources case like yours. I won't be
> surprised at all if you can strip quite a lot if you build the deps
> (e.g glib) with most features disabled and make everything fit within
> a few MBs.

Right, there is the problems with SSL and authentication... I tried this last
year.

>> So if Geoclue already supports communicating with real GPS hardware over
>> /dev/tty devices, Geoclue should also able to work with sgps or not?
> 
> That's what is missing. It does not. It only has support for
> modem-based GPS devices.

So if we implemented communicating over device drivers, geoclue should also
work with sgps. The main point on my side is the required authentication
and ssl for embedded devs. I see GPS as an authenticationless service.
But I will take a deeper look into geoclue maybe we can also integrate
communicating with openwifi.su. Maybe we can merge the openwifi.su datas
into MLS as well.

>> The pro is that we have a very modular structured modules.
>>
>> In my last mail I told that I would like to write a new backed for
>> openwifi.su. Maybe I can realise that all wifi informations can also
>> integrated into MLS. So MLS will get more datas. :)
> 
> I recall that I did have a look at this openwifi before MLS existed
> but once MLS came to being, I didn't see any point of project. I felt
> it was very Germany-focused project (the webpage still speaks to you
> in German by default).

Yes, sure I know what you mean. But it is the only service which works
without authentication and SSL.

> Anyway, if you project has to be about openwifi, sure I understand but
> I still don't understand the point of putting anything in the kernel
> if everything can be very efficiently implemented in the user-space.

The main idea wars to create a software application which should work with
all other applications they are communicating with gps hardware over tty 
devices. 
That is the reason why the project is called software defined GPS.

cheers
Tarek



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-geolocation mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-geolocation

Reply via email to