nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_cloud_fota_is_type_enabled()

bool nrf_cloud_fota_is_type_enabled ( const enum nrf_cloud_fota_type type)

#include <include/net/nrf_cloud.h>

Determine if the specified FOTA type is enabled by the configuration. This function returns false if both.

CONFIG_NRF_CLOUD_FOTA 

and

CONFIG_NRF_CLOUD_REST 

are disabled. REST-based applications are responsible for implementing FOTA updates for all configured types.

Parameters
[in]typeFota type.
Return values
trueSpecified FOTA type is enabled by the configuration.
falseSpecified FOTA type is not enabled by the configuration.