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

NRF9160 FOTA over HTTPS

Hi,

I've been skimming through the NRF9160 FOTA samples and related libraries(1.1 and master) and having hard time to understand some of the basics.

My assumptions are:

1) It looks like fota_download library does not support TLS at all(sec_tag is hard-coded to -1)

2) download_client does support TLS, but e.g. HTTP header is hard-coded

So if in my case if I would like to download binary over HTTPS and authenticate e.g. with api-key set in HTTP header, that looks like mission impossible with the current libraries. Is this true or did I misunderstood something. And if this is true, can you share the "roadmap" of the development of these libraries? I am just wondering whether I should fork them and butcher them to fit my needs or maybe wait/contribute to get them more flexible or something.

Thanks

Related