This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Send a file using NUS

Hi everybody!

My goal now is to use nRF52832 as a intermediary for an update package. In other words, my goal is to send a file (probably .zip package) to a board and save it in the flash (and later send to a main chip via SPI).

I am more or less understand how to use NUS and fstorage library, so from that point of view I am more or less ok. 

However, I do not understand how to send a file from the computer using UART. 

For example, when performing DFU, a dedicated icon in nRF Connect helps to open a "Choose the file..." menu.

Is there something similar for NUS? Or maybe some other ways, best practices to send file from PC to board?

Best regards,

m

Related