Hi,
We need to develop a Windows APP to achieve DFU and battery check with nRF52832 by Bluetooth. Does Nordic have DLL that we can use? Or do you have suggestion for us to achieve such APP on Windows?
Hi,
We need to develop a Windows APP to achieve DFU and battery check with nRF52832 by Bluetooth. Does Nordic have DLL that we can use? Or do you have suggestion for us to achieve such APP on Windows?
Hi Liyang,
Please be aware that nRF5 SDK has been on maintenance mode since 2020 as we moved to nRF Connect SDK as the main platform.
We don't have API to use the BLE natively on PC but we provide this to be used with a nRF52 dongle/dev kit connected to PC:
https://github.com/NordicSemiconductor/pc-nrfutil
Inside the tool you will find the dfu functionality that can be used to perform a DFU update. You may find a way to integrate this python tool to your application.
Note that the nrfutil in the link is also deprecated.
Hi Liyang,
Please be aware that nRF5 SDK has been on maintenance mode since 2020 as we moved to nRF Connect SDK as the main platform.
We don't have API to use the BLE natively on PC but we provide this to be used with a nRF52 dongle/dev kit connected to PC:
https://github.com/NordicSemiconductor/pc-nrfutil
Inside the tool you will find the dfu functionality that can be used to perform a DFU update. You may find a way to integrate this python tool to your application.
Note that the nrfutil in the link is also deprecated.
Hi Hung Bui,
Our device is a smart pen, so it doesn't have a dongle.
One more question, about the process
First our device will connect with PC in Windows sytem, then is it possible that the windows APP(what we are developing) send command to the device into DFU? Another thing is that device with DFU mode will connect with the APP directly or the device will connect with Windows directly?
Hi Liyang,
We don't do native Windows BLE application for PC so I have very limited experience on this. You may need to do some test with Windows application. Maybe start from this: https://learn.microsoft.com/en-us/samples/microsoft/windows-universal-samples/bluetoothle/
My suggestion is to try mimic what we do in our nrf DFU app on Android/iOS. You can also take a look at the documentation for the buttonless example. Please try to get familiar with the procedure on how to put the device to bootloader mode from the buttonless application, using nRF Connect app.