Doing an FOTA via ble using a Nordic Development kit

Hi,

I have a Nordic Development Kit (NDK) that is connected to a Raspberry Pi via USB.The NDK uses Nordic UART Service Central (NUS_C) to connect to a nearby Nordic Device (Test Unit) and Send Data. The Test Unit has NUS Peripheral and DFU service. Using NRF connect for Andriod, I have successfully done a FOTA over ble on the Test Unit .

My question is: is there any service I can add to the NDK that will allow me to do the FOTA using the NDK itself?

the NDK is NRF52832 module (PCA10040)
the Test Unit is also a NRF52832.

Note : I Know that I can use a Nordic USB Dongle and NRF Connect for PC for the Task, But I want to add the FOTA Feature on The NDK.
The NDK is successfully able to Connect and Transmit Data using NUS. The connection Filters are set to Mac-address.

Parents Reply
  • Eucaristo said:
    Whatever the pc-ble-driver plus the ble_connectivity.hex  does we want that connectivity hex part to be integrated on our NDK side. Please Suggest how to proceed with this integration.

    For this you would need to manually implement sending FOTA images in the nRF5 SDK, as explained below.
    Then you must decide how you want to transfer the file from the Raspberry Pi to the dongle.

    This will be a lot of work.
    As long as you do not have memory limitations on the raspberry pi, I suggest that you use the raspberry pi to host pc-ble-driver, and then just run ble_connectivity.hex on the dongle. As far as I can see, this will do the exact same thing as what you are trying to do.
    See Connection 3B+ ARMv8 and NRF 52840 Dongle  for how to use the pc-ble-driver with a raspberry pi.

    Regards;
    Sigurd Hellesvik

Children
Related