[riot-users] UDP Packet Register

Navneet Pandey navneet.pandey at outlook.in
Mon Nov 5 18:22:05 CET 2018


Hello Peter,

Yes, the increment was huge for sure. It turns out there was some glitch in that particular experiment. That experiment was full of glitches in terms of results. I was not able to replicate that.

But, thank you. I will have a look at the mentioned links.

Regards,
Navneet Pandey

From: Navneet Pandey <navneet.pandey at outlook.in>
Sent: Thursday, November 1, 2018 5:28 PM
To: users at riot-os.org
Subject: UDP Packet Register

Hello,

What is the difference between the following ways of subscribing to receive a UDP Packet.

/* initialize and register pktdump to print received packets */
gnrc_netreg_entry_t server = GNRC_NETREG_ENTRY_INIT_PID(8888, sched_active_pid);
gnrc_netreg_register(GNRC_NETTYPE_UDP, &server);

vs

/* initialize and register pktdump to print received packets */
gnrc_netreg_entry_t server = GNRC_NETREG_ENTRY_INIT_PID(GNRC_NETREG_DEMUX_CTX_ALL,
                                sched_active_pid);
gnrc_netreg_register(GNRC_NETTYPE_UDP, &server);

I was curious because, the value of 'Round Trip Time' triples If I use the 2nd way (bottom one).

Thank you

Regards,
Navneet Pandey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20181105/688a1343/attachment-0001.html>


More information about the users mailing list