Macros | Functions | Variables
NetworkConfig.c File Reference
#include "XdkCommonInfo.h"
#include "BCDS_NetworkConfig.h"
#include "BCDS_WlanNetworkConfig.h"
#include "simplelink.h"
#include "BCDS_WlanConnect.h"
#include "BCDS_BSP_Board.h"
+ Include dependency graph for NetworkConfig.c:

Macros

#define BCDS_MODULE_ID   (uint32_t)XDK_COMMON_ID_NETWORK_CONFIG
 
#define NETWORKCONFIG_FAILURE   INT32_C(-1)
 
#define NETWORKCONFIG_ONE   UINT8_C(1)
 
#define NETWORKCONFIG_SUCCESS   INT32_C(0)
 
#define NETWORKCONFIG_TIMEOUT   UINT16_C(0xFF)
 
#define NETWORKCONFIG_ZERO   INT32_C(0)
 

Functions

Retcode_T NetworkConfig_GetIpAddress (uint8_t *url, uint32_t *destAddr)
 
Retcode_T NetworkConfig_GetIpSettings (NetworkConfig_IpSettings_T *myIpSettings)
 
NetworkConfig_IpStatus_T NetworkConfig_GetIpStatus (void)
 
uint8_t NetworkConfig_Ipv4Byte (uint32_t ipValue, uint8_t index)
 
uint32_t NetworkConfig_Ipv4Value (uint8_t add3, uint8_t add2, uint8_t add1, uint8_t add0)
 
Retcode_T NetworkConfig_SetIpDhcp (NetworkConfig_IpCallback_T myIpCallback)
 
Retcode_T NetworkConfig_SetIpStatic (NetworkConfig_IpSettings_T myIpSettings)
 
void NetworkConfig_SetIpStatus (NetworkConfig_IpStatus_T ipStatus)
 

Variables

static volatile
NetworkConfig_IpCallback_T 
IpConfigCallback
 
static volatile
NetworkConfig_IpStatus_T 
NetworkIpStatus
 

Macro Definition Documentation

#define BCDS_MODULE_ID   (uint32_t)XDK_COMMON_ID_NETWORK_CONFIG
#define NETWORKCONFIG_FAILURE   INT32_C(-1)

Macro for defining -1

#define NETWORKCONFIG_ONE   UINT8_C(1)

Macro for defining 1

#define NETWORKCONFIG_SUCCESS   INT32_C(0)

Macro for defining 0

#define NETWORKCONFIG_TIMEOUT   UINT16_C(0xFF)

Macro for defining timeout

#define NETWORKCONFIG_ZERO   INT32_C(0)

Macro for defining 0

Function Documentation

Retcode_T NetworkConfig_GetIpAddress ( uint8_t *  url,
uint32_t *  destAddr 
)

+ Here is the call graph for this function:

Retcode_T NetworkConfig_GetIpSettings ( NetworkConfig_IpSettings_T myIpSettings)

+ Here is the call graph for this function:

NetworkConfig_IpStatus_T NetworkConfig_GetIpStatus ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint8_t NetworkConfig_Ipv4Byte ( uint32_t  ipValue,
uint8_t  index 
)
uint32_t NetworkConfig_Ipv4Value ( uint8_t  add3,
uint8_t  add2,
uint8_t  add1,
uint8_t  add0 
)
Retcode_T NetworkConfig_SetIpDhcp ( NetworkConfig_IpCallback_T  myIpCallback)

+ Here is the call graph for this function:

Retcode_T NetworkConfig_SetIpStatic ( NetworkConfig_IpSettings_T  myIpSettings)

+ Here is the call graph for this function:

void NetworkConfig_SetIpStatus ( NetworkConfig_IpStatus_T  ipStatus)

Variable Documentation

volatile NetworkConfig_IpCallback_T IpConfigCallback
static

Variable for storing the DHCP IP callback

volatile NetworkConfig_IpStatus_T NetworkIpStatus
static

Flag variable for IP obtained status


This documentation file has been automatically generated on Fri Oct 4 2019 03:46:58 by doxygen 1.8.8