Properly building bundle for AirVantage from cwe file - linux shell

does anyone what is the proper command to build a bundle for AirVantage starting from a cwe file?
I was only able to find reference to av-pack:
but this is only for the .update file

Hi claudio.baldini,

Please refer to the below links for how to create bundle for AirVantage starting from a cwe file

This is an example of a public bundle package starting from a cwe file on Airvangate.

thanks mate, will go through this.
the last link I can’t open as it says I don’t have the right permissions.

Hi claudio.baldini,

This is an example of a file (547 Bytes)
You compress the cwe file and the file to .zip file. Then you release zip package to AirVantage.

Aleady suggest this to him …

so there is no shell command to make an app starting from the cwe file?
I can see the av-pack but you need to have an .update file and then to specify the build directory which I can`t really find when building the system.
It sounds odd that there is not a command which will also look after the legato revision and MCU, and you have to code this manually in the .app file, but if this is so, we will use this method.

Hi claudio.baldini,

You need to modify it manually.

Ok gents we will do. Cheers

I am getting a bunch of warnings on airVantage for all the applications I have built and installed.
AirVantage is saying that these are not recognized.
Is this because I have updated them locally and not through a bundle?
how do I fix this problem?

I don’t see problem on upgrading legato cwe image

what it means that the firmware and applications are not recognised? is this related to AV and how do I solve the problem? something to add in the
I also see that AV says that the application failed to install but it actually install correctly on the target, is this still something which is controlled by the

you can refer to my bundle file

yes, it seems that AV is checking the parameters in the “version” section and if these don’t match will give the installation failure.
I can’t use your app as I am using the latest R14 for the FX30 and I believe yours is developed with a difference legato version.

@Donald I am trying to understand how to make this process to succeed, download is working but AV is telling me that the update finished unsuccessfully. I have the device on my bench and can confirm that this is not the case.
Reading the document you have linked above:
as we are only interested on the FOTA so to download software remotely.

If I use the same revision for two different bundles, then it will not download the new bundle as this is (I guess) internally checked by AV and skipped if the revision match.
Using a different revision will work and start the update process, but the revision will be checked by AV to confirm the download was successful?
The only thing I can use as unique value for that is the legato version followed by the harsh:
but where can I find this value after I have built from legato source?

So to say, before we start testing all the combinations, what has to be included in the revision part and what can be omitted? Or this is not the reason why we are getting the download unsuccessful on AV…

Hi claudio.baldini,

Yes, it is. You can use the “legato version” or ATI8 command to check the legato version.

@Donald finally got a chance to test this and I still get an error, the legato version in the FX30 is:
root@fx30:~# legato version

so I have added this to the bundle:

<?xml version="1.0" encoding="UTF-8"?>

<app:application xmlns:app=“” type=“FX30(WP7702)” name=“mySoftware_03113021” revision=“LE=19.11.5_8dddc041a1935f2f4cf9c13dda28386c_modified”>


download works, but then it still shows an error:

Am I compiling the bundle the right way?

Please refer to my bundle file.
Example: revision=“MDM=SWI9X07Y_02.18.05.00,CAPRI=GENERIC-002.041_002,LK=1.3.0_838aec2863,OS=3.18.44,LE=18.06.3_7b16f82bd545a87f814cb194bd6d1985,MCU=002.009”