Can I implement nRF Connect for Desktop software functions similar to those provided by the manufacturer based on C + +

Hello!
nRF Connect for Desktop is a desktop executable program provided by the manufacturer, which contains the function of ble.
Now I want to extract the functions of ble and use QT and C + + to implement the same graphical software for the chips we purchase.
Is it feasible?

The chip we purchased is NRF 52840

Parents
  • Hi

    I assume your first questions refer to the drivers/libraries in the nRF5 SDK, that is used to develop applications on the nRF52840, correct?

    1. Yes our SDK is based on the C language, and not C++. I don't know what requirements you want to realize here, but we recommend using our SDK and drivers/libraries for development. You're of course free to make something yourself in C++, and we have had many questions over the years on adding C++ libraries etc. into our SDK.

    2. I'm not sure I understand this question, but yes, the libraries and examples in our SDK are complete. Although not designed for C++. You can check out this library on GitHub that adds support for C++. Please note that this is not an official library made by Nordic though, so we can't give you any guarantees.

    3. Can you describe what you mean by "secondary development of desktop programs"? 

    4. No, I have not personally worked on R&D of the nRF52840 SoC, but I can ask the people who did if I need to forward specific questions. I am one of Nordic's Support engineers, so my replies can be trusted if that's what you're asking.

    5. There will be some software development required as well in order to use the nRF52840 as a USB communication. Our SDK is the recommended tool to do so, but it's not required to use and can be used as an aid. You're free to do this your own way if you prefer.

    6. Do you have multiple devices running with the heart_rate_monitor example project? It only scans for devicies advertising the heart rate service by default, so you need to edit the scan parameters to allow all devices to be visible.

    Best regards,

    Simon

Reply
  • Hi

    I assume your first questions refer to the drivers/libraries in the nRF5 SDK, that is used to develop applications on the nRF52840, correct?

    1. Yes our SDK is based on the C language, and not C++. I don't know what requirements you want to realize here, but we recommend using our SDK and drivers/libraries for development. You're of course free to make something yourself in C++, and we have had many questions over the years on adding C++ libraries etc. into our SDK.

    2. I'm not sure I understand this question, but yes, the libraries and examples in our SDK are complete. Although not designed for C++. You can check out this library on GitHub that adds support for C++. Please note that this is not an official library made by Nordic though, so we can't give you any guarantees.

    3. Can you describe what you mean by "secondary development of desktop programs"? 

    4. No, I have not personally worked on R&D of the nRF52840 SoC, but I can ask the people who did if I need to forward specific questions. I am one of Nordic's Support engineers, so my replies can be trusted if that's what you're asking.

    5. There will be some software development required as well in order to use the nRF52840 as a USB communication. Our SDK is the recommended tool to do so, but it's not required to use and can be used as an aid. You're free to do this your own way if you prefer.

    6. Do you have multiple devices running with the heart_rate_monitor example project? It only scans for devicies advertising the heart rate service by default, so you need to edit the scan parameters to allow all devices to be visible.

    Best regards,

    Simon

Children
  • Thank you very much for your reply

    I have understood most of your answers, so let me explain your questions below. My English expression is not very good. I will describe it as clearly as possible. Thank you.

    3. Can you describe what you mean by "secondary development of desktop programs"? 

    The requirements of this software are as follows:
    1. This software needs to run on the operating systems of Windows 7 and windows 10.
    2. The function of this software is the same as nRF Connect for Desktop: scan and obtain ble devices in the surrounding environment by inserting NRF 52840 chip into USB port on PC, and conduct two-way communication after establishing connection with specific ble devices.
    3. The whole software use process is visual and can be operated by mouse or keyboard.
    4. Our hardware engineers have implemented ble scanning equipment designed with NRF 52840 chip.

    In short, I want to implement a desktop software similar to nRF Connect for Desktop. However, a graphical interface should be implemented with QT and C + +.

Related