CONFIG_PELION_PAL_USE_APPLICATION_NETWORK_CALLBACK

Use network status callback provided by application

Type: bool

Help

Provide setter for registering network status callback function in
application. Application uses callback function to notify Pelion client
about changes in network connectivity, enabling the client to refrain
from sending data during network loss.

Signature for C function:
#include "pal.h"
palStatus_t pal_plat_setConnectionStatusCallback(uint32_t interfaceIndex,
                                                 connectionStatusCallback callback,
                                                 void *client_arg)

Direct dependencies

PELION_SOURCES && PELION_CLIENT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/pelion-dm/zephyr/Kconfig.pal:39

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:26/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/pelion-dm/zephyr/Kconfig:32

Menu path: (Top) → Modules → pelion-dm (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/pelion-dm) → Pelion Device Management Client Library → Build Pelion client from sources → Platform Abstraction Layer options

config PELION_PAL_USE_APPLICATION_NETWORK_CALLBACK
    bool "Use network status callback provided by application"
    depends on PELION_SOURCES && PELION_CLIENT
    help
      Provide setter for registering network status callback function in
      application. Application uses callback function to notify Pelion client
      about changes in network connectivity, enabling the client to refrain
      from sending data during network loss.

      Signature for C function:
      #include "pal.h"
      palStatus_t pal_plat_setConnectionStatusCallback(uint32_t interfaceIndex,
                                                       connectionStatusCallback callback,
                                                       void *client_arg)

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)