[riot-devel] RIOT Vs Iotivity, AllJoyn, Thread

Baptiste Clenet bapclenet at gmail.com
Thu Jun 16 11:40:13 CEST 2016


2016-06-09 1:29 GMT+02:00 Martine Lenders <mail at martine-lenders.eu>:

> Hi,
>
> 2016-06-08 20:29 GMT+02:00 Iván Briano <ivan.briano at intel.com>:
>
>> On Wed, 08 Jun 2016 19:58:50 +0200, Baptiste Clenet wrote:
>> > 2016-06-08 17:14 GMT+02:00 Emmanuel Baccelli <
>> Emmanuel.Baccelli at inria.fr>:
>> >
>> > > Hi Ivan,
>> > > it would be great to have it as a pkg indeed!
>> > > That's the standard way third-party stacks are integrated in RIOT.
>> > > Looking forward to that,
>> > > Emmanuel
>> > >
>> > > On Wed, Jun 8, 2016 at 3:41 PM, Iván Briano <ivan.briano at intel.com>
>> wrote:
>> > >
>> > >> On Wed, 08 Jun 2016 09:46:31 +0200, Baptiste Clenet wrote:
>> > >> > Thanks for your answers.
>> > >> > Could we integrate Soletta OIC implementation part as a pkg in
>> RIOT?
>> > >> >
>> > >>
>> > >> The OIC implementation is tightly integrated to the core of Soletta,
>> so
>> > >> you need the whole thing in.
>> > >
>> > > Yes but could we find a way to separate it a bit so we can run a OIC
>> > server using GNRC quickly?
>>
>> That's not straight forward. The OIC implementation uses the CoAP one in
>> Soletta, which uses the socket abstractions as well. GNRC is all the way
>> under that. Using Soletta means that you'll need one thread to run the
>> main loop, from where all events will be dispatched.
>>
>
> Do you use your own implementation of CoAP? (or microcoap or libcoap)
Soletta definies socket over RIOT socket? Why?
There is some work, we need to dig inside but I think it's a good idea to
port your OIC implementation as RIOT package, so RIOT will be an OIC
compliant OS and this is important to uniform exchanged data between
devices.
Let Martine know if you need any help about the porting, you can include me
in the PR, I don't know if I'll have time to work on it, but I will follow
your porting.



> Porting to GNRC won't be necessary for early integration (maybe later on
> we can cherry-pick the best parts to make it work with GNRC). The emb6
> stack (a fork of Contiki's uIP) [1] I ported for RIOT [2] had similar
> requirements for running in a single thread. If you want to I can help you
> with integrating a foreign network stack into RIOT using `pkg`.
> It's mainly about providing an adaption layer between whatever HAL the
> stack uses and `netdev2`. `conn` can also be ported, but as your
> descriptions sounds like Soletta is running above transport layer, this
> might not be needed/suitable.
>
> Cheers,
> Martine
>
> [1] https://github.com/hso-esk/emb6
> [2] https://github.com/RIOT-OS/RIOT/tree/master/pkg/emb6
>



-- 
Baptiste
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160616/86c27fe2/attachment-0001.html>


More information about the devel mailing list