<?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>Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16463/master-emulator-not-connecting</link><description>I am using the Master Emulator C# examples to build my own application. None of the examples are able to properly connect to a remote device. When I open up the Master Control panel I can connect to a remote device and read the services. I am having the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 May 2017 07:44:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16463/master-emulator-not-connecting" /><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63010?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 07:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6a24a24-b999-4c1b-9c91-6b41cd13a8d9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@dqnguyen: The ble_pc_driver_py is the python binding on top of ble_pc_driver. The ble_pc_driver provide API to interface to the connectivity firmware on the dongle. So the API on the ble_pc_driver is almost identical to the API provided by the softdevice. You can use the documentation for the softdevice and its header file for the APIs. We provided the examples that you can follow and use.
If you have further question please post your own question in a new case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63009?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 20:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d01db264-f45b-47f7-bfbc-410aa61e2268</guid><dc:creator>dqnguyen</dc:creator><description>&lt;p&gt;@mfdevzone: if I only need to connect the nrf dongle to my BLE device, I don&amp;#39;t really need to set up the pipes right? Still wonder what I&amp;#39;m missing here when the Connect() command always return false...I tried your suggestion to make sure stop discovery before connect but it still doesnt work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63008?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 18:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64525cce-01fb-45d1-9414-a5f3df7512f1</guid><dc:creator>mfdevzone</dc:creator><description>&lt;p&gt;@dqnguyen: The pipes are the &amp;quot;master&amp;quot; side version of the attributes for your device. So for example, if I have an attribute, I have to define it in the firmware (running on my device) and then have to define it as a pipe on the master side. This post has some useful information: &lt;a href="https://devzone.nordicsemi.com/question/82654/masteremulator-how-to-setuppipes/#121832"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63006?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 15:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bbd2eef-f0fd-492d-9165-eb8e4ad93e75</guid><dc:creator>dqnguyen</dc:creator><description>&lt;p&gt;hi Hung, is there a documentation on how to use the new ble_pc_driver and build scripts around it like the one that came with master emulator? I found that one actually nicely documented.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63007?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 10:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efc3d4a4-5348-4015-bd6e-c4b825bb6596</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@dq: For new application please use &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py"&gt;our ble_pc_driver instead&lt;/a&gt;. Master Emulator is obsolete.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63005?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 19:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbf15618-5136-4945-a584-d2cf3b4567dd</guid><dc:creator>dqnguyen</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to use the Master emulator API to write a script in IronPython to automate the connection steps without Master Control Panel but I have the same problem here.
I was able to create a MasterEmulator instance, EnumerateUsb(), open(), run() and connect to mynrf51 dongle. However, I tried both ways using DiscoverDevices() or StartDeviceDiscovery() then StopDeviceDiscovery(), it still always return False when I attempt to connect(BTDeviceAddress).&lt;/p&gt;
&lt;p&gt;What am I missing here? My main goal is just connect the nrf dongle to my BLE device. Do I need to discover the pipes too? What are the pipes for? Thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63004?ContentTypeID=1</link><pubDate>Sat, 18 Mar 2017 20:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dcf4d51-4e5d-4938-96c9-e78c529c9136</guid><dc:creator>mfdevzone</dc:creator><description>&lt;p&gt;Posting to possibly help others who hit this same problem.&lt;/p&gt;
&lt;p&gt;Device discovery in master emulator can be performed by:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;StartDeviceDiscovery(); //returns asynchronously, then reports devices when found
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;DiscoverDevices(); //runs for default 1 sec, then returns a collection
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you go the &amp;quot;StartDeviceDiscovery&amp;quot; route, I think it&amp;#39;s necessary to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;StopDeviceDiscovery();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;before attempting a device connection. The isn&amp;#39;t consistent with their documentation (this is likely a bug in Nordic emulator code) but whatever. This passed the strenuous works-on-my-machine test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63003?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 12:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:327b3ced-effa-43a2-a87c-f51ec61a7ceb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry for the late response.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s strange the the example didn&amp;#39;t work well for you.&lt;/p&gt;
&lt;p&gt;Could you state a little bit more on your environment, which OS are you using ? Which hardware ?
Do you have any troble with pc_ble_driver ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63001?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 15:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b1097c9-b9eb-443d-b660-d9a884bb5425</guid><dc:creator>Topher</dc:creator><description>&lt;p&gt;No error. The method returns True/False and for me will always return false. This is true for all the examples as well as my code. My end goal is to use the discoverservices() method but for that I first need to connect properly. Once I get that that is all I need. But I will look into the pc_ble_drivers. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master Emulator not connecting</title><link>https://devzone.nordicsemi.com/thread/63002?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 13:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c4b63ee-9066-4ffa-8cf1-006d7a6786bf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Topher: What exactly the error/issue you have when you try to connect ? Have you managed to scan for devices ?&lt;/p&gt;
&lt;p&gt;The MasterEmulator library is no longer maintaining and developing, we suggest to use the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc_ble_driver&lt;/a&gt; instead.&lt;/p&gt;
&lt;p&gt;There are some examples in the python binding &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/tree/master/python/pc_ble_driver_py/examples"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>