[riot-users] Udp Package RSSI value

Ali Kemal Özkan alchalade at gmail.com
Fri Mar 23 13:09:26 CET 2018


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

Best,
Kemal

2018-03-22 12:12 GMT+01:00 Martine Lenders <mail at martine-lenders.eu>:

> 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
>>
>>
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>
>


-- 
Grüße
Kemal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20180323/28e49b2e/attachment.html>


More information about the users mailing list