From 7fb2124933d86cdc5a48664ae2bbd5f3a249692f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 27 Jul 2017 11:27:58 +0200 Subject: [PATCH] Use new version of UTCP which also return errors via the poll callback. --- src/meshlink.h | 3 ++- src/utcp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/meshlink.h b/src/meshlink.h index 2ecbfff3..5ac1e84d 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -638,7 +638,8 @@ typedef void (*meshlink_channel_receive_cb_t)(meshlink_handle_t *mesh, meshlink_ * * @param mesh A handle which represents an instance of MeshLink. * @param channel A handle for the channel. - * @param len The maximum amount of data that is guaranteed to be accepted by meshlink_channel_send(). + * @param len The maximum amount of data that is guaranteed to be accepted by meshlink_channel_send(), + * or 0 in case of an error. */ typedef void (*meshlink_channel_poll_cb_t)(meshlink_handle_t *mesh, meshlink_channel_t *channel, size_t len); diff --git a/src/utcp b/src/utcp index 5ded6337..d3b3b958 160000 --- a/src/utcp +++ b/src/utcp @@ -1 +1 @@ -Subproject commit 5ded633782709710c42648c71154d6062e83b7a6 +Subproject commit d3b3b958b5555dfe0e20844135bff1d8b838f1dc -- 2.39.2