mco_edge_params_init

Initializes the mco_edge_params_t structure with default values.

For an overview, see the Edge Client page.

Prototype

    void mco_edge_params_init(mco_edge_params_t *params);
    

Arguments

params
Pointer to an mco_edge_params_t structure. The structure will be populated with safe default values suitable for edge database initialization. For a detailed description of the structure fields, see Edge Parameters.

Description

Initializes all fields of the mco_edge_params_t structure with default values, analogous to mco_db_params_init() in the core runtime.

This function should be called immediately after declaring the parameter structure and before passing it to edge-specific configuration or initialization routines. It ensures that all reserved fields are properly zeroed and that operational parameters are set to their recommended defaults. After initialization, specific fields can be safely overridden to match application requirements.

Files

Header file:
mcoedge.h
Source file:
mcoedgedb.c
Library:
libmcoiotedge.a