| ... | ... | @@ -50,7 +50,7 @@ The main idea is to have all needed files in one container - to prevent any mix | 
| 
 | 
 | 
* after reset check successfull update via `$pfal,msg.version.complete`
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## version 3.0 of FRP (DRAFT)
 | 
| 
 | 
 | 
## version 3.0 of FRP (deprecated)
 | 
| 
 | 
 | 
```
 | 
| 
 | 
 | 
*.frp
 | 
| 
 | 
 | 
|
 | 
| ... | ... | @@ -92,29 +92,6 @@ The main idea is to have all needed files in one container - to prevent any mix | 
| 
 | 
 | 
	</devices>
 | 
| 
 | 
 | 
</falcom-resource-package>
 | 
| 
 | 
 | 
```
 | 
| 
 | 
 | 
#### update process
 | 
| 
 | 
 | 
* unpack *.frp into local temp folder
 | 
| 
 | 
 | 
* parse content.xml
 | 
| 
 | 
 | 
* check device via `$pfal,msg.version.complete`
 | 
| 
 | 
 | 
* compare device class,type, major from current device with data from XML
 | 
| 
 | 
 | 
* if fit move on if not stop process here
 | 
| 
 | 
 | 
* if defined a `<pre>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 2 points
 | 
| 
 | 
 | 
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
 | 
| 
 | 
 | 
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup`  this will optimize the stored config
 | 
| 
 | 
 | 
and create a backup of the current configuration 
 | 
| 
 | 
 | 
* check crc of *.bin
 | 
| 
 | 
 | 
* update *.bin via pfal in given mode (when compress is used compress before transmit)
 | 
| 
 | 
 | 
* check all packages transmit with ok 
 | 
| 
 | 
 | 
* finalize update via pfal
 | 
| 
 | 
 | 
* device will reset
 | 
| 
 | 
 | 
* after reset check successfull update via `$pfal,msg.version.complete`
 | 
| 
 | 
 | 
* if defined a `<post>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 3 points
 | 
| 
 | 
 | 
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
 | 
| 
 | 
 | 
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup`  this will optimize the stored config
 | 
| 
 | 
 | 
and create a backup of the current configuration 
 | 
| 
 | 
 | 
* recommended to sent a `$pfal.sys.device.reset`
 | 
| 
 | 
 | 
* please note the "crc" for configuration is optional
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
## version 4.0 of FRP (DRAFT 1)
 | 
| 
 | 
 | 
#### example of frp file content
 | 
| 
 | 
 | 
```
 | 
| ... | ... | @@ -176,4 +153,28 @@ Raw file with following options: | 
| 
 | 
 | 
	    </device>
 | 
| 
 | 
 | 
	</devices>
 | 
| 
 | 
 | 
</falcom-resource-package>
 | 
| 
 | 
 | 
``` | 
 | 
 | 
\ No newline at end of file | 
| 
 | 
 | 
```
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
# general update process
 | 
| 
 | 
 | 
* unpack *.frp into local temp folder
 | 
| 
 | 
 | 
* parse content.xml
 | 
| 
 | 
 | 
* check device via `$pfal,msg.version.complete`
 | 
| 
 | 
 | 
* compare device class,type, major from current device with data from XML
 | 
| 
 | 
 | 
* if fit move on if not stop process here
 | 
| 
 | 
 | 
* if defined a `<pre>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 2 points
 | 
| 
 | 
 | 
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
 | 
| 
 | 
 | 
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup`  this will optimize the stored config
 | 
| 
 | 
 | 
and create a backup of the current configuration 
 | 
| 
 | 
 | 
* check crc of *.bin
 | 
| 
 | 
 | 
* update *.bin via pfal in given mode (when compress is used compress before transmit)
 | 
| 
 | 
 | 
* check all packages transmit with ok 
 | 
| 
 | 
 | 
* finalize update via pfal
 | 
| 
 | 
 | 
* device will reset
 | 
| 
 | 
 | 
* after reset check successfull update via `$pfal,msg.version.complete`
 | 
| 
 | 
 | 
* if defined a `<post>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 3 points
 | 
| 
 | 
 | 
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
 | 
| 
 | 
 | 
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup`  this will optimize the stored config
 | 
| 
 | 
 | 
and create a backup of the current configuration 
 | 
| 
 | 
 | 
* recommended to sent a `$pfal.sys.device.reset`
 | 
| 
 | 
 | 
* please note the "crc" / "sha512" for configuration is optional | 
 | 
 | 
\ No newline at end of file |