Examples
These examples all use the Cobra family, but other player families can be substituted. These examples contain the minimum required parameters for each firmware source and update type.
Updating to the OS Production Version
"firmwareUpdateType": "standard", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"production", "firmwareUpdateStandardTargetFileName":"cobra-update.bsfw", "productionReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.59-update.bsfw" } }
Updating to the Minimum Compatible Version
"firmwareUpdateType": "standard", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"compatible", "firmwareUpdateStandardTargetFileName":"cobra-update.bsfw", "compatibleReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.59-update.bsfw" } }
Updating to the OS Beta Version
"firmwareUpdateType": "standard", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"beta", "firmwareUpdateStandardTargetFileName":"cobra-update.bsfw", "betaReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.59-update.bsfw" } }
Updating using a Specific URL
"firmwareUpdateType": "standard", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"specificUrl", "firmwareUpdateStandardTargetFileName":"cobra-update.bsfw", "firmwareUpdateSourceUrl":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
Updating to a Different OS
These examples update the OS if it is different from the one already on the player:
// Different OS update - Production version "firmwareUpdateType": "different", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"production", "firmwareUpdateDifferentTargetFileName":"cobra-update.bsfw", "productionReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Different OS update - Beta version "firmwareUpdateType": "different", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"beta", "firmwareUpdateDifferentTargetFileName":"cobra-update.bsfw", "betaReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Different OS update - Minimum compatible version "firmwareUpdateType": "different", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"compatible", "firmwareUpdateDifferentTargetFileName":"cobra-update.bsfw", "compatibleReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Different OS update - Specific URL version "firmwareUpdateType": "different", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"specificUrl", "firmwareUpdateDifferentTargetFileName":"cobra-update.bsfw", "firmwareUpdateSourceUrl":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
Updating to a Newer OS
These examples update the OS version if that version is higher/newer than the one on the player:
// Newer OS update - Production version "firmwareUpdateType": "newer", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"production", "firmwareUpdateNewerTargetFileName":"cobra-update.bsfw", "productionReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Newer OS update - Beta version "firmwareUpdateType": "newer", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"beta", "firmwareUpdateNewerTargetFileName":"cobra-update.bsfw", "betaReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Newer OS update - Minimum compatible version "firmwareUpdateType": "newer", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"compatible", "firmwareUpdateNewerTargetFileName":"cobra-update.bsfw", "compatibleReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Newer OS update - Specific URL version "firmwareUpdateType": "newer", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"specificUrl", "firmwareUpdateDifferentTargetFileName":"cobra-update.bsfw", "firmwareUpdateSourceUrl":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
Updating and Saving the .bsfw File
These examples update the OS to a new version without deleting the .bsfw file from the SD card after the update is done, and does not reboot the player after the update is applied (to avoid a reboot loop):
// Save OS update - Production version "firmwareUpdateType": "save", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"production", "firmwareUpdateSaveTargetFileName":"cobra-update.bsfw", "productionReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Save OS update - Beta version "firmwareUpdateType": "save", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"beta", "firmwareUpdateNewerTargetFileName":"cobra-update.bsfw", "betaReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Save OS update - Minimum compatible version "firmwareUpdateType": "save", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"compatible", "firmwareUpdateNewerTargetFileName":"cobra-update.bsfw", "compatibleReleaseURL":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }
// Save OS update - Specific URL version "firmwareUpdateType": "save", "firmwareUpdatesByFamily":{ "Cobra":{ "firmwareUpdateSource":"specificUrl", "firmwareUpdateDifferentTargetFileName":"cobra-update.bsfw", "firmwareUpdateSourceUrl":"https://bsncloud.s3.amazonaws.com/public/cobra-9.0.34-update.bsfw" } }