<?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>Transfer received data from one service and send that data out on another service.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44620/transfer-received-data-from-one-service-and-send-that-data-out-on-another-service</link><description>Hi, 
 To build the context: I have two peripherals, Sensor 1 and Sensor 2. Sensor 1 has been running off of a NUS service to transmit data. Sensor 2 has been running off of a Custom service to transmit and received data. The data from Sensor 1 needs to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Mar 2019 09:37:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44620/transfer-received-data-from-one-service-and-send-that-data-out-on-another-service" /><item><title>RE: Transfer received data from one service and send that data out on another service.</title><link>https://devzone.nordicsemi.com/thread/175854?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 09:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e3e05e-1612-46f8-acd6-c63afa234689</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Good to hear you got it working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are having issues make sure you check if there are any errors returned when trying to send data. It can be as simple as the buffers in the stack filling up, which the application needs to handle in some way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer received data from one service and send that data out on another service.</title><link>https://devzone.nordicsemi.com/thread/175516?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 07:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a7dba0f-0e17-4fb3-beb5-59e6cf008ab6</guid><dc:creator>BendaEng</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Torbj&amp;oslash;rn,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for getting back to me. After digging in a bunch more the past few days, this is exactly&amp;nbsp;the conclusion I arrived at. I&amp;#39;ve implemented and this works. I&amp;#39;m just working on trying to figure out some of the hard errors that occasionally&amp;nbsp;show up when I try to pass the data from one sensor to the next. Often times these failures are right after a getting data and trying to pass to the other service to be sent out. I&amp;#39;ll keep looking into this and post a question on a different thread if I can&amp;#39;t get it figured out.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer received data from one service and send that data out on another service.</title><link>https://devzone.nordicsemi.com/thread/175514?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 07:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdca4e14-73c4-4cc6-8b53-a62aaa0c2211</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I assume the relay device is acting as a client to both of the sensors?&lt;/p&gt;
&lt;p&gt;If so you should have separate service instances for each sensor, which you have to map to the connection handle of each connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you just have to keep track of the two devices in your application. Once you receive some data from sensor 1 you need to send it out using the service instance of sensor 2.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>