| ... | ... | @@ -115,44 +115,61 @@ 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 (PLANNED DRAFT)
 | 
| 
 | 
 | 
## version 4.0 of FRP (DRAFT 1)
 | 
| 
 | 
 | 
#### example of frp file content
 | 
| 
 | 
 | 
```
 | 
| 
 | 
 | 
*.frp
 | 
| 
 | 
 | 
|
 | 
| 
 | 
 | 
|-content.xml
 | 
| 
 | 
 | 
|-avl_3.0.x_rcxx.bin
 | 
| 
 | 
 | 
|-xxxxx_yyy.pre.conf
 | 
| 
 | 
 | 
|-xxxxx_yyy.post.conf
 | 
| 
 | 
 | 
|-falcom.crt
 | 
| 
 | 
 | 
|-avl_3.x.x_rcxx.bin
 | 
| 
 | 
 | 
|-xxxxx_yyy.pre.conf*
 | 
| 
 | 
 | 
|-xxxxx_yyy.post.conf*
 | 
| 
 | 
 | 
|-customer.crt*
 | 
| 
 | 
 | 
|-application.lua*
 | 
| 
 | 
 | 
|-user.txt*
 | 
| 
 | 
 | 
```
 | 
| 
 | 
 | 
customer.crt as option
 | 
| 
 | 
 | 
* as option
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
* example of XML
 | 
| 
 | 
 | 
#### new <file> defenition
 | 
| 
 | 
 | 
- format "conf"
 | 
| 
 | 
 | 
PFAL configuration file
 | 
| 
 | 
 | 
- format "flat"
 | 
| 
 | 
 | 
Raw file with following options:
 | 
| 
 | 
 | 
  - "path" - absolute PATH + FILENAME of Device Filesystem
 | 
| 
 | 
 | 
  - "sha512" - SHA512 Hash of given flat file - if not given it will be generated on the fly of uploader
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### new <pre> section
 | 
| 
 | 
 | 
- bundle of uploads before firmware update
 | 
| 
 | 
 | 
- optional
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### new <post> section
 | 
| 
 | 
 | 
- bundle of uploads after firmware update
 | 
| 
 | 
 | 
- optional
 | 
| 
 | 
 | 
 | 
| 
 | 
 | 
#### example of XML
 | 
| 
 | 
 | 
```xml
 | 
| 
 | 
 | 
<?xml version="1.0" encoding="UTF-8"?>
 | 
| 
 | 
 | 
<falcom-resource-package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
| 
 | 
 | 
	xsi:noNamespaceSchemaLocation="http://www.falcom-solutions.de/schemas/falcom-resource-package_v4.xsd">
 | 
| 
 | 
 | 
	<version-info number="2" />
 | 
| 
 | 
 | 
	<version-info number="4" />
 | 
| 
 | 
 | 
	<resources>
 | 
| 
 | 
 | 
            <firmware>
 | 
| 
 | 
 | 
                <file format="flat" sha512="f750181d026864cfdd204374cc464db8">avl_3.0.3_rc39.bin</file>
 | 
| 
 | 
 | 
	    </firmware>
 | 
| 
 | 
 | 
            <configuration>
 | 
| 
 | 
 | 
            <pre>
 | 
| 
 | 
 | 
                    <file format="conf" sha512="f750181d026864cfdd204374cc464db8">xxxxx_yyy.pre.conf</file>
 | 
| 
 | 
 | 
                <file format="conf" >xxxxx_yyy.pre.conf</file>
 | 
| 
 | 
 | 
                <file format="flat" path="/lua/test.lua" sha512="f750181d026864cfdd204374cc464db8">application.lua</file>
 | 
| 
 | 
 | 
	    </pre>
 | 
| 
 | 
 | 
            <firmware>
 | 
| 
 | 
 | 
                <file format="flat" >avl_3.0.3_rc39.bin</file>
 | 
| 
 | 
 | 
	    </firmware>      
 | 
| 
 | 
 | 
            <post>
 | 
| 
 | 
 | 
                    <file format="conf" sha512="f750181d026864cfdd204374cc464db8">xxxxx_yyy.post.conf</file>
 | 
| 
 | 
 | 
                <file format="conf">xxxxx_yyy.post.conf</file>
 | 
| 
 | 
 | 
                <file format="flat" path="/sys/cabundle.crt">tcp_port1_ca-bundle.crt.lua</file>
 | 
| 
 | 
 | 
	    </post>
 | 
| 
 | 
 | 
            </configuration>
 | 
| 
 | 
 | 
	</resources>
 | 
| 
 | 
 | 
	<devices>
 | 
| 
 | 
 | 
	    <device class="avl" type="all">
 | 
| 
 | 
 | 
                <module type="device">
 | 
| 
 | 
 | 
		    <resource type="firmware">
 | 
| 
 | 
 | 
					<version major="3" minor="0" micro="3" build="39"
 | 
| 
 | 
 | 
						state="rc" />
 | 
| 
 | 
 | 
			<version major="3" minor="0" micro="3" build="39" state="rc" />
 | 
| 
 | 
 | 
			    <file format="flat" crc="f750181d026864cfdd204374cc464db8">avl_3.0.3_rc39.bin</file>
 | 
| 
 | 
 | 
		    </resource>
 | 
| 
 | 
 | 
		</module>
 | 
| ... | ... |  |