![]() |
TrustCore SDK NanoSSL API reference
version 7.0
|
Provides common SoT Platform callback functions, used by multiple SoT Platform components. More...
Typedefs | |
typedef void(* | logFn) (sbyte4 module, sbyte4 severity, sbyte *msg) |
Callback for logging function. More... | |
typedef void(* logFn) (sbyte4 module, sbyte4 severity, sbyte *msg) |
Users can create custom logging functions and register them via MOCANA_initLog(), provided the custom functions have this signature.
For example, you can define a custom logging function as follows:
You would then register the custom logging function as follows: