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 --- ...r_a_c_e_gaf7f45aee7bbbd7f4a58b71a5268ecdb6.html | 147 --------------------- 1 file changed, 147 deletions(-) delete mode 100644 ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaf7f45aee7bbbd7f4a58b71a5268ecdb6.html (limited to 'ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaf7f45aee7bbbd7f4a58b71a5268ecdb6.html') diff --git a/ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaf7f45aee7bbbd7f4a58b71a5268ecdb6.html b/ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaf7f45aee7bbbd7f4a58b71a5268ecdb6.html deleted file mode 100644 index d047311..0000000 --- a/ucs2-lib/doc/html/group___g___u_c_s___t_r_a_c_e_gaf7f45aee7bbbd7f4a58b71a5268ecdb6.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -UNICENS: UCS_TR_ERROR - - - - - - - - - - - - - - - -
-
-
- - - - - - - -
Logo -
UNICENS V2.1.0-3491
-
User Manual and API Reference
- -
-
- - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
- - - - -
#define UCS_TR_ERROR
-
- -

Trace macro to capture trace error events.

-

This macro is used to enable the capturing of trace error events. The macro must be mapped onto a user-defined function. To disable the trace error events, the macro must not be defined. The mapped user-defined function must adhere to the following function signature.

-

void (*Ucs_TraceCb_t)(void * ucs_user_ptr, const char module_str[], const char entry_str[], uint16_t vargs_cnt, ...);

-
    -
  • ucs_user_ptr
    -Reference to the User argument
  • -
  • module_str
    -The name of the software module that has posted the trace
  • -
  • entry_str
    -The trace entry as formatted string
  • -
  • vargs_cnt
    -Number of trace arguments which will be passed within the variable argument list
  • -
  • [...]
    -Variable argument list to pass trace arguments
  • -
-
Note
The captured error events can be used for logging and as a first step for debugging unexpected behavior. However, the application must not derive any action when an error is indicated by the trace interface. An application must handle rely on result callback functions and handle "general.error_fptr()".
-

Example:

-
extern void App_UcsTraceError(void * ucs_user_ptr,
-
const char module_str[],
-
const char entry_str[],
-
uint16_t vargs_cnt,
-
...);
-
-
#define UCS_TR_ERROR App_UcsTraceError
-
-
-
-
-
- - - - - - -- cgit 1.2.3-korg