1.7.3.18 SYS_WSS_Initialize Function

C

SYS_MODULE_OBJ SYS_WSS_Initialize()

Summary

Returns SYS_MODULE_OBJ after the successful initialization of data structures of the WSS service.

Description

This function is used for initializing the data structures of the WSS service and is called from within the System Task. This function also can be called by the application with required arguments.

Returns

Returns the address of an array of SYS_MODULE_OBJ which will have the initialization data for all clients.

Example

sysWSS_obj = SYS_WSS_Initialize(NULL,NULL,NULL); //Default config, callback and cookie will be taken

Remarks

If the Web Socket Server system service is enabled using MHC, then auto generated code will take care of initialization.