parameter.h

Overview

Related Modules:

Parameter

Description:

Declares functions for obtaining system parameters.

You can use the provided functions to obtain device information such as device type and manufacturer.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name Description
GetParameter (const char key, const char def, char value, unsigned int len) int Obtains a system parameter matching the specified key.
SetParameter (const char key, const char value) int Sets or updates a system parameter.
GetProductType (void) char Obtains the device type.
GetManufacture (void) char Obtains the device manufacturer.
GetBrand (void) char Obtains the device brand.
GetMarketName (void) char Obtains the device marketing name.
GetProductSeries (void) char Obtains the device series name.
GetProductModel (void) char Obtains the device authentication model.
GetSoftwareModel (void) char Obtains the device software model.
GetHardwareModel (void) char Obtains the device hardware model.
GetHardwareProfile (void) char Obtains the device hardware profile.
GetSerial (void) char Obtains the device serial number (SN).
GetOsName (void) char Obtains the operating system (OS) name.
GetDisplayVersion (void) char Obtains the software version visible to users.
GetBootloaderVersion (void) char Obtains the bootloader version of this device.
GetSecurityPatchTag (void) char Obtains the security patch tag.
GetAbiList (void) char Obtains the list of application binary interfaces (ABIs) supported on this device.
GetSdkApiLevel (void) char Obtains the SDK API level that matches the current system software.
GetFirstApiLevel (void) char Obtains the first SDK API level of the system software.
GetIncrementalVersion (void) char Obtains the incremental version.
GetVersionId (void) char Obtains the version ID.
GetBuildType (void) char Obtains the build type.
GetBuildUser (void) char Obtains the build account user name.
GetBuildHost (void) char Obtains the build host name.
GetBuildTime (void) char Obtains the version build time.
GetBuildRootHash (void) char * Obtains the buildroot hash value of this version.