Hi Alessandro,
gnrc_networking registers the "pkt_dump" module as UDP server.
https://github.com/RIOT-OS/RIOT/blob/master/examples/gnrc_networking/udp.c#L108
You can find the implementation here:
https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/pktdump/gnrc_pktdump.c
.
Just write your own minimal server and register its pid instead of the
pkt_dump module. You should additionally remove USEMODULE +=
gnrc_pktdump from the Makefile.
Best
Peter
Am 27.08.2016 um 16:02 schrieb ALESSANDRO NICOLI:
Hi all,
In case that i could not use CoAP for request messages, i tried to build on
a communication using the "gnrc_networking" code.
Obviously the communication works, but where and how can i retrive the
payload of the incoming packets?
My collector node (SAMR21) has to process the content of the incoming
packets from DHT sensor node (this is SAMR21 too).
thanks all,
*best regards, *
*Alessandro*
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel
--
Peter Kietzmann
Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel