<?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>MasterEmulator - how to setupPipes?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14374/masteremulator---how-to-setuppipes</link><description>Hello
could anyone help me how to setup pipes for my characteristic, i need to recieve/transmit data to UUID of my characteristic, and recieve/trasmit to ClientcharacteristicConfiguration but iam not sure how to setup pipes, here is my service and characteristic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Mar 2017 23:19:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14374/masteremulator---how-to-setuppipes" /><item><title>RE: MasterEmulator - how to setupPipes?</title><link>https://devzone.nordicsemi.com/thread/54881?ContentTypeID=1</link><pubDate>Sat, 18 Mar 2017 23:19:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:798e3e7f-a1a3-4071-91a2-a6845e6615dc</guid><dc:creator>mfdevzone</dc:creator><description>&lt;p&gt;One additional gotcha for future readers:&lt;/p&gt;
&lt;p&gt;If you are specifying your custom service with a full 128-bit (16byte) UUID, your subsequent characteristics ALSO need to be specified with a full 128-bit UUID. This seems inconsistent with the Nordic softdevice firmware api, where you specify the base service as full 128-bit, then use 2-byte attribute UUIDs, but whatever.&lt;/p&gt;
&lt;p&gt;So working from the Nordic example code found in nrfuart::pipesetup.cs:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   /* GAP service */
    BtUuid uartOverBtleUuid = new BtUuid(&amp;quot;6e400001b5a3f393e0a9e50e24dcca9e&amp;quot;);
    masterEmulator.SetupAddService(uartOverBtleUuid, PipeStore.Remote);

    /* UART RX characteristic (RX from peripheral&amp;#39;s viewpoint) */

    BtUuid uartRxUuid = new BtUuid(&amp;quot;6e400002b5a3f393e0a9e50e24dcca9e&amp;quot;);
    int uartRxMaxLength = 20;
    byte[] uartRxData = null;
    masterEmulator.SetupAddCharacteristicDefinition(uartRxUuid, uartRxMaxLength,
        uartRxData);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MasterEmulator - how to setupPipes?</title><link>https://devzone.nordicsemi.com/thread/54880?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 19:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1241a2de-9d3e-4bb9-9a9b-3dbb71e31052</guid><dc:creator>Jim Hewitt</dc:creator><description>&lt;p&gt;Take a look at the&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;PipeSetup.cs&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;in the HidDemo under C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.13.14\Example code.  It has an example using SetupAddCharacteristicDescriptor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MasterEmulator - how to setupPipes?</title><link>https://devzone.nordicsemi.com/thread/54879?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 08:31:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a60f23f2-a6b0-49c3-8294-e8fe9f76f6ef</guid><dc:creator>wojciech.warmuz</dc:creator><description>&lt;p&gt;thank you for answer,
I didn&amp;#39;t now how to configure the pipes, now I know if i set correct pipe type it will enable the services, for example for my characteristic i have Write, Indicate, and when i set the pipe type to RevieveWithAck it will auto activate my characteistic.
Just now i dont know how to get value of this indicate, because my characteristic doesnt have read Property i cant simply use RequestData(), but dont know yet how to configure events by emulator API&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MasterEmulator - how to setupPipes?</title><link>https://devzone.nordicsemi.com/thread/54878?ContentTypeID=1</link><pubDate>Sat, 11 Jun 2016 20:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87bf4ea3-1fb6-47a1-907d-b415557577c8</guid><dc:creator>Bj&amp;#248;rn Inge</dc:creator><description>&lt;p&gt;Hi, in MasterEmulator you need to configure pipes for all characteristics/descriptors you want to interact with. The two best resources to see how it is used is to look at the example projects and to look at PipeTypes in the .chm help file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MasterEmulator - how to setupPipes?</title><link>https://devzone.nordicsemi.com/thread/54877?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2016 12:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5badba2c-d7c3-4689-bf1f-992dd3556ef1</guid><dc:creator>wojciech.warmuz</dc:creator><description>&lt;p&gt;Ok I did a bit research, and first I need to enable CCCD for me characteristic, still dont know how to do it via API, i guess i need a pipe for it, still dont know how to setup it correcly i think&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>