; MMI Setup file for Update agent
; All sections and definitions in this "code" begin with and end with
; Definitions in the sections are separated from their data with the a colon (:)
; Everything after ; is ignored
; Whitespaces allowed: space and tab
; Lines can be terminated with CR and/or LF
; All data must be followed by either at least one whitespace or end the line
; Allowed section names:
; - StatusScreen0,StatusScreen1,StatusScreen2,...,StatusScreenN-1, where N=Number of status states in the version of the UA SW
; - ProgressBar. Only allowed inside a StatusScreen section. All furhter ProgressBar sections in one StatusScreen section after the first one are ignored
; - Animation. Only allowed inside a StatusScreen section. All furhter Animation sections in one StatusScreen section after the first ten are ignored
; Allowed definition names and their data types and validity
; Definition | Format | Used in sections
; BGColour | 0xHexD | StatusScreen,ProgressBar
; W | Decimal | ProgressBar
; H | Decimal | ProgressBar
; FrameColour | 0xHexD | ProgressBar
; BarColour | 0xHexD | ProgressBar
; Orientation | String | ProgressBar
; X | Decimal | ProgressBar, Animation
; Y | Decimal | ProgressBar, Animation
; FileName | String | Animation
; A complete example is seen underneath
; Updating UA
BGColour: 0xffff ; 16-bit colour (rrrrrggggggbbbbb) to use everywhere where nothing else is specified. Default: Last value seen. If none: 0x0000
FileName: /tpa/system/fota/BG0_1.bin X: 0 Y: 0
FileName: /tpa/system/fota/BG0_2.bin X: 0 Y: 160
FileName: /tpa/system/fota/UA.bin X: 81 Y: 61
X: 10 ; X Position from left (Leftmost=0). Default: Last value seen. If none: 0
Y: 256 ; Y Position from top (Topmost=0). Default: Last value seen. If none: 0
W: 218 ; Width of the bar. Default: Last Value seen. If none: Screenwidth-X
H: 20 ; Height of the bar. Default: Last Value seen. If none: Screenheight-Y
FrameColour: 0x0000 ; 16-bit colour of the frame outlining the bar area. Default: Last value seen. If none: 0x8888
BGColour: 0xFFFF ; 16-bit colour used within frame where there is no bar. Default: Last value seen. If none: BGColour of screen
BarColour: 0x1A30 ; 16-bit colour of the bar. Default: Last value seen. If none: 0xffff
Orientation: LeftToRight ; One of LeftToRight,RightToLeft,UpToDown, DownToUp. Default: Last value seen. If none: LeftToRight
; Note: There is a 1 pixel spacing between bar and frame
; Verifying Code+FS
FileName: /tpa/system/fota/BG1_1.bin X: 0 Y: 0
FileName: /tpa/system/fota/BG1_2.bin X: 0 Y: 160
FileName: /tpa/system/fota/Validation.bin X: 0 Y: 61
BarColour: 0x1A30
; Updating SW
FileName: /tpa/system/fota/BG2_1.bin X: 0 Y: 0
FileName: /tpa/system/fota/BG2_2.bin X: 0 Y: 160
FileName: /tpa/system/fota/SW.bin X: 81 Y: 61
BarColour: 0x1A30
; Updating FS
FileName: /tpa/system/fota/BG3_1.bin X: 0 Y: 0
FileName: /tpa/system/fota/BG3_2.bin X: 0 Y: 160
FileName: /tpa/system/fota/FS.bin X: 144 Y: 61
BarColour: 0x1A30
; HW Error State
FileName: /tpa/system/fota/BG0_1.bin X: 0 Y: 0
FileName: /tpa/system/fota/BG0_2.bin X: 0 Y: 160
; Steg 1 Grön: #0C7B12 101111000010
; Steg 2 Blå: #1C4783 1101000110000
; Steg 3 Röd: #7F1419 111100010100011
; Steg 4 Grön: #0C7B12
; Notes:
; - If a progress bar's values is illegal, the default value will be used
; - If an animation is out of bounds or consumes too much RAM unpacked, it will not be displayed