1.2.2.1.68 NET_PRES_TransHandlerRegister Type

C

typedef NET_PRES_SIGNAL_HANDLE (* NET_PRES_TransHandlerRegister)(NET_PRES_SKT_HANDLE_T handle, uint16_t sigMask, NET_PRES_SIGNAL_FUNCTION handler, const void* hParam); 

Returns

The handle of a signal handler.

Description

Transport Layer Register Handler Function Pointer Prototype This function is called by the presentation layer when the application wants to register a handler function.

Preconditions

A socket needs to have been opened by NET_PRES_TransOpen.

Parameters

ParametersDescription
handleThe handle returned from NET_PRES_TransOpen.
sigMaskThe event mask.
handlerThe event handler function.
hParamParameters passed to the handler function.