Files | Macros | Functions
PAL Initialize

Interface header for the PAL_initialize module. More...

+ Collaboration diagram for PAL Initialize:

Files

file  PAL_initialize_ih.h
 

Macros

#define PAL_INITIALIZE_ERROR   UINT8_C(1)
 
#define PAL_INITIALIZE_SUCCESS   UINT8_C(0)
 
#define PAL_IP_ADDRESS_SIZE   UINT8_C(15)
 

Functions

retcode_t PAL_getIpaddress (uint8_t *URL, Ip_Address_T *destAddr)
 This API returns back the IP address by the host name. More...
 
retcode_t PAL_initialize (void)
 This API initializes the PAL modules required by the serval. More...
 

Detailed Description

The interface header exports the High-level PAL API's to Initialize PAL & PAL GetIPAddress.

Macro Definition Documentation

#define PAL_INITIALIZE_ERROR   UINT8_C(1)

Error occurred in initializing pal

#define PAL_INITIALIZE_SUCCESS   UINT8_C(0)

Error occurred in initializing pal

#define PAL_IP_ADDRESS_SIZE   UINT8_C(15)

Maximum size of the ip address

Function Documentation

retcode_t PAL_getIpaddress ( uint8_t *  URL,
Ip_Address_T destAddr 
)
Parameters
[in]URL- The string pointer holding the host name
[out]destAddr- The variable in which IP address to be stored
Return values
RC_OK- IP address returned successfully
RC_PLATFORM_ERROR- Error occurred in fetching the ip address

+ Here is the call graph for this function:

retcode_t PAL_initialize ( void  )
Return values
PAL_INITIALIZE_SUCCESS- PAL was initialized successfully
PAL_INITIALIZE_ERROR- Error occurred in initializing PAL

+ Here is the call graph for this function:


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