qwf_net_GetDefaultInterface()
Get the name of the default network interface
Synopsis:
#include <qwf/qwf_net.h>qwf_net_Results_e qwf_net_GetDefaultInterface(qwf_Context_t *pCtx,
qwf_net_IfName_t *pIfName)Arguments:
- pCtx
- A pointer to the QWF service context
- pIfName
- A pointer to a qwf_net_IfName_t object for storing the name of the default network interface being used by the device
Library:
qwf_interfaceReturns:
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
Page updated:
