Rak4631 firmware update over UART port using external device

HELLO!
I would like you to be able to guide me to be able to upload firmware updates through the Serial port, I have the Wisblock connected to a device that is continuously receiving data from the wisblock through rs232, it is not possible for me to upload through OTA BLE because I do not have continuous access to the wisblock, then I would like to upload an update to the wisblock via the connected device. I see adafruit has the dfu_Serial example but I don’t know how to handle it as the example is only 1 line of code.

#include <Arduino.h>
#include <Adafruit_TinyUSB.h> // for Serial

void setup() 
{
  enterSerialDfu();
}
void loop() 
{
}

Hello Jorge,

The example only shows how to force the nRF52 into Serial DFU mode, after that it waits for firmware upgrade sent over the USB port.

Device Firmware Update over the other serial ports (Not USB) is not supported by the bootloader.

If you want to do DFU over USB from a device different to a computer, you will have to mimic the
protocol of the updater tool nRFutil.