assetDataTutorial has crashed

Hi,

I have followed the tutorial Develop your application to communicate with AirVantage
It can’t be compiled on mangOH yellow when the section “assets” exists in cdef.
AirVantage 1.0 to 2.0 Migration
So I commented the “assets” section and the code was compiled successfully.

But it has crashed being running on the device.
The corresponding log message is:

serviceDirectory[1121]/serviceDirectory T=main | serviceDirectory.c DispatchToServer() 713 | Client (uid 0 ‘root’, pid 6235) disagrees with server (uid 0 ‘root’, pid 1540) on protocol ID of service 'assetDataTutorial.co

Please, can You advise me the way to get it running?

Thank You!

Best Regards,
Aryeh

1 Like

The source project I used is
https://github.com/nhonchu/Legato16.10-AssetData

Hi Aryeh,

Would you check:

legato version
app info assetData

Does both show same Legato framework version?

Thx

Hi lotam,

Thank You!

root@swi-mdm9x28-wp:~# legato version
19.07.0_c8105fef6769b17540226029a5d23d44_modified
root@swi-mdm9x28-wp:~# app info assetData
[not installed] assetData

Best Regards,
Aryeh

Sorry, seems like the app name is different, can you try also:

app info assetDataTutorial

Yes:

root@swi-mdm9x28-wp:~# legato version
19.07.0_c8105fef6769b17540226029a5d23d44_modified
root@swi-mdm9x28-wp:~# app info assetDataTutorial
assetDataTutorial
  status: stopped
  app.name: assetDataTutorial
  app.md5: dd23e2981fff58ead6139ad594f09060
  app.version: 1.2
  legato.version: 18.10.3

Thanks Aryeh!
It shows the system is running Legato 19.07.0 but your app “assetDataTutorial” is built for Legato 18.10.3, as version mismatch thus app failed to run.

Please setup 19.07.0 build environment and rebuild your app then it should work.
Or you can try downgrade the software on your WP back to 18.10.3 without rebuild.
Thx

Thank You very much lotam!

I am new to Legato.
I am developing on Windows.

In Developer Studio Packages available for WP77XX
I see only 18.9.2 and 18.6.1 .

Hi,

Could you let us know why you are trying to use AV and not Octave ?

Regards,
Ashish

Hi Aryeh,

Maybe because Developer Studio is fading out so new package is not available.

You may downgrade your module to use same version available
Or switch to new

Thank you Louis and asyal!

Could you let us know why you are trying to use AV and not Octave ?

I do want to use Octave!
Looks like my attempt on AV was by mistake, thinking that it’s the same.
I am new to mangOH.
I am very sorry.

Please, can you suggest the working yellow example for Octave?

Thank you!!!