Dear Fellow developers
I am developing an application where I need several nrf51 USB dongles (S120) attached to a PC, and I need a way to distinguish one dongle from another. I am using the ble_driver_win_0.3.0 S120 softdevice with unmanaged C++ on a win8 PC.
An easy way of distinguishing the dongles is by their Segger ID, which is needed anyway for resetting the dongle using nrfjprog. Problem is, how do I know which COM port they are on?
In the ‘Master Emulator’ (managed-) dll there is a function called something like ‘Enumerate Dongles’ which I suppose does exactly this, but unfortunately the same function does not exist in the ble_driver_win_0.3.0.
My first idea to solve the problem is to read the MAC address on each dongle by using nrfjprog, and then opening each COM port and read the MAC address using the ble_driver_win_0.3.0 dll, but this seems like a long way around a relative small problem.
Do you have any suggestions to how I relate COM ports and Segger IDs?