Udp Package RSSI value

Hi together, Is there a way to get rssi programmatically from a received package over UdpSockApi “sock_udp_recv”?

I read almost everything twice on the documentation but I couldn’t find anything about the communication quality as a variable or as a function.

Best Regards, Kemal

Hi Kemal,

sadly there is non. You have to use gnrc_netapi [1] instead then (it’s what is used by sock underneath when you are using GNRC) [1]. The RSSI of a packet is stored in it’s GNRC_NETTYPE_NETIF header [2]. Hope that helps.

Cheers, Martine

[1] http://doc.riot-os.org/group__net__gnrc__netapi.html [2] http://doc.riot-os.org/group__net__gnrc__netif__hdr.html

Hi Martine, thank you very much for the hint. I was really helpful. Now I’m able to dump the RSSI.

Best, Kemal