This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Master Emulator not connecting

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 same issue when I use the masterEmulator.Connect(BtDeviceAddress) method. Any advice? Or is the source code for the master control panel available so I can review how that is getting the job done? Thanks.

Parents
  • I'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).

    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!!

  • @mfdevzone: if I only need to connect the nrf dongle to my BLE device, I don't really need to set up the pipes right? Still wonder what I'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

Reply Children
No Data
Related