openthread_sys::spinel

Constant SPINEL_PROP_THREAD_LINK_METRICS_QUERY_RESULT

Source
pub const SPINEL_PROP_THREAD_LINK_METRICS_QUERY_RESULT: _bindgen_ty_24 = 5422;
Expand description

Link metrics query result ** Format: 6Ct(A(t(CD))) - Unsolicited notifications only *

  • Required capability: SPINEL_CAP_THREAD_LINK_METRICS
  • 6 : IPv6 destination address
  • C : Status
  • t(A(t(CD))) : Array of structs encoded as following:
  • C : Metric id
  • D : Metric value
  • +—————+––+––––––––+
  • | Metric | Id | Value format |
  • +—————+––+––––––––+
  • | Received PDUs | 0 | L (uint32_t) |
  • | LQI | 1 | C (uint8_t) |
  • | Link margin | 2 | C (uint8_t) |
  • | RSSI | 3 | c (int8_t) |
  • +—————+––+––––––––+

*/