nRF Connect SDK API 0.1.0
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.

embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA` 

and

embed:rst:inline :kconfig:option:`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.