1.3.3.23 SYS_NET_SetConfigParam Function
C
int32_t SYS_NET_SetConfigParam(SYS_MODULE_OBJ obj, uint32_t paramType, void *data)
Summary
Returns success on setting a configuration parameter for Net System Service.
Description
This function is currently used for enabling/ disabling the Auto Reconnect feature for the Net Socket.
Precondition
SYS_NET_Open should have been called.
Parameters
obj - SYS NET object handle, returned from SYS_NET_Open | Param | Description | |:----- |:----------- |
| paramType | Reserved for future use data - 0/ 1 currently used only for enabling/ disabling the auto reconnect feature
Returns
SYS_NET_SUCCESS - Indicates that the Request was catered to successfully
Example
bool auto_reconnect = true;
// Handle "objSysNet" value must have been returned from SYS_NET_Open.
if( SYS_NET_SetConfigParam(objSysNet, 0, &auto_reconnect) == SYS_NET_SUCCESS)
{
}
Remarks
None.