Update program. Updates can be made when the GUID of the program, area, and specific item is in one-to-one correspondence with the data saved by the device.

Request

<?xmlversion="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

    <in method="UpdateProgram">

        <xxx guid="##guid">

            <!--parameters-->

        </xxx>

    </in>

</sdk>

<!--

  Description :

     1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

     2. in.method = UpdateProgram

3. The in tag can contain multiple xxx child nodes.

4. The value range of the xxx node is {"program", "area", "image", "video", "text", "clock"}

    5. program node and child nodes represent program information.

-->

Respond

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

    <out method="UpdateProgram" result="##result">

        <files>

            <file name="##value" result="##result"/>

        </files>

    </out>

</sdk>

<!--

  Description :

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. out.method = GetTimeInfo

    3. out.result:(The error code refers to ErrorCode .)

    4. When the value is not "kSuccess", out has no child nodes.

    5. When all the files referenced in the program list exist, files have no child nodes, otherwise there are child nodes and carry corresponding error information.

    6. The files tag may contain multiple child nodes file.

    7. file.name: (file name)

    8. file.result: (The error code refers to ErrorCode .)

-->