[riot-devel] Connectivity between new NG stack and loopback

Alexandru Razvan Caciulescu alex.darredevil at gmail.com
Thu Jun 25 10:41:16 CEST 2015


Hello Cenk,

I tried your method and it works !
Thanks for the help !

Cheers,
Alex

2015-06-24 20:34 GMT+03:00 Cenk Gündogan <cenk.guendogan at fu-berlin.de>:

> Hello Lennart,
>
> I might be wrong and Sebastian might be able to shed some light on this,
> BUT
> isn't marz restricted to the old network stack? As far as I know it
> strips/adds the old nativenet header from outgress/ingress packets.
>
> BTW, are you also using the old network stack? My described method works
> only for the new network stack and with ng_nativenet (:
>
> cheers,
> CG
>
>
> On 24.06.2015 19:27, Lennart Dührsen wrote:
>
>> Hi Alex,
>>
>> have a look at the microcoap example [1], which uses marz [2] to connect
>> the RIOT node with your »normal« localhost. The RIOT application in this
>> example is a just a server (and only reacts on requests), but it
>> shouldn't be too hard to extend/customize.
>>
>> The marz code is a bit spaghetti like, and maybe I will build a better
>> solution in the near future, as I need the same functionality you do for
>> testing a gateway.
>>
>> As for the microcoap example: beware of pip, you may want to install
>> Twisted and bidict manually by downloading it from the respective
>> websites, because (on my system) pip installed only parts of the
>> libraries. Also, check the $PYTHONPATH variable and which version of
>> python the respective file/program uses when things don't work, this
>> caused some trouble for me.
>>
>> As soon as I know more, I'll let you know.
>>
>> The method described by Cenk did not work for me, but I'll try and make
>> that (or something similar) work as well.
>>
>> Best,
>> Lennart
>>
>>
>> [1] https://github.com/RIOT-OS/applications/tree/master/microcoap
>>
>> [2] https://github.com/sgso/marz
>> _______________________________________________
>> devel mailing list
>> devel at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/devel
>>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150625/5d375b7d/attachment.html>


More information about the devel mailing list