Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report on MOBILE_API.xml issues(inconsistent range) #257

Open
Yuki-Shoda-Nexty opened this issue Jun 15, 2020 · 0 comments
Open

Report on MOBILE_API.xml issues(inconsistent range) #257

Yuki-Shoda-Nexty opened this issue Jun 15, 2020 · 0 comments

Comments

@Yuki-Shoda-Nexty
Copy link

We propose correcting MOBILE_API.xml(inconsistent range)

In current MOBILE_API.xml, some of descriptions about actual operation of the Head Unit (HU) and setting values of related parameters are inconsistent.
By fixing such descriptions, we can provide more accurate RPC documents for SDL developers.
The target items are below two parameters.

  1. Modification of parameter maxDuration of PerformAudioPassThru.
    Since it takes 1-2 sec to start recording by the onboard Mic after the RPC is sent, hence it is inconsistent that the minimum value of maxDuration is 1 ms.
    It is appropriate that the minimum value of maxDuration is 2000 or 3000 ms at least.

  2. Correction of the parameter syncFileName of `PutFile
    Since the maximum length of syncFileName in the RPC SetAppIconDeleteFile is 500, hence it is inconsistent that the maximum length of syncFileName is 255.
    It is appropriate that the maximum length of syncFileName is unified into same value 500.

Modify as shown below.

  1. Modification of parameter maxDuration of PerformAudioPassThru.
-        <param name="maxDuration" type="Integer" minvalue="1" maxvalue="1000000" mandatory="true">
+        <param name="maxDuration" type="Integer" minvalue="3000" maxvalue="1000000" mandatory="true">
             <description>The maximum duration of audio recording in milliseconds. </description>
          </param>
  1. Correction of the parameter syncFileName of `PutFile
-        <param name="syncFileName" type="String" maxlength="255" mandatory="true">
+        <param name="syncFileName" type="String" maxlength="500" mandatory="true">
             <description>File reference name.</description>
          </param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant