Introduction
All IAdea media appliances can update the firmware remotely by designating a TaskSchedule subscription within the SMIL script's header section, the mechanism provides a practical method for a system administrator to keep the player's firmware up-to-date.
The article will show you how to implement SMIL code to update player firmware remotely.
Firmware update script implement.
The script contains target firmware file information such as download link, content length, MD5. Please see the following.
<taskSchedule xmlns="http://schemas.adfotain.org/adapi-1.0"> <timedTaskList at="0" abortOnError="false"> <firmwareUpdate id="123"> <sourceURI>http://server/firmware.pkg</sourceURI> <version applyIf="always|upgrade">1.0.3</version> <contentType>x-firmware-update/x-pkg</contentType> <contentLength>38354944</contentLength> <contentChecksum>A72f43a7e0a5507923653f9a70260E70</contentChecksum> <checksumMethod>MD5</checksumMethod> </firmwareUpdate> </timedTaskList> </taskSchedule>
Sample taskSchedule script attached. For more information, refer Firmware_update
SMIL script implement.
Create a Maintenance task subscription within SMIL script's header section. The SMIL code should look like the following.
<head> <metadata> <x-server xmlns="http://schemas.adfotain.org/adapi-1.0"> <subscriptionList> <subscription> <type>TaskSchedule</type> <action>http://server/taskSchedule.xml</action> <method>get</method> </subscription> </subscriptionList> </x-server> </metadata> </head>
Sample SMIL code attached. For more information, refer Maintenance_tasks
For full remote firmware update sample code, Use XMP-6400 as the test player, please configure player to point to below URL.
https://s3.amazonaws.com/download.us.iadea.com/support/Support_site/Knowledge_Base/Remote_firmware_update/index.smil
XMP-6400 should play two images file loop on screen and download target firmware installation file in the background once the SMIL script loaded. When firmware installation file downloads completely. XMP-6400 will perform firmware update automatically. You can refer full sample code of the test.
Comments
0 comments
Article is closed for comments.