openharmony-standard: adjust versions and model names for correct GetVerionId()
The GetVersionId() API allows ACTS and applications to find out about
details of the device and platform they run on. So far we adjusted only
a few parts of it, and not all of them have been correct.
The basic information is distributed on various code and config files.
With the updates below I can see the following output in the ACTS log
for Qemu:
the value of the deviceinfo versionId is :devboard/Eclipse Oniro Project/Eclipse Oniro/QEMU Arm Cortex-A7/OpenHarmony-3.0.1.0(LTS)/OHOS/Oniro OH/7/****/****
This translates to the following:
device type: devboard
company short name: Eclipse Oniro Project
brand name: Eclipse Oniro
product series name: Raspberry Pi 4
operating system and version number: OpenHarmony-3.0.1.0(LTS)
model: OHOS
internal software submodel: Oniro OH
system software API level: 7
difference version: ****
build type: ****
For Pi 4 it is the same, besides the different product series name.
Signed-off-by:
Stefan Schmidt <stefan.schmidt@huawei.com>
Loading
Please register or sign in to comment