From ec59d20bafb3acaaff2bbcab185a074825319e20 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Mon, 12 Jun 2017 11:17:04 +0200 Subject: Update package * use sub module for ucs2-lib (tmp fork from IoT.bzh github) * add packaging for native build Signed-off-by: Ronan Le Martret --- ...v_e_r_y_ga61b182f93d2815857f62ea51782bb13d.html | 151 --------------------- 1 file changed, 151 deletions(-) delete mode 100644 ucs2-lib/doc/html/group___g___u_c_s___n_o_d_e___d_i_s_c_o_v_e_r_y_ga61b182f93d2815857f62ea51782bb13d.html (limited to 'ucs2-lib/doc/html/group___g___u_c_s___n_o_d_e___d_i_s_c_o_v_e_r_y_ga61b182f93d2815857f62ea51782bb13d.html') diff --git a/ucs2-lib/doc/html/group___g___u_c_s___n_o_d_e___d_i_s_c_o_v_e_r_y_ga61b182f93d2815857f62ea51782bb13d.html b/ucs2-lib/doc/html/group___g___u_c_s___n_o_d_e___d_i_s_c_o_v_e_r_y_ga61b182f93d2815857f62ea51782bb13d.html deleted file mode 100644 index bc7f695..0000000 --- a/ucs2-lib/doc/html/group___g___u_c_s___n_o_d_e___d_i_s_c_o_v_e_r_y_ga61b182f93d2815857f62ea51782bb13d.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -UNICENS: Ucs_Nd_EvalCb_t - - - - - - - - - - - - - - - -
-
-
- - - - - - - -
Logo -
UNICENS V2.1.0-3491
-
User Manual and API Reference
- -
-
- - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
- - - - -
typedef Ucs_Nd_CheckResult_t(* Ucs_Nd_EvalCb_t)(Ucs_Signature_t *signature, void *user_ptr)
-
- -

Function signature of node evaluation callback used by Node Discovery service.

-

The Node Discovery service announces the signature of each node it has found to the application via the evaluation function. In this function the application decides how the Node Discovery service shall proceed with the node. The application maintains two lists:

-
-
set_list
-

Contains the signatures of the nodes the system shall contain

-

-
-
device_list
-
Contains the signatures of the nodes detected in the system
-
-

The evaluation has to follow these rules:

-
    -
  • If the node is not part of the set_list, it is regarded as unknown (UCS_ND_CHK_UNKNOWN) and will be ignored.
  • -
  • If the node is part of the set_list and is not yet in the device_list, the Node Discovery Service shall try to add the node to network (UCS_ND_CHK_WELCOME).
  • -
  • If the node is already part of the device_list, there are two possibilities: the node in the device_list experienced a reset or there are two nodes with the same signature. Evaluation result is UCS_ND_CHK_UNIQUE. The Node Discovery service will perform further tests.
  • -
-
Parameters
- - - -
signatureSignature of the respective node
user_ptrUser reference provided in Ucs_InitData_t::user_ptr
-
-
-
Returns
UCS_ND_CHK_WELCOME Node is ok, try to add it to the network.
-
-UCS_ND_CHK_UNIQUE Test if this node is unique.
-
-UCS_ND_CHK_UNKNOWN Node is unknown, no further action.
- -
-
-
-
- - - - - - -- cgit 1.2.3-korg