WE310F5  39.00.000
M2MB VERSION

This section describes various the M2MB version related API and variable. More...

#define M2MB_MODULE_TYPE   "WL865E4"
 
typedef struct M2MB_SYSTEM_SW_VERSION_S M2MB_SYSTEM_SW_VERSION_T
 
typedef struct M2MB_SW_PKG_VERSION_S M2MB_SW_PKG_VERSION_T
 Structure defining response for m2m_s2w_system_swpkgv command/api. More...
 
INT32 m2mb_version (M2MB_SYSTEM_SW_VERSION_T *ver)
 m2mb_version is called to process version. More...
 
const M2MB_SW_PKG_VERSION_Tm2mb_system_swpkgv (VOID)
 m2mb_system_swpkgv is called to get the software package version details. More...
 
UINT8m2mb_system_cgmm (VOID)
 m2mb_system_cgmm is called to get the module name. More...
 
UINT8m2mb_system_cgmr (VOID)
 m2mb_system_cgmr is called to get the modem version. More...
 

Detailed Description

This section describes various the M2MB version related API and variable.

Macro Definition Documentation

◆ M2MB_MODULE_TYPE

#define M2MB_MODULE_TYPE   "WL865E4"

Definition at line 50 of file m2mb_version.h.

Typedef Documentation

◆ M2MB_SW_PKG_VERSION_T

Structure defining response for m2m_s2w_system_swpkgv command/api.

Returns all the Available package versions 'ModuleVersion, ModemVersion, PackageVersion, ApplnVersion, SocketVersion' is sent.

◆ M2MB_SYSTEM_SW_VERSION_T

Function Documentation

◆ m2mb_system_cgmm()

UINT8* m2mb_system_cgmm ( VOID  )

m2mb_system_cgmm is called to get the module name.

This command gets the module name.

Returns
Return the name of the module.
Note
<Notes> Example
UINT8* modulename = m2mb_system_cgmm();;
m2mb_dbg_consol_print( "\r\n%s\r\n", modulename );

◆ m2mb_system_cgmr()

UINT8* m2mb_system_cgmr ( VOID  )

m2mb_system_cgmr is called to get the modem version.

This command gets the version number of the modem.

Returns
Returns the modem version.
Note
<Notes> Example
UINT8* modem = m2mb_system_cgmr();;
m2mb_dbg_consol_print( "\r\n%s\r\n", modem );

◆ m2mb_system_swpkgv()

const M2MB_SW_PKG_VERSION_T* m2mb_system_swpkgv ( VOID  )

m2mb_system_swpkgv is called to get the software package version details.

This command gets the version number of the software packages.

Returns
Returns the struct M2MB_SW_PKG_VERSION_T that contains the software package version details.
Note
<Notes> Example
const M2MB_SW_PKG_VERSION_T* swpkgv;
m2mb_dbg_consol_print( "\r\n%s-%s\r\n%s\r\n%s\r\n%s\r\n%s\r\n%s\r\n", swpkgv->module, swpkgv->package,
swpkgv->modem, swpkgv->package, swpkgv->application, swpkgv->socversion, swpkgv->bleversion );

◆ m2mb_version()

INT32 m2mb_version ( M2MB_SYSTEM_SW_VERSION_T ver)

m2mb_version is called to process version.

This command gets the version number of the software.

Parameters
[in]verPointer to M2MB_SYSTEM_SW_VERSION_T structure NONE
Returns
Success or failure
Note
<Notes> Example
m2mb_version( &info );
m2mb_dbg_consol_print( "\r\nS2W APP VERSION=%s\r\nS2W GEPS VERSION=%s\r\nS2W WLAN VERSION=%s",