pub unsafe extern "C" fn otBorderRouterSetNetDataFullCallback(
    aInstance: *mut otInstance,
    aCallback: otBorderRouterNetDataFullCallback,
    aContext: *mut c_void
)
Expand description

Sets the callback to indicate when Network Data gets full.

Requires OPENTHREAD_CONFIG_BORDER_ROUTER_SIGNAL_NETWORK_DATA_FULL.

The callback is invoked whenever:

  • The device is acting as a leader and receives a Network Data registration from a Border Router (BR) that it cannot add to Network Data (running out of space).
  • The device is acting as a BR and new entries cannot be added to its local Network Data.
  • The device is acting as a BR and tries to register its local Network Data entries with the leader, but determines that its local entries will not fit.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback The callback. @param[in] aContext A pointer to arbitrary context information used with @p aCallback.