@@ -398,10 +398,13 @@ rate by following design tips:
398
398
399
399
.. warning ::
400
400
ZBus uses :zephyr_file: `include/zephyr/net/buf.h ` (network buffers) to exchange data with message
401
- subscribers. So, chose carefully the configurations
401
+ subscribers. Thus, choose carefully the configurations
402
402
:kconfig:option: `CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_POOL_SIZE ` and
403
403
:kconfig:option: `CONFIG_HEAP_MEM_POOL_SIZE `. They are crucial to a proper VDED execution
404
- (delivery guarantee) considering message subscribers.
404
+ (delivery guarantee) considering message subscribers. If you want to keep an isolated pool for a
405
+ specific set of channels, you can use
406
+ :kconfig:option: `CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_POOL_ISOLATION ` with a dedicated pool. Look
407
+ at the :zephyr:code-sample: `zbus-msg-subscriber ` to see the isolation in action.
405
408
406
409
.. warning ::
407
410
Subscribers will receive only the reference of the changing channel. A data loss may be perceived
@@ -410,7 +413,6 @@ rate by following design tips:
410
413
only the last data is there.
411
414
412
415
413
-
414
416
.. _zbus delivery sequence :
415
417
416
418
Message delivery sequence
@@ -898,6 +900,8 @@ Related configuration options:
898
900
buffers;
899
901
* :kconfig:option: `CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_POOL_SIZE ` the available number of message
900
902
buffers to be used simultaneously;
903
+ * :kconfig:option: `CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_POOL_ISOLATION ` enables the developer to isolate
904
+ a pool for the message subscriber for a set of channels;
901
905
* :kconfig:option: `CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_STATIC_DATA_SIZE ` the biggest message of zbus
902
906
channels to be transported into a message buffer;
903
907
* :kconfig:option: `CONFIG_ZBUS_RUNTIME_OBSERVERS ` enables the runtime observer registration.
0 commit comments