<?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>Multiple notifications on multiple characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6487/multiple-notifications-on-multiple-characteristics</link><description>Using Blend Micro (Arduino Uno + nRF8001) to gather environmental sensor data and send to mobile via notifications. Here&amp;#39;s my main loop: 
 void loop()
{
 aci_loop();
 
 if (lib_aci_is_pipe_available(&amp;amp;aci_state, PIPE_AIR_QUALITY_SENSOR_TEMPERATURE_MEASUREMENT_TX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Apr 2015 15:45:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6487/multiple-notifications-on-multiple-characteristics" /><item><title>RE: Multiple notifications on multiple characteristics</title><link>https://devzone.nordicsemi.com/thread/22642?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 15:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c98229-ef29-404c-a8ba-b45581c6ebc6</guid><dc:creator>carltonlee</dc:creator><description>&lt;p&gt;I have tried a for loop to try to make it cycle through the pipes that are open, but it always defaults to the first one in the cycle that is open. I confess that I&amp;#39;m still trying to figure out this API and don&amp;#39;t really understand how ack works in relation to notifications... I thought it only applied to read/write.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple notifications on multiple characteristics</title><link>https://devzone.nordicsemi.com/thread/22641?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2015 14:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2432fa61-0415-4ac0-b006-319244c6203e</guid><dc:creator>Modes R.</dc:creator><description>&lt;p&gt;If you look in deep into your source code, there is a parameter called &amp;quot;radio_ack_pending&amp;quot; that is setting to &amp;quot;true&amp;quot; after the sending of the first message through the PIPE_AIR_QUALITY_SENSOR_TEMPERATURE_MEASUREMENT_TX. The meaning of this parameter is related to the &amp;quot;aci_state.data_credit_available&amp;quot; parameter (check the doc). With this code, it&amp;#39;s quite hard to send messages through all the pipes at the same time.&lt;/p&gt;
&lt;p&gt;I recommend to you the implementation of some kind of token ring /multiplex algorithm in order to scan the availability of the pipes in different times. You can use in your &amp;quot;loop()&amp;quot; method a simple integer variable or some flags to activate/deactivate the scanning process between the GATTServices; or you can look for more complex C algorithms to carry on this task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>