Skip to content
Snippets Groups Projects
  • Stefan Schmidt's avatar
    13106af6
    openharmony-standard: adjust versions and model names for correct GetVerionId() · 13106af6
    Stefan Schmidt authored
    
    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: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
    13106af6
    History
    openharmony-standard: adjust versions and model names for correct GetVerionId()
    Stefan Schmidt authored
    
    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: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.