qwf_net_Connect()

Inform NET MGR about a connected interface

Synopsis:

#include <qwf/qwf_net.h>
qwf_net_Results_e qwf_net_Connect(qwf_Context_t *pCtx,
                                  qwf_net_ConnectData_t *pData)

Arguments:

pCtx
A pointer to the QWF service context
pData
A pointer to a qwf_net_ConnectData_t structure containing the networking parameters

Library:

qwf_interface

Description:

This function informs NET MGR about a connected and available network interface. After an application creates an interface with ifconfig, it can use this same utility to obtain the interface's networking parameters, and then provide them to qwf_net_Connect().

Returns:

NET_OK Successful result

NET_ERR_INACTIVE The QWF Network Manager service is inactive or not ready

NET_ERR_INT The QWF Network Manager service couldn't issue the request or read the response

NET_ERR_PARAM A pointer argument is NULL or the QWF Network Manager context can't be retrieved