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

  • @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.

Reply
  • @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.

Children
No Data
Related