<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Get link quality from a coap client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100635/get-link-quality-from-a-coap-client</link><description>Hi, 
 I want to get a measure of link quality of a OpenThread network from the CoAP client side. I have used &amp;#39; otThreadGetParentAverageRssi ()&amp;#39; from the client to get RSSI seen from the parent (?), which seems to decrease when distance between the server</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jun 2023 12:55:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100635/get-link-quality-from-a-coap-client" /><item><title>RE: Get link quality from a coap client</title><link>https://devzone.nordicsemi.com/thread/430248?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 12:55:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eb6d6e5-6257-4bf3-86df-4dda3ba4b6c5</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hmm the API docs for &lt;a href="https://openthread.io/reference/group/api-thread-general#otthreadgetparentinfo"&gt;otThreadGetParentInfo&lt;/a&gt;&amp;nbsp;does not&amp;nbsp;define a list of valid return values, and that is a bit strange given that the function header clearly expects a return value. I suggest you monitor this return value.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, RSSI is not a direct representation of Link Quality so their values will not match. I don&amp;#39;t know the LQI algorithm that is used for 802.15.4/OpenThread, but I suspect that that it aggregates more datapoints than RSSI, then filter and fuse the data into a single variable called Link Quality.&amp;nbsp;The response-time of the LQI algo is likely way slower than the RSSI sample rate, who is probably updated for every packet received.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get link quality from a coap client</title><link>https://devzone.nordicsemi.com/thread/430097?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 05:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b677540c-965e-458a-8ab7-a5f6926a2677</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi, Strange, the link quality seems to be working today. I will keep an eye on this. Are there any conditions this &amp;#39;&lt;span&gt;otThreadGetParentInfo()&lt;/span&gt;&amp;#39; could fail? I must confess I have not tested the return value to be &amp;#39;OT_ERROR_NONE&amp;#39;.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kaushalya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>