<?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>DataReceived Not Firing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18783/datareceived-not-firing</link><description>I&amp;#39;m trying to use MasterEmulator with the service from BLE Characteristics, a beginner&amp;#39;s tutorial and am not able to get the temperature data because the Datareceived event does not fire. Here is how I have the pipe setup: 
 public void PerformPipeSetup</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jan 2017 17:26:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18783/datareceived-not-firing" /><item><title>RE: DataReceived Not Firing</title><link>https://devzone.nordicsemi.com/thread/72559?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2017 17:26:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a43d098a-c4dc-4208-af3e-2b388f86063a</guid><dc:creator>Jim Hewitt</dc:creator><description>&lt;p&gt;I was able to get this to work by using the following in PipeSetup:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        BtUuid BtleUuid = new BtUuid(&amp;quot;0000F00D1212EFDE1523785FEF13D123&amp;quot;);
        masterEmulator.SetupAddService(BtleUuid, PipeStore.Remote);

        BtUuid notifyUuid = new BtUuid(&amp;quot;0000BEEF1212EFDE1523785FEF13D123&amp;quot;);
        int notifyMaxLength = 20;
        byte[] notifyData = null;
        masterEmulator.SetupAddCharacteristicDefinition(notifyUuid, notifyMaxLength, notifyData);

        pipe1 = masterEmulator.SetupAssignPipe(PipeType.Receive);
        pipe2 = masterEmulator.SetupAssignPipe(PipeType.ReceiveRequest);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;OnDataReceived is now firing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DataReceived Not Firing</title><link>https://devzone.nordicsemi.com/thread/72558?ContentTypeID=1</link><pubDate>Sat, 07 Jan 2017 16:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f6589f0-b227-4f94-a6fe-0a4a9bd6f2ea</guid><dc:creator>Jim Hewitt</dc:creator><description>&lt;p&gt;@Hung - I&amp;#39;m still working on this.  I deleted the question because, truthfully, I haven&amp;#39;t done my due diligence on it.  I will undelete and update when I get it working.  Looking at Proximity and HID demos.  They are helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DataReceived Not Firing</title><link>https://devzone.nordicsemi.com/thread/72557?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2017 09:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d63d0ae6-d117-4e25-a5a5-d9b168f28a38</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jim,&lt;/p&gt;
&lt;p&gt;Could you confirm you managed to fix the issue ?&lt;/p&gt;
&lt;p&gt;Note that the 0xBEEF UUID in the tutorial is 128 bit UUID with the base UUID = BLE_UUID_OUR_BASE_UUID, it&amp;#39;s not the 16bit UUID like you are using now. You should check the UUID when you use nRFConnect or Master Control Panel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DataReceived Not Firing</title><link>https://devzone.nordicsemi.com/thread/72556?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 20:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:590fdd77-dee3-4db1-acd5-907e2f608767</guid><dc:creator>Jim Hewitt</dc:creator><description>&lt;p&gt;@Hung - Thanks for your response.  I think most of my problems stem from commenting out the &amp;quot;Tasks&amp;quot;.  I assume this interfered with the callbacks.  Also, I looked at the code from the Proximity demo and believe this will help.  Note that the &amp;quot;BEEF&amp;quot; UUID comes straight from the tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DataReceived Not Firing</title><link>https://devzone.nordicsemi.com/thread/72555?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 14:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ae2f5e7-3070-480e-aedf-c24ef6e7a83e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you called OpenRemotePipe or OpenAllRemotePipes after you get connected ?&lt;/p&gt;
&lt;p&gt;The Receive pipe need to be &amp;quot;open&amp;quot; to be able to receive notification. Open here means to toggle CCCD/notification.&lt;/p&gt;
&lt;p&gt;Also you have to make sure you have your characerteristic UUID match with &amp;quot;BEEF&amp;quot; UUID you used.
It&amp;#39;s not a standard Bluetooth SIG 16Bit UUID, but you can use for testing purpose.&lt;/p&gt;
&lt;p&gt;I assume when you test your application on the chip with the nRFConnect application it works fine ?&lt;/p&gt;
&lt;p&gt;Have you tried to test the Master Emulator example (nRFUART) with the ble_app_uart firmware in the SDK ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>