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
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to