WP7609 – Network disconnect after installing application via mkapp

Hello,

I am currently using the WP7609 module.

After building an application with the following command:

mkapp -t wp76xx app.adef

and installing it on the WP7609 using:

app install app.wp76xx.update 192.168.2.2

the wireless network connection gets disconnected.
I tried reconnecting using:

cm data connect

However, while the application is running, the connection disconnects again.
Even after restarting the WP7609, the wireless network remains disconnected.

  • adef file
sandboxed: false
start: auto
maxFileSystemBytes: 110000K
maxMemoryBytes: 110000K
maxMQueueBytes: 110000K

executables:
{
    app_exe = ( appComponent )
}

processes:
{
    envVars:
    {
        LE_LOG_LEVEL = INFO
    }

    run:
    {
        ( app_exe )
    }

    faultAction: restart
    watchdogAction: restart

    maxCoreDumpFileBytes: 110000K
    maxFileBytes: 110000K
    maxLockedMemoryBytes: 110000K
}

requires:
{
    device:
    {
        [rw] /dev/ttyAT /dev/ttyAT
    }
}

bindings:
{
    app_exe.appComponent.le_led_r    -> <root>.le_gpioPin32
    app_exe.appComponent.le_led_g    -> <root>.le_gpioPin33
    app_exe.appComponent.le_led_b    -> <root>.le_gpioPin42
    app_exe.appComponent.le_gnss     -> positioningService.le_gnss
    app_exe.appComponent.le_spi      -> spiService.le_spi
    app_exe.appComponent.le_sim      -> modemService.le_sim
    app_exe.appComponent.le_mrc      -> modemService.le_mrc
    app_exe.appComponent.le_atClient -> atService.le_atClient
}
  • Component.cdef
sources:
{
    ...
}

cflags:
{
    -g -O0
    -I$CURDIR/include
}

requires:
{
    api:
    {
        le_led_r    = $LEGATO_API/interfaces/le_gpio.api
        le_led_g    = $LEGATO_API/interfaces/le_gpio.api
        le_led_b    = $LEGATO_API/interfaces/le_gpio.api
        le_gnss     = $LEGATO_API/interfaces/positioning/le_gnss.api
        le_spi      = $LEGATO_API/interfaces/le_spi.api
        le_sim      = $LEGATO_API/interfaces/modemServices/le_sim.api
        le_mrc      = $LEGATO_API/interfaces/modemServices/le_mrc.api
        le_atClient = $LEGATO_API/interfaces/atServices/le_atClient.api
    }
}
  • Question
    • Why does the network disconnect after installing and running this application?
    • Is there any configuration or permission issue in the adef file that could cause this?
    • Are there known issues when using le_mrc, le_sim, or le_atClient that could impact the data connection?

Any help or guidance would be appreciated.

Thank you.

if no additional legato application being run, does the “cm data connect” work?

Yes, when no additional Legato application is running,
“cm data connect” works normally and the data connection is maintained.

However, when the application is installed and running,
the connection gets disconnected.

i would suggest you to run the sample application modemDemo to see if there is any issue on data connection:

BTW, which firmware version are you using?

I am using swi-wp76_5.0.6 SDK for development.

OK, that is for FW R16.3