Skip to content

Ranges of same RPC parameters in MOBILE_API and HMI_API are not unify. #261

@Yuki-Shoda-Nexty

Description

@Yuki-Shoda-Nexty

We propose correcting the range of some parameters that are defined in both HMI_API.xml and MOBILE_API.xml but each has defferent ranges.

In current HMI_API.xml and MOBILE_API.xml, there are some parameters that are used in both xml but each has defferent ranges.
By unifying such ranges, we can provide more accurate RPC documents for SDL developers.
The target items are described in the Excel file.

mismatch of range.xlsx

e.g. The parameter ts of RPC TouchEvent, same parameter is defined both MOBILE_API.xml and HMI_API.xml, but its 'maxvalue' is defferent. Therefore modify the value of maxvalue like below

To unify the maxvalue in both xml, modify the maxvalue of ts in HMI_API.xml like below.

-   <param name="ts" type="Integer" mandatory="true" array="true" minvalue="0" maxvalue="2147483647" minsize="1" maxsize="1000">
+   <param name="ts" type="Integer" mandatory="true" array="true" minvalue="0" maxvalue="2000000000" minsize="1" maxsize="1000">
        <description>
        The time that the touch was recorded.  This number can the time since the beginning of the session or something else as long as the units are in milliseconds.
        The timestamp is used to determined the rate of change of position of a touch.
        The application also uses the time to verify whether two touches, with different ids, are part of a single action by the user.
        If there is only a single timestamp in this array, it is the same for every coordinate in the coordinates array.
        </description>
    </param>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions