Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-21 Thread Lionel Orry
All those are great news IMO. Working in more or less constrained embedded systems, I love where this work is going ! Great job ! Cheers, Lionel On Thu, Jan 21, 2016 at 7:53 AM, Axel Voitier wrote: > Thanks, it worked. > > The new repo is

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
Thanks, it worked. The new repo is https://github.com/zeromq/contiki-zmtp. For reorganising the sources, it was next in my list ;). Contiki actually suggest a tree structure to be compatible with their conventions and build system:

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
Hi Pieter, Neat! :) Yes, it would be nice if it spawns interest for other embedded targets. I am all for the C4.1 policy, and for the move to the zeromq organization. Thanks for proposing! Could you enlighten me about what can be named zeromq actually? Is it the full set of ZMTP+all sockets

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
Got it. It seems I don't have sufficient rights to create a repo in the organisation. Please, could you either add me the right, or create a repo named "contiki-zmtp"? By the way, there are zmq.c/h files in the current implementation in which I have put things built on top of the ZMTP

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Pieter Hintjens
I've updated the trademark policy since it was slightly out of date. http://zeromq.org/docs:trademark-policy The goal of this policy is to ensure that users know what they're getting. In your case I'd use -zmtp in the name, or call it something else. On Wed, Jan 20, 2016 at 4:20 PM, Axel

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Pieter Hintjens
Try to create the repo now, it should work. Indeed, zmq.c/h is probably a bad filename to use and zmtp.c/h is better. However I'd probably advise putting the sources into src and prefixing them all with something like cz_ On Wed, Jan 20, 2016 at 5:08 PM, Axel Voitier

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Benjamin Henrion
On Wed, Jan 20, 2016 at 4:01 AM, Axel Voitier wrote: > Hello, > > I have published an attempt at porting zeromq to Contiki OS: > https://github.com/Alidron/contiki-zeromq > > It has a few limitations still. However, I covered most basics of ZMTP and a > handful of sockets.

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
Yes, I actually started from libzmtp. Few things remain from it now (channels and msgs) as I had to adapt it to whatever Contiki provides. Contiki does not have a posix socket interface. But the hardest was t adapt to its threading model (protothreads) which were really constraining... Also, I

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Pieter Hintjens
Oh, and I sent you your first pull request. :) On Wed, Jan 20, 2016 at 12:39 PM, Pieter Hintjens wrote: > Hi Axel, > > This is really cool... could be the basis for other embedded projects. > I'd like to move this into the zeromq organization and use our C4.1 > contribution

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Pieter Hintjens
Hi Axel, This is really cool... could be the basis for other embedded projects. I'd like to move this into the zeromq organization and use our C4.1 contribution policy, is that OK? The name suggests you ported libzmq, which is misleading. It'd be better to say "ZMTP" instead of "ZeroMQ". I've