[riot-users] Udp Package RSSI value

Martine Lenders mail at martine-lenders.eu
Thu Mar 22 12:12:06 CET 2018


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

2018-03-22 7:18 GMT+00:00 Ali Kemal Özkan <alchalade at gmail.com>:

> 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
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20180322/11b52e49/attachment.html>


More information about the users mailing list