MangOH Red Getting Started Problem

Dear All,

I have a problem following the getting started doc in order to set up the MangOH Red. I’m stricktly following the steps in the “GettingStartedWinCLI_r3.pdf” file (for windows) and I’m not able to see the applications gpioExpanderServiceRed, mqttClient and redSensorToCloud in my device (WP8548) typing the app status command.

I’m using virtual box as describe in the file (I have a little expirience with linux) and it seems that the build is ok, but never appear these apps, so I can not conect with AirVantage using the RedSensorToCloud.

I´ve upgraded the Legato AF to 17.11 and they keep equal, not appears.

What is wrong??

Best regards

Hello Ivan

Did you program the mew mangOH build into your board ?

Did you restart the board ?

You can list the app installed with app status

Francis

Hello Francis,

Thanks for your reply.

I program the board with the following command: $ instsys mangOH_Red.wp85.update 192.168.2.2

After this command, the board is restarting (I can see the boot output in the console and the board doesn´t reply any ping). Some minutes later, the board reply normally, but $ app status never shows those apps.

Best regards

You not see any error on the build ?
I do that a lot of time without any problem.

If the update failed the board roll back previous version of legato. Enter legato version and send the result

Send me a private messsge with your mail address. Tomorrow I will send step to restart with clean state

The only strange thing in the compilation is this message:

mksys -t wp85 -s /home/mangoh/mangOH/apps/GpioExpander/gpioExpanderService -s /home/mangoh/mangOH/apps/RedSensorToCloud mangOH_Red.sdef
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
[85/543] Running external build step

After rebooting, app status show:

root@swi-mdm9x15:~# app status
[running] atClient
[running] atServer
[running] audioService
[running] avcService
[running] cellNetService
[running] dataConnectionService
[running] fwupdateService
[running] gpioService
[running] modemService
[running] positioningService
[running] powerMgr
[running] secStore
[stopped] smsInboxService
[stopped] spiService
[stopped] tools
[stopped] voiceCallService
[stopped] wifi
[stopped] wifiApTest
[stopped] wifiClientTest
[running] wifiService
[stopped] wifiWebAp
[running] devMode

Best regards

For all user

The problem was “the toolchain”.
Yvan use new release R15 of WP8548. In the VM linux the toolchain is for R14 firmware.

In this case, you must remove the old toolchain located in /opt/swi and install the new (available on the sierra website).

After you must rebuild the legato and the mangoh system.

If you use Developper studio to make app :

  • add your custom legato build 17.11 into package manager and install it
  • install the new package Legato WP85 (16.10.4 ) R15 .
  • clone it and change the legato to your custom legato

You now able to compil app with Legato 17.11 and the correct toolchain.

enjoy

Yvan,

I have tested the new WP8548 R15 firmware.

I use modifed linux kernel with CAN support.
I have to rebuild the kernel (it take time).

All is good.

Thanks a lot for your help Francis!!

I´ve installed R14 in the WP8548 and all works fine.