Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Initializes the SNTPc moduleValidate and schedule a new IPerf test.

Files

sntp-ciperf.h/sntp-ciperf.c

Prototype

Code Block
languagemicrium
CPU_BOOLEAN  SNTPc_Init (const  SNTPc_CFGIPERF_TEST_ID  IPerf_TestStart (CPU_CHAR         *argv,
                                IPERF_OUT_FNCT    p_out_fnct,
                                IPERF_OUT_PARAM  *p_out_cfgparam,
                                SNTPcIPERF_ERR        *p_err);

Arguments

argv

Pointer to the string arguments values.

p_out_cfgfnct

Pointer to the run-time configuration. See Run-time Configuration for further informationstring output function.

p_out_param

Pointer to output function parameters.

p_err            

Pointer to variable that will receive the return error code from this function .:

Returned Values

...

Test ID, if no error.
IPERF_TEST_ID_NONE, otherwise.

Required Configuration

Run-time Module Configuration

Notes / Warnings

This function must be called prior to using other SNTP client functionsNone.

Example Usage

See SeeSample Application.