[zeromq-dev] Zyre on Android?
Utsav Drolia
utsavdrolia at gmail.com
Fri Mar 13 15:24:39 CET 2015
What about going the Jyre+Bluetooth on Java route?
> On Mar 13, 2015, at 5:17 AM, Pieter Hintjens <ph at imatix.com> wrote:
>
> It's Bluetooth we need to access. It's accessible in the Android API,
> depending on the version, however that makes it very complex to
> integrate with Zyre. It's cleaner to make the whole technical stack
> work in C, then wrap that in a UI layer only. Mixing discovery in Java
> with messaging in C is nasty.
>
> On Fri, Mar 13, 2015 at 7:13 AM, Kenneth Adam Miller
> <kennethadammiller at gmail.com> wrote:
>> In C because you cannot craft UDP in Java?
>>
>> And does Zyre require that your entity be connected deliberately under a
>> specific Access Point? I was hoping it would be possible for every entity to
>> be it's own micro-time access point, with two logical networks going on on
>> the device potentially simultaneously, but ultimately that the mesh
>> networking be independent of such. Is this the case?
>>
>> On Fri, Mar 13, 2015 at 1:31 AM, Pieter Hintjens <ph at imatix.com> wrote:
>>>
>>> Zyre works well on most WiFi networks except those which have
>>> deliberately shut off client-to-client access. Hydra is a neat example
>>> built on Zyre.
>>>
>>> The biggest problem at FOSDEM turned out to be discovery. Zyre uses
>>> UDP broadcast beacons and these are simply not reliable on larger WiFi
>>> networks. The FOSDEM WiFi blocked them entirely. Consequence, nodes
>>> could not see each other.
>>>
>>> We need to explore Bluetooth for discovery. That was one thing we took
>>> home from the workshops. This means Bluetooth in C on Android...
>>>
>>>
>>>
>>> On Fri, Mar 13, 2015 at 4:08 AM, Kenneth Adam Miller
>>> <kennethadammiller at gmail.com> wrote:
>>>> Found this:
>>>>
>>>> http://zguide.zeromq.org/php:chapter8
>>>>
>>>> On Thu, Mar 12, 2015 at 11:05 PM, Kenneth Adam Miller
>>>> <kennethadammiller at gmail.com> wrote:
>>>>>
>>>>> Hey, I saw hydra and had a tab open because it was interesting, but I
>>>>> couldn't find any meta information on it. Can you tell me about it? I
>>>>> knew
>>>>> it had to do with mesh networking on Android.
>>>>>
>>>>> But what about the actual in practice use of Zyre itself. It is a full
>>>>> blown solution to mesh networking? What kind of limitations are there?
>>>>> Can
>>>>> you characterize it, or point me to a zguide documentation on it?
>>>>>
>>>>> On Thu, Mar 12, 2015 at 10:55 PM, Joe McIlvain <joe.eli.mac at gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> Kenneth,
>>>>>>
>>>>>> I've spent quite a bit of time working on the android cross-compile
>>>>>> process (see the builds/qt-android subdir in libzmq, czmq, zyre,
>>>>>> etc..) and
>>>>>> QML bindings for writing cross-platform Qt applications that use these
>>>>>> libraries on platforms including android (see the bindings/qml
>>>>>> subdir).
>>>>>> Both of these efforts are a part of zproject, so any project using
>>>>>> zproject
>>>>>> (like czmq and zyre) get these "for free". Note that even though my
>>>>>> use
>>>>>> case is with Qt, you should be able to use the qt-android build
>>>>>> without even
>>>>>> having Qt on the dev or the target machine - just cross compile with
>>>>>> those
>>>>>> scripts and you can use dlopen from your android application to load
>>>>>> the
>>>>>> shared object.
>>>>>>
>>>>>> I believe some folks got the edgenet/hydra application (which uses
>>>>>> zyre)
>>>>>> running on android devices at this year's FOSDEM workshop, but I think
>>>>>> there
>>>>>> were some caveats for zyre involving network configuration
>>>>>> requirements and
>>>>>> such. Maybe Pieter or one of the other workshop attendees can
>>>>>> elaborate on
>>>>>> their findings.
>>>>>>
>>>>>>
>>>>>> On Thu, Mar 12, 2015 at 6:01 PM, Kenneth Adam Miller
>>>>>> <kennethadammiller at gmail.com> wrote:
>>>>>>>
>>>>>>> As per title, has anyone ever gotten Zyre to run on Android?
>>>>>>>
>>>>>>> Also, mesh networking is a research top the last I had learned. How
>>>>>>> well
>>>>>>> do does Zyre work? How extensively has it been tested?
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> zeromq-dev mailing list
>>>>>>> zeromq-dev at lists.zeromq.org
>>>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> zeromq-dev mailing list
>>>>>> zeromq-dev at lists.zeromq.org
>>>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> zeromq-dev mailing list
>>>> zeromq-dev at lists.zeromq.org
>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list