nRF Connect SDK API 0.1.0
|
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.
[in] | type | Fota type. |
true | Specified FOTA type is enabled by the configuration. |
false | Specified FOTA type is not enabled by the configuration. |