Create a new desktop APP to replace nRF Connect for Desktop

 Hi, 

We are using nRF Connect for Desktop as the production fixture to test the BLE function of our products. To automate some testing procedures in production, we want to refer the source code of nRF Connect for Desktop to develop a new desktop application to reduce some manual operation. This new app should have the functions below: 1. Identify the BLE dongle; 2. Scan the device; 3. Connect the DUT; 4. Perform Write operation.  

Can you please help to provide any related library and parameters for development? Thanks!    

Best Regards,

  • Hello,

    There are two approaches you can take to achieve this:

    The first way is to use the pc-ble-driver which essentially is a serialization of the SoftDevice, so that you may control it using your own cpp program. This is the most straight forward approach, but the downside to this approach is that the pc-ble-driver is based on the nRF5 Softdevice, which is now in maintainance mode, and so the pc-ble-driver strictly speaking is deprecated.

    The other alternative is for you to create your own serialization, for instance through starting out with one of the Bluetooth Central applications in the SDK, adding UART to it, and then program it to perform the connectivity commands you need based on commands sent to it over UART.

    If the only connectivity functionality you need for the time being is the one you have described above (scan for DUT, connect, perform a write) then I would suggest going with the second approach, since that would be the simplest and most straight forward approach.

    Please do not hesitate to let me know if you should have any follow-up questions, or if any part of this should be unclear! :) 

    Best regards,
    Karl

  • hi,

    I'm working on a similar project I have to make the application using c#. Do you have any suggestion how I can approach this. An open-source application is much appreciated. 

  • Hello, 

    Nothing new from what is written below. For further assistance please register a new DevZone ticket.

    Kind regards,
    Øyvind

Related