<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>One-to-many event handling for Zephyr with data transfer?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88929/one-to-many-event-handling-for-zephyr-with-data-transfer</link><description>We have been looking for a standard (in Zepyhyr or SDK) way of handling communications between our software modules (drivers, modules, threads) that generate multiple streams of data. Everything from ADC samples to battery SOC updates that may need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Nov 2022 20:10:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88929/one-to-many-event-handling-for-zephyr-with-data-transfer" /><item><title>RE: One-to-many event handling for Zephyr with data transfer?</title><link>https://devzone.nordicsemi.com/thread/396089?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 20:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81a3f5e1-7759-4ad8-9a39-b9e385912b48</guid><dc:creator>rodrigopex</dc:creator><description>&lt;p&gt;Zbus is part of Zephyr now. You can use Zephyr&amp;#39;s main (unstable) version to test Zbus in your solution. I would encourage you to take a look at the samples. If you have questions, please let me know. Reach out at Zephyr&amp;#39;s Discord &lt;a href="https://discordapp.com/channels/720317445772017664/1042530682011926631."&gt;discordapp.com/.../1042530682011926631.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: One-to-many event handling for Zephyr with data transfer?</title><link>https://devzone.nordicsemi.com/thread/372601?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 13:44:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f9978a9-035c-4388-b59e-e3abddfb3182</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I asked a developer internally that&amp;#39;s been working with the AEM and got some insight.&lt;/p&gt;
&lt;p&gt;Regarding the question about needing to copy data when there is a lot of consumers (since the data will be lost after it&amp;#39;s delivered to all listeners), this will be the case in most similar systems, as amount of memory is limited and you can&amp;#39;t hold data indefinitely.&lt;/p&gt;
&lt;p&gt;AEM is asynchronous&amp;nbsp;(messages (events) are delivered in strictly defined order), and is used to simplify applications by reducing the amount of threads. It seems like you&amp;#39;re looking for a system to transfer data between multiple threads. In that case Zbus might be a better option:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/45910"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/45910&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>