XDK API  3.6.0
Documentation
Files | Macros | Functions
XDK version

This module gives the current version of xdk software. More...

+ Collaboration diagram for XDK version:

Files

file  XdkVersion.h
 

Macros

#define XDKVERSION_MAJOR   3
 
#define XDKVERSION_MINOR   6
 
#define XDKVERSION_PATCH   0
 

Functions

uint8_t XdkVersion_GetMajor (void)
 This function is used to get the XDK Major version. More...
 
uint8_t XdkVersion_GetMinor (void)
 This function is used to get the XDK Minor version. More...
 
uint8_t XdkVersion_GetPatch (void)
 This function is used to get the XDK Patch version. More...
 
uint32_t XdkVersion_GetVersion (void)
 This function is used to get the XDK version. More...
 

Detailed Description

Macro Definition Documentation

#define XDKVERSION_MAJOR   3

This macro gives the major version of the XDK

#define XDKVERSION_MINOR   6

This macro gives the minor version of the XDK

#define XDKVERSION_PATCH   0

This macro gives the version of latest patch applied to the XDK

Function Documentation

uint8_t XdkVersion_GetMajor ( void  )
Note
Major Version is of type uint8_t.
Returns
The major number of the XDK.
uint8_t XdkVersion_GetMinor ( void  )
Note
Minor Version is of type uint8_t.
Returns
The minor number of the XDK.
uint8_t XdkVersion_GetPatch ( void  )
Note
Patch Version is of type uint8_t.
Returns
The patch number of the XDK.
uint32_t XdkVersion_GetVersion ( void  )
Note
XDK Version is of type uint32_t.
      B3      :B2   :B1   :B0
      Reserved:Major:Minor:Patch

          B0 : Patch
          B1 : Minor
          B2 : Major
          B3 : Reserved (0x00)
Returns
The version number of the XDK.

Example: usage

#include "XdkVersion.h"
{
uint32_t version= XdkVersion_GetVersion();
printf("the current version is %x\n\r",(int)version);
}

+ Here is the caller 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