File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,21 @@ struct ipc_service_cb {
151151 */
152152 void (* bound )(void * priv );
153153
154+ /** @brief The endpoint unbound by the remote.
155+ *
156+ * This callback is called when the endpoint binding is removed. It may happen on
157+ * different reasons, e.g. when the remote deregistered the endpoint, connection was
158+ * lost, or remote CPU got reset.
159+ *
160+ * You may want to do some cleanup, resetting, e.t.c. and after that if you want to bound
161+ * again, you can register the endpoint. When the remote becomes available again and it
162+ * also registers the endpoint, the binding will be reestablished and the `bound()`
163+ * callback will be called.
164+ *
165+ * @param[in] priv Private user data.
166+ */
167+ void (* unbound )(void * priv );
168+
154169 /** @brief New packet arrived.
155170 *
156171 * This callback is called when new data is received.
You can’t perform that action at this time.
0 commit comments