where can i find API for sending a command over smp service for downloading a file from file system

hello Nordic

i am working with ncs v2.5.0 (with nrf52840 and nrf52832)

i am using the fs_mgmt.c for upload/download files from lfs.

till now used it only on one side, peripheral which receives a request to download that activate the relevant handlers. 

now we want to download a file with smp with 2 devices, both running on ncs. 

is there an example for api commands for downloading files from another device ? 

if not can you direct to me where to look for that api 

hope to read you soon

best regards

Ziv

Related