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