XDK API  3.6.0
Documentation
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:


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:51 by doxygen 1.8.8