Accessing modemServices


#1

I need my legacy application to be able to access the modemServices apis.

In my .adef file I have

extern:
{
requires:
{
le_info = $LEGATO_ROOT/interfaces/modemServices/le_info.api
le_mdc = $LEGATO_ROOT/interfaces/modemServices/le_mdc.api
le_mdc = $LEGATO_ROOT/interfaces/modemServices/le_mrc.api
le_mdc = $LEGATO_ROOT/interfaces/modemServices/le_sim.api
le_adc = ${LEGATO_ROOT}/interfaces/modemServices/le_adc.api
}

}

bindings:
{
*.le_info -> modemService.le_info
*.le_mdc -> modemService.le_mdc
*.le_adc -> modemService.le_adc
*.le_adc -> modemService.le_mrc
*.le_adc -> modemService.le_sim
}

But the binding doesn’t seem to happen and instead I am getting

Dec 29 02:19:07 swi-mdm9x15 user.info Legato: INFO | dcsDaemon[787]/dcsDaemon T=main | dcsServer.c CloseSessionEventHandler() 1742 | Client 0x382a4 killed, remove allocated resources
Dec 29 02:19:07 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | proc.c proc_SigChildHandler() 2054 | Process ‘my_app’ (PID: 20816) has exited due to signal 11 (Segmentation fault).
Dec 29 02:19:08 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[466]/supervisor T=main | app.c app_SigChildHandler() 3372 | Process ‘my_app’ in app ‘my_app’ faulted: Ignored.

This happens at the point when I make any of the calls

le_mrc_ConnectService();
le_sim_ConnectService();

How can I get access to these services?


#2

Can you run

sdir list

on the console ?


#3

root@swi-mdm9x15:~# sdir list

BINDINGS

    <root>.sdirTool -> <root>.sdirTool
    <root>.LogClient -> <root>.LogClient
    <root>.LogControl -> <root>.LogControl
    <root>.le_appCtrl -> <root>.le_appCtrl
    <root>.le_framework -> <root>.le_framework
    <root>.wdog -> <root>.wdog
    <root>.le_wdog -> <root>.le_wdog
    <root>.le_cfg -> <root>.le_cfg
    <root>.le_cfgAdmin -> <root>.le_cfgAdmin
    <root>.le_update -> <root>.le_update
    <root>.le_updateCtrl -> <root>.le_updateCtrl
    <root>.le_appRemove -> <root>.le_appRemove
    <root>.le_instStat -> <root>.le_instStat
    <root>.le_appInfo -> <root>.le_appInfo
    <root>.le_appProc -> <root>.le_appProc
    <root>.appSmack -> <root>.appSmack
    <root>.logFd -> <root>.logFd
    <root>.configTreeWdog -> <root>.configTreeWdog
    <root>.logDaemonWdog -> <root>.logDaemonWdog
    <root>.updateDaemonWdog -> <root>.updateDaemonWdog
    <root>.supervisorWdog -> <root>.supervisorWdog
    <root>.le_sup_ctrl -> <root>.le_sup_ctrl
    <root>.le_fwupdate -> <root>.le_fwupdate
    <root>.atAirVantage.atAirVantage.le_atServer -> <root>.le_atServer
    <root>.atAirVantage.atAirVantage.le_avc -> <root>.le_avc
    <root>.atAirVantage.atAirVantage.le_data -> <root>.le_data
    <root>.atAirVantage.atAirVantage.le_mdc -> <root>.le_mdc
    <root>.atBinderDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.atBinderDaemon.atBinder.le_atServer -> <root>.le_atServer
    <root>.atClientDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.atServerDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.atServerDaemon.atServer.le_atClient -> <root>.le_atClient
    <root>.audioDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.audioDaemon.audio.le_pm -> <root>.le_pm
    <root>.avcCompat.appCfg.le_cfg -> <root>.le_cfg
    <root>.avcCompat.avcCompat.le_avc -> <root>.le_avc
    <root>.avcCompat.avcCompat.le_appCtrl -> <root>.le_appCtrl
    <root>.avcCompat.avcCompat.le_cfg -> <root>.le_cfg
    <root>.avcCompat.avcCompat.le_appInfo -> <root>.le_appInfo
    <root>.avcDaemon.appCfg.le_cfg -> <root>.le_cfg
    <root>.avcDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.avcDaemon.avcDaemon.le_instStat -> <root>.le_instStat
    <root>.avcDaemon.avcDaemon.le_appRemove -> <root>.le_appRemove
    <root>.avcDaemon.avcDaemon.le_appCtrl -> <root>.le_appCtrl
    <root>.avcDaemon.avcDaemon.le_cfg -> <root>.le_cfg
    <root>.avcDaemon.avcDaemon.le_data -> <root>.le_data
    <root>.avcDaemon.avcDaemon.le_ulpm -> <root>.le_ulpm
    <root>.avcDaemon.avcDaemon.le_info -> <root>.le_info
    <root>.avcDaemon.avcDaemon.le_ips -> <root>.le_ips
    <root>.avcDaemon.avcDaemon.le_mdc -> <root>.le_mdc
    <root>.avcDaemon.avcDaemon.le_mrc -> <root>.le_mrc
    <root>.avcDaemon.avcDaemon.le_sim -> <root>.le_sim
    <root>.avcDaemon.avcDaemon.le_sms -> <root>.le_sms
    <root>.avcDaemon.avcDaemon.le_temp -> <root>.le_temp
    <root>.avcDaemon.avcDaemon.le_gnss -> <root>.le_gnss
    <root>.avcDaemon.avcDaemon.le_pos -> <root>.le_pos
    <root>.avcDaemon.avcDaemon.le_appInfo -> <root>.le_appInfo
    <root>.avcDaemon.avcDaemon.le_fwupdate -> <root>.le_fwupdate
    <root>.avcDaemon.avcDaemon.le_update -> <root>.le_update
    <root>.avcDaemon.avcDaemon.le_framework -> <root>.le_framework
    <root>.avcDaemon.avcDaemon.secStoreGlobal -> <root>.secStoreGlobal
    <root>.cellNetService.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.cellNetService.cellNetService.le_sim -> <root>.le_sim
    <root>.cellNetService.cellNetService.le_mrc -> <root>.le_mrc
    <root>.cellNetService.cellNetService.le_secStore -> <root>.le_secStore
    <root>.dcsDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.dcsDaemon.dcsDaemon.le_mdc -> <root>.le_mdc
    <root>.dcsDaemon.dcsDaemon.le_mrc -> <root>.le_mrc
    <root>.dcsDaemon.dcsDaemon.le_cellnet -> <root>.le_cellnet
    <root>.dcsDaemon.dcsDaemon.le_cfg -> <root>.le_cfg
    <root>.dcsDaemon.dcsDaemon.le_wifiClient -> <root>.le_wifiClient
    <root>.devMode.devMode.le_pm -> <root>.le_pm
    <root>.devMode.devMode.le_updateCtrl -> <root>.le_updateCtrl
    <root>.devMode.devMode.le_instStat -> <root>.le_instStat
    <root>.devMode.devMode.le_framework -> <root>.le_framework
    <root>.dr.drTool.dataRouter -> dataRouter.dataRouter
    <root>.fwupdateDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.gpioService.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.gpioService.sysfsGpio.le_cfg -> <root>.le_cfg
    <root>.modemDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.modemDaemon.modemDaemon.le_cfg -> <root>.le_cfg
    <root>.modemDaemon.modemDaemon.le_pm -> <root>.le_pm
    <root>.rSimDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.connect.connectComp.mqtt -> <root>.mqtt
    <root>.disconnect.disconnectComp.mqtt -> <root>.mqtt
    <root>.mqttClient.mqttClientComp.le_data -> <root>.le_data
    <root>.mqttClient.mqttClientComp.le_info -> <root>.le_info
    <root>.send.sendComp.mqtt -> <root>.mqtt
    <root>.portDaemon.portDaemon.le_atServer -> <root>.le_atServer
    <root>.posDaemon.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.posDaemon.posDaemon.le_cfg -> <root>.le_cfg
    <root>.powerManagerService.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.powerManagerService.powerMgr.le_framework -> <root>.le_framework
    <root>.secStore.appCfg.le_cfg -> <root>.le_cfg
    <root>.secStore.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.secStore.secStoreDaemon.le_appInfo -> <root>.le_appInfo
    <root>.secStore.secStoreDaemon.le_update -> <root>.le_update
    <root>.smsInboxService.smsInboxService.le_sim -> <root>.le_sim
    <root>.smsInboxService.smsInboxService.le_sms -> <root>.le_sms
    <root>.smsInboxService.smsInboxService.le_cfg -> <root>.le_cfg
    <root>.cm.cm.le_cfg -> <root>.le_cfg
    <root>.cm.cm.le_ulpm -> <root>.le_ulpm
    <root>.cm.cm.le_mrc -> <root>.le_mrc
    <root>.cm.cm.le_mdc -> <root>.le_mdc
    <root>.cm.cm.le_sim -> <root>.le_sim
    <root>.cm.cm.le_sms -> <root>.le_sms
    <root>.cm.cm.le_info -> <root>.le_info
    <root>.cm.cm.le_adc -> <root>.le_adc
    <root>.cm.cm.le_temp -> <root>.le_temp
    <root>.cm.cm.le_ips -> <root>.le_ips
    <root>.cm.cm.le_rtc -> <root>.le_rtc
    <root>.cm.cm.le_cellnet -> <root>.le_cellnet
    <root>.fwupdate.fwupdate.le_fwupdate -> <root>.le_fwupdate
    <root>.gnss.gnss.le_gnss -> <root>.le_gnss
    <root>.gnss.gnss.le_pos -> <root>.le_pos
    <root>.gnss.gnss.le_posCtrl -> <root>.le_posCtrl
    <root>.pmtool.pmtool.le_ulpm -> <root>.le_ulpm
    <root>.pmtool.pmtool.le_bootReason -> <root>.le_bootReason
    <root>.pmtool.pmtool.le_pm -> <root>.le_pm
    <root>.secstore.secstore.secStoreAdmin -> <root>.secStoreAdmin
    <root>.voiceCallService.watchdogChain.le_wdog -> <root>.le_wdog
    <root>.voiceCallService.voiceCallService.le_mcc -> <root>.le_mcc
    <root>.voiceCallService.voiceCallService.le_audio -> <root>.le_audio
    <root>.wifi.wifi.le_wifiClient -> <root>.le_wifiClient
    <root>.wifi.wifi.le_wifiAp -> <root>.le_wifiAp
    <root>.wifiApTest.wifiApTestComponent.le_wifiAp -> <root>.le_wifiAp
    <root>.wifiClientTest.wifiClientTestComponent.le_wifiClient -> <root>.le_wifiClient
    <root>.wifiWebAp.wifiWebApComponent.le_wifiAp -> <root>.le_wifiAp
    <root>.modemDemo.demoComponent.le_sms -> <root>.le_sms
    <root>.modemDemo.demoComponent.le_mrc -> <root>.le_mrc
    <root>.modemDemo.demoComponent.le_mdc -> <root>.le_mdc
    <root>.modemDemo.demoComponent.le_sim -> <root>.le_sim
    <root>.modemDemo.demoComponent.le_data -> <root>.le_data
    <root>.send.sendComponent.send -> <root>.modemDemo.demoComponent.send
    <root>.le_adc -> <root>.le_adc
    <root>.le_avdata -> <root>.le_avdata
    <root>.le_data -> <root>.le_data
    <root>.le_gpio -> <root>.le_gpio
    <root>.le_info -> <root>.le_info
    <root>.le_mdc -> <root>.le_mdc
    <root>.le_mrc -> <root>.le_mrc
    <root>.le_pos -> <root>.le_pos
    <root>.le_posCtrl -> <root>.le_posCtrl
    <root>.le_sim -> <root>.le_sim
    dataRouter.LogClient -> <root>.LogClient
    dataRouter.dataRouter.routerComponent.mqtt -> <root>.mqtt
    dataRouter.dataRouter.routerComponent.le_appInfo -> <root>.le_appInfo
    dataRouter.dataRouter.routerComponent.le_avdata -> <root>.le_avdata
    dataRouter.dataRouter.routerComponent.le_secStore -> <root>.le_secStore
    dataRouter.dataRouter.routerComponent.le_cfg -> <root>.le_cfg
    socialService.LogClient -> <root>.LogClient
    socialService.socialService.social.le_cfg -> <root>.le_cfg
    socialService.twitterClient.twitterClient.serviceConfig -> socialService.socialService.social.serviceConfig
    socialService.twitterClient.twitterClient.twitter -> socialService.twitter
    redSensorToCloud.LogClient -> <root>.LogClient
    redSensorToCloud.redSensorToCloud.sensorsComponent.le_adc -> <root>.le_adc
    redSensorToCloud.redSensorToCloud.sensorsComponent.le_posCtrl -> <root>.le_posCtrl
    redSensorToCloud.redSensorToCloud.sensorsComponent.le_pos -> <root>.le_pos
    redSensorToCloud.redSensorToCloud.avPublisherComponent.le_avdata -> <root>.le_avdata
    spiService.LogClient -> <root>.LogClient
    spiService.spiService.watchdogChain.le_wdog -> <root>.le_wdog

SERVICES

    <root>.sdirTool  (protocol ID = 'sdirTool', max message size = 268 bytes)
    <root>.logFd  (protocol ID = 'f871a40b4c7617a93b47f874956f1e69', max message size = 118 bytes)
    <root>.logDaemonWdog  (protocol ID = '5f75fa14e4d6040284a6d7f2ca05dade', max message size = 24 bytes)
    <root>.LogClient  (protocol ID = 'LogControlProtocol', max message size = 300 bytes)
    <root>.LogControl  (protocol ID = 'LogControlProtocol', max message size = 300 bytes)
    <root>.le_cfg  (protocol ID = '26b40ad3a107d48e4227dff8903b9601', max message size = 1565 bytes)
    <root>.le_cfgAdmin  (protocol ID = '2aac298e89c905c985fd3b9437fb9f53', max message size = 1052 bytes)
    <root>.configTreeWdog  (protocol ID = '5f75fa14e4d6040284a6d7f2ca05dade', max message size = 24 bytes)
    <root>.le_update  (protocol ID = '17cd65c5c26efb8f22650432980df70f', max message size = 56 bytes)
    <root>.le_appRemove  (protocol ID = '13c5300b39cc08587796fd4b47183f92', max message size = 67 bytes)
    <root>.le_instStat  (protocol ID = 'e160a983e92b4310ae8af3fbeff75a1b', max message size = 63 bytes)
    <root>.le_updateCtrl  (protocol ID = '2068715d5da737c096cc7146ce5f1df6', max message size = 17 bytes)
    <root>.updateDaemonWdog  (protocol ID = '5f75fa14e4d6040284a6d7f2ca05dade', max message size = 24 bytes)
    <root>.le_rsim  (protocol ID = 'b09e1d24fc5dc8036c1bf572dbd40b21', max message size = 300 bytes)
    <root>.le_atClient  (protocol ID = '012ba8574f61ea7b7d8367c704c14a3f', max message size = 4119 bytes)
    <root>.le_atServer  (protocol ID = 'd307cb02e87d5c34a02c4271961aed2b', max message size = 4123 bytes)
    <root>.le_port  (protocol ID = 'acc62016b96387d334a7bd171cd7a73e', max message size = 70 bytes)
    <root>.le_sup_ctrl  (protocol ID = 'bb17ec49ba32b1f1cfa05c1fa0000719', max message size = 68 bytes)
    <root>.le_appCtrl  (protocol ID = 'bbc8a1041b89cad83df1e4bfb1c9a067', max message size = 541 bytes)
    <root>.le_framework  (protocol ID = '28525bdc36d66247ae720424d0b28b51', max message size = 17 bytes)
    <root>.wdog  (protocol ID = '80408175972a85f9cd0abf02df19f2f3', max message size = 16 bytes)
    <root>.supervisorWdog  (protocol ID = '5f75fa14e4d6040284a6d7f2ca05dade', max message size = 24 bytes)
    <root>.le_appInfo  (protocol ID = '092c2f7994c22cecc1e5a2608e1595b0', max message size = 118 bytes)
    <root>.le_appProc  (protocol ID = '3a750db42e253ea2307d75519c48afeb', max message size = 633 bytes)
    <root>.le_wifiClient  (protocol ID = '8ae6818add10ef64e6c802d09dd4cdf2', max message size = 223 bytes)
    <root>.le_wifiAp  (protocol ID = '21a400c254949efea0a83fdbac2331fa', max message size = 85 bytes)
    <root>.le_fwupdate  (protocol ID = '289bf3d586ea4d23384965b639985648', max message size = 276 bytes)
    <root>.le_dualsys  (protocol ID = '69539775d6f1358ade33034c2fa222c4', max message size = 20 bytes)
    <root>.le_flash  (protocol ID = '12c713cdf3e7e3c439ea68771ee83138', max message size = 49 bytes)
    <root>.le_pm  (protocol ID = '39f21a4932ef87d302a8f31dfe5a0af7', max message size = 55 bytes)
    <root>.le_ulpm  (protocol ID = 'fdb586a476e5e0e19b60614aa1ea5d7a', max message size = 40 bytes)
    <root>.le_bootReason  (protocol ID = '2d79668511adea4d675f5d77b9f2d3ea', max message size = 17 bytes)
    <root>.le_gpioPin2  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin6  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin7  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin8  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin13  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin21  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin22  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin23  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin24  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin25  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin32  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin33  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin38  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin39  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin40  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin41  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_gpioPin42  (protocol ID = 'eb4b6dc575d64f27484e7657275f11fd', max message size = 28 bytes)
    <root>.le_wdog  (protocol ID = '572ba176b790548eed89b7ba6f9f4b14', max message size = 24 bytes)
    <root>.le_info  (protocol ID = '975257ab76b4bd700b883f96a47b6508', max message size = 276 bytes)
    <root>.le_sms  (protocol ID = '6e36b32bb82b37b44288335e8dec164e', max message size = 205 bytes)
    <root>.le_mrc  (protocol ID = 'e96c4ce20cae5c5cc6ee634ff9e2d0cf', max message size = 124 bytes)
    <root>.le_sim  (protocol ID = '6cbee1c9d31613193653596c8c9e1733', max message size = 539 bytes)
    <root>.le_mdc  (protocol ID = 'd817b57b08bfa0b344bd2ba89de01325', max message size = 196 bytes)
    <root>.le_mcc  (protocol ID = '8ecb439c0a716043e89dbff911b158de', max message size = 41 bytes)
    <root>.le_ecall  (protocol ID = '2ae7caa4c3c029eda3d585d9b9554b63', max message size = 164 bytes)
    <root>.le_ips  (protocol ID = '90ad953c761aa71f85c44f94ee91aff1', max message size = 24 bytes)
    <root>.le_temp  (protocol ID = '01650568439a3a9c47468069df5a7783', max message size = 128 bytes)
    <root>.le_antenna  (protocol ID = 'c6ad7def5425943d0e3b97ad84593ed5', max message size = 24 bytes)
    <root>.le_riPin  (protocol ID = 'aafbc3c57eec1350fdae5eb6fe083e5a', max message size = 17 bytes)
    <root>.le_adc  (protocol ID = 'cca082d3d4d6b9c7c11466ab2ea74e4f', max message size = 54 bytes)
    <root>.le_rtc  (protocol ID = '88750cf71cdf94a8a7d68de367465558', max message size = 24 bytes)
    <root>.le_mdmCfg  (protocol ID = 'fcf3b5cece06794472fb938f2c621c50', max message size = 16 bytes)
    <root>.le_gnss  (protocol ID = '7783897f4c8cd71fbef93267c711f65d', max message size = 2023 bytes)
    <root>.le_pos  (protocol ID = '33102d4089ea11f09bbd788c9f631996', max message size = 36 bytes)
    <root>.le_posCtrl  (protocol ID = 'd47cc30512e69387f546399a44c565e4', max message size = 16 bytes)
    <root>.le_secStore  (protocol ID = '98c2a4dd482018a94c642390891be24f', max message size = 8471 bytes)
    <root>.secStoreGlobal  (protocol ID = '98c2a4dd482018a94c642390891be24f', max message size = 8471 bytes)
    <root>.secStoreAdmin  (protocol ID = '4995e42beb8aa21c2fabf4414840024d', max message size = 8727 bytes)
    <root>.le_audio  (protocol ID = '6a8550b129317ef436c4894129509c7c', max message size = 132 bytes)
    <root>.le_cellnet  (protocol ID = '516b817bf2ca07521f493c66b2dd638f', max message size = 32 bytes)
    <root>.le_data  (protocol ID = '4c7579d568b5f08a95f6f500b5a4d372', max message size = 117 bytes)
    <root>.modemDemo.demoComponent.send  (protocol ID = '84053db7c5b341bf43ff105dd30669ba', max message size = 201 bytes)
    <root>.mqtt  (protocol ID = 'bdc248f37f95194d469945e6f5b23d11', max message size = 2200 bytes)
    <root>.le_avc  (protocol ID = '8d8b719f61fcfa9e0bbc98c3cfa11176', max message size = 132 bytes)
    <root>.le_avdata  (protocol ID = '0bc0f62eed80a3990ef2c1cfc2c25865', max message size = 802 bytes)
    dataRouter.dataRouter  (protocol ID = '72721d1302e4e9a6547697373f2ec673', max message size = 281 bytes)
    socialService.twitter  (protocol ID = 'e4943cf1af6524ccfec459f89a9bb58e', max message size = 480 bytes)
    socialService.socialService.social.serviceConfig  (protocol ID = '610caaca61bb0b15ebb44e5ace06aa64', max message size = 824 bytes)

WAITING CLIENTS

root@swi-mdm9x15:~#


#4

This is the full log

Dec 29 11:53:54 swi-mdm9x15 authpriv.info dropbear[3016]: Child connection from 192.168.2.3:62731
Dec 29 11:53:54 swi-mdm9x15 authpriv.notice dropbear[3016]: Auth succeeded with blank password for ‘root’ from 192.168.2.3:62731
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateDaemon.c le_update_Start() 1785 | Update request accepted.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[3019]/framework T=main | LE_FILENAME user_Create() 979 | Created user ‘SecurityUnpack’ with uid 1021 and gid 1021.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum fcb59dc11f232931e0e29b8ed60bad2b is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum e598c7cf1e9fd98b34106ec306950e7e is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 671b6ac65e74767cb110574f018f5990 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 94daa356fde313511902402c7de1ecfe is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 0bc26d536561b3b6b7318fc8c365a2b7 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum b3d7f0a87e39c7ab43af98c436931cb2 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum dc334fca44b171f7571c559f744ed2ab is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 9aa993a8c5f8c7aba8c1fa39bd4d0f53 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum c72b7cd21baf9c4d59a91a8298338cf5 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum bc0f946e1df95b27ed521cf142216370 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum d0a32a028d4930f632014878d4acbda3 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 98ca9ac4acab6a034dd81f54376aaccb is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a871457a37035373a364230f3bed86b1 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum dfcfcf94d309b5995f3272c971d1e078 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum e3f143e1aaa88202510865a1ceb08b96 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum c1a19e07bc736afc0687b3fb13d874d7 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 84a8315b4b1021445e498e01898209e0 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a734bad5e1e1f4b02de3e03363ec8d89 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum ab44750a7c08da3d53259c9ee343d65e is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum ea8ca808a5c2d5749556ffa853e836cb is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 063a9e39bcb2bd43eda8d83859018c3b is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a80bf43475b227e1cbf4846224e00cf7 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a9a5909a34a4d3fba8119f41e2a6544a is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 5705786293e30ee0bfe2aa20fb2163cd is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum f53b4302f503362c8b2a047ab362614a is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum ba6e64040f913b2833a8b2d055159041 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum db6ffc43b8702a6bf5f6b5939860bf02 is still needed.
Dec 29 11:53:54 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 8aadbe2c028d2b620d47e6e18d19dfee is still needed.
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 68c20e6541ba029693448b098beb6851 is still needed.
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 07e9eb9f3c497408aabbdcfcadc206e8 is still needed.
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 0fd47e7bed971faf803fc897031a0149 is still needed.
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c JsonDone() 867 | App with MD5 sum 1eacd5eff456e4f330819689a9bd7e88 being unpacked.
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 159631/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 171919/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 184207/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 196495/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 208783/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 221071/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 233359/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 245647/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 257935/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 270223/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 282511/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 294799/303445
Dec 29 11:53:55 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 554 | Payload copied: 303445/303445
Dec 29 11:53:58 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_Snapshot() 882 | Snapshot taken of system index 426. Current system index is now 427.
Dec 29 11:53:58 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_SymlinkApp() 584 | Creating symlink /legato/systems/current/apps/my_app -> /legato/apps/1eacd5eff456e4f330819689a9bd7e88
Dec 29 11:53:58 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | appUser.c appUser_Add() 37 | Creating user ‘appmy_app’ for application ‘my_app’.
Dec 29 11:53:58 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/framework T=main | LE_FILENAME user_Create() 979 | Created user ‘appmy_app’ with uid 1032 and gid 1032.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/framework T=main | LE_FILENAME sysStatus_MarkTried() 261 | Current system has been marked “tried 1”.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c AppInstallHandler() 833 | Application, ‘my_app,’ has been installed.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c AppInstallHandler() 880 | Local install, create new object9 instance.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | supCtrl.c supCtrl_StartApp() 60 | Starting app ‘my_app’.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c GetObject9InstanceForApp() 646 | No instance mapping found, creating new.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 2130 | Creating asset instance for lwm2m/9
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 2232 | Finished creating instance 17 for lwm2m/9
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c GetObject9InstanceForApp() 655 | Recording new instance id.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | proc.c GetFaultAction() 323 | No fault action specified for process ‘my_app’. Assuming ‘ignore’.
Dec 29 11:53:59 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[466]/supervisor T=main | proc.c GetWatchdogAction() 359 | my_app watchdogAction ‘’ in proc section
Dec 29 11:53:59 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[466]/supervisor T=main | proc.c GetWatchdogAction() 359 | my_app watchdogAction ‘’ in proc section
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/legato/systems/current/apps/my_app/read-only/bin/rootCA.crt’ to ‘/legato/systems/current/appsWriteable/my_app/bin/rootCA.crt’.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/legato/systems/current/apps/my_app/read-only/bin/privkey.pem’ to ‘/legato/systems/current/appsWriteable/my_app/bin/privkey.pem’.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/legato/systems/current/apps/my_app/read-only/bin/my_app’ to ‘/legato/systems/current/appsWriteable/my_app/bin/my_app’.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/legato/systems/current/apps/my_app/read-only/bin/cert.pem’ to ‘/legato/systems/current/appsWriteable/my_app/bin/cert.pem’.
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1512 | Skipping file link ‘/legato/systems/current/apps/my_app/read-only/bin/cert.pem’ to ‘/legato/systems/current/appsWriteable/my_app/bin/cert.pem’: Already e
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1512 | Skipping file link ‘/legato/systems/current/apps/my_app/read-only/bin/my_app’ to ‘/legato/systems/current/appsWriteable/my_app/bin/my_app’: Already exist
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1512 | Skipping file link ‘/legato/systems/current/apps/my_app/read-only/bin/privkey.pem’ to ‘/legato/systems/current/appsWriteable/my_app/bin/privkey.pem’: Alr
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1512 | Skipping file link ‘/legato/systems/current/apps/my_app/read-only/bin/rootCA.crt’ to ‘/legato/systems/current/appsWriteable/my_app/bin/rootCA.crt’: Alrea
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_accel_scale’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:de
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_accel_x_raw’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:de
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_accel_y_raw’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:de
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_accel_z_raw’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:de
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_scale’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_x_raw’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_y_raw’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_z_raw’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0068/iio:
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0076/iio:device1/in_pressure_input’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0076/iio
Dec 29 11:53:59 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | app.c CreateFileLink() 1582 | Created file link ‘/sys/devices/i2c-0/0-0076/iio:device1/in_temp_input’ to '/legato/systems/current/appsWriteable/my_app/sys/devices/i2c-0/0-0076/iio:dev
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxCoreDumpFileBytes to value 102400.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileBytes to value 102400.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxLockedMemoryBytes to value 8192.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileDescriptors to value 256.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxMQueueBytes to value 512.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxThreads to value 20.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxQueuedSignals to value 100.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | proc.c proc_Start() 1394 | Starting process ‘my_app’ with pid 3032
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | supervisor[3032]/supervisor T=main | proc.c proc_Start() 1359 | Execing 'my_app’
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | app.c app_InstallIndividual() 765 | App my_app <1eacd5eff456e4f330819689a9bd7e88> installed
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateDaemon.c ApplyAppUpdate() 705 | App ‘my_app<1eacd5eff456e4f330819689a9bd7e88>’ installed properly.
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateDaemon.c StartProbation() 216 | System on probation (timer started).
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c avcApp_SetSwUpdateState() 2901 | No update is going on. CurrentObj9 = null
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c avcApp_SetSwUpdateResult() 2835 | No update is going on. CurrentObj9 = null
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/updateState: LE_NOT_FOUND
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=unknown | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refPathIteratorMap’ is truncated to 'framework.hashMap_refPathIterat’
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/instanceId: LE_NOT_FOUND
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/bytesDownloaded: LE_NOT_FOUND
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/internalState: LE_NOT_FOUND
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/updateResult: LE_NOT_FOUND
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 689 | Found 11 object 9 instances
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 690 | obj9ListLen; 144 obj9List: </lwm2m/9/0>,</lwm2m/9/1>,</lwm2m/9/2>,</lwm2m/9/3>,</lwm2m/9/4>,</lwm2m/9/5>,</lwm2m/9/7>,</lwm2m/9/8>,</lwm2m/9/9>,</
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refEventHandlers’ is truncated to 'framework.hashMap_refEventHandl’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refDefault Timer SafeRe’ is truncated to 'framework.hashMap_refDefault Ti’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.MessagingClientInterfaces’ is truncated to 'framework.MessagingClientInterf’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refHandlersRef’ is truncated to 'framework.hashMap_refHandlersRe’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_MessagingServices’ is truncated to 'framework.hashMap_MessagingServ’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_MessagingClients’ is truncated to 'framework.hashMap_MessagingClie’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.PipelineSIGCHLD-reports’ is truncated to 'framework.PipelineSIGCHLD-repor’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME fs_Init() 838 | FS prefix path "/data/le_fs/"
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refFsFileRefMap’ is truncated to 'framework.hashMap_refFsFileRefM’
Dec 29 11:54:00 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 1 blocks.
Dec 29 11:54:00 swi-mdm9x15 authpriv.info dropbear[3016]: Exit (root): Disconnect received
Dec 29 11:54:00 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2478]/avcDaemon T=main | assetData.c RegUpdateTimerHandler() 3402 | RegUpdate timer expired; reporting REG_UPDATE
Dec 29 11:54:00 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2478]/avcDaemon T=main | assetData.c assetData_RegistrationUpdate() 2086 | unsupported function called.
Dec 29 11:54:09 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | updateDaemon.c updateDaemon_MarkGood() 229 | System passed probation. Marking ‘good’.
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME main() 1701 | Starting Data Connection
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refle_data_ClientHandle’ is truncated to 'framework.hashMap_refle_data_Cl’
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME msgMessage_CreatePool() 112 | Pool name truncated to ‘msgs-4c7579d568b5f08a95f6f500b5’ for protocol ‘4c7579d568b5f08a95f6f500b5a4d372’.
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.msgs-4c7579d568b5f08a95f6f500b5’ is truncated to 'framework.msgs-4c7579d568b5f08a’
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘.le_data_ClientThreadData’ overflowed. Expanded to 1 blocks.
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME DoConnectService() 344 | ======= Starting client for ‘le_data’ service ========
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘.le_data_ClientData’ overflowed. Expanded to 1 blocks.
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME main() 1705 | Requesting connection…
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | modemDemo[811]/demoComponent T=main | demo.c ConnectionStateHandler() 980 | Connection State Event: ‘rmnet0’ connected
Dec 29 11:54:10 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME main() 1774 | Connecting MQTT…
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 1eacd5eff456e4f330819689a9bd7e88 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum fcb59dc11f232931e0e29b8ed60bad2b is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum e598c7cf1e9fd98b34106ec306950e7e is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 671b6ac65e74767cb110574f018f5990 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 94daa356fde313511902402c7de1ecfe is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 0bc26d536561b3b6b7318fc8c365a2b7 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum b3d7f0a87e39c7ab43af98c436931cb2 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum dc334fca44b171f7571c559f744ed2ab is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 9aa993a8c5f8c7aba8c1fa39bd4d0f53 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum c72b7cd21baf9c4d59a91a8298338cf5 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum bc0f946e1df95b27ed521cf142216370 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum d0a32a028d4930f632014878d4acbda3 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 98ca9ac4acab6a034dd81f54376aaccb is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a871457a37035373a364230f3bed86b1 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum dfcfcf94d309b5995f3272c971d1e078 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum e3f143e1aaa88202510865a1ceb08b96 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum c1a19e07bc736afc0687b3fb13d874d7 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 84a8315b4b1021445e498e01898209e0 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a734bad5e1e1f4b02de3e03363ec8d89 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum ab44750a7c08da3d53259c9ee343d65e is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum ea8ca808a5c2d5749556ffa853e836cb is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 063a9e39bcb2bd43eda8d83859018c3b is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a80bf43475b227e1cbf4846224e00cf7 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum a9a5909a34a4d3fba8119f41e2a6544a is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 5705786293e30ee0bfe2aa20fb2163cd is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum f53b4302f503362c8b2a047ab362614a is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum ba6e64040f913b2833a8b2d055159041 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum db6ffc43b8702a6bf5f6b5939860bf02 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 8aadbe2c028d2b620d47e6e18d19dfee is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 68c20e6541ba029693448b098beb6851 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 07e9eb9f3c497408aabbdcfcadc206e8 is still needed.
Dec 29 11:54:10 swi-mdm9x15 user.info Legato: INFO | updateDaemon[497]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 0fd47e7bed971faf803fc897031a0149 is still needed.


#5

Dec 29 11:54:14 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME main() 1786 | Attempting Reconnect…
Dec 29 11:54:14 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME main() 1792 | Reconnect SUCCESS
Dec 29 11:54:15 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[3032]/framework T=main | LE_FILENAME main() 1819 | SUCCESS subscription to $aws/things/MANGOH_Device/shadow/get/accepted (null)
Dec 29 11:54:16 swi-mdm9x15 user.info Legato: INFO | dcsDaemon[788]/dcsDaemon T=main | dcsServer.c CloseSessionEventHandler() 1742 | Client 0x3804c killed, remove allocated resources
Dec 29 11:54:16 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | proc.c proc_SigChildHandler() 2054 | Process ‘my_app’ (PID: 3032) has exited due to signal 11 (Segmentation fault).
Dec 29 11:54:17 swi-mdm9x15 user.warn Legato: -WRN- | _appStopClient[3061]/framework T=main | LE_FILENAME CreateSocket() 550 | Socket opened as standard i/o file descriptor 2!
Dec 29 11:54:17 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[466]/supervisor T=main | app.c app_SigChildHandler() 3372 | Process ‘my_app’ in app ‘my_app’ faulted: Ignored.
Dec 29 11:54:17 swi-mdm9x15 user.info Legato: INFO | supervisor[466]/supervisor T=main | apps.c DeactivateAppContainer() 349 | Application ‘my_app’ has stopped.


#6

the full adef file

// Disable the sandbox security to make things a little easier.
sandboxed: false
start: auto

// Put the cross-compiled legacy program in the app’s bin directory.
// [x] = make it executable.
bundles:
{
file:
{
[x] my_app /bin/
[x] src/bin/cert.pem /bin/
[x] src/bin/privkey.pem /bin/
[x] src/bin/rootCA.crt /bin/
}

}

requires:
{
configTree:
{
[rw] .
}

file:
{
	/sys/devices/i2c-0/0-0068/iio:device0/in_accel_x_raw    /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_accel_y_raw    /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_accel_z_raw    /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_accel_scale    /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_x_raw  /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_y_raw  /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_z_raw  /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0068/iio:device0/in_anglvel_scale  /sys/devices/i2c-0/0-0068/iio:device0/
	/sys/devices/i2c-0/0-0076/iio:device1/in_temp_input     /sys/devices/i2c-0/0-0076/iio:device1/
	/sys/devices/i2c-0/0-0076/iio:device1/in_pressure_input /sys/devices/i2c-0/0-0076/iio:device1/

}

}

extern:
{
requires:
{
le_info = $LEGATO_ROOT/interfaces/modemServices/le_info.api
le_mdc = $LEGATO_ROOT/interfaces/modemServices/le_mdc.api
le_adc = ${LEGATO_ROOT}/interfaces/modemServices/le_adc.api
le_mrc = ${LEGATO_ROOT}/interfaces/modemServices/le_mrc.api
le_sim = ${LEGATO_ROOT}/interfaces/modemServices/le_sim.api

    le_data = $LEGATO_ROOT/interfaces/modemServices/le_data.api
    le_gpio = $LEGATO_ROOT/interfaces/le_gpio.api
	le_pos = $LEGATO_ROOT/interfaces/positioning/le_pos.api
	le_posCtrl = $LEGATO_ROOT/interfaces/positioning/le_posCtrl.api
	le_avdata = $LEGATO_ROOT/interfaces/airVantage/le_avdata.api
}

}

// Tell the Supervisor to start this program when the application is started.
processes:
{
envVars:
{
LE_LOG_LEVEL = DEBUG
}

run:
{
    ( my_app )

}

}

bindings:
{
*.le_info -> modemService.le_info
*.le_mdc -> modemService.le_mdc
*.le_mrc -> modemService.le_mrc
*.le_sim -> modemService.le_sim
*.le_adc -> modemService.le_adc
*.le_data -> dataConnectionService.le_data
*.le_pos -> positioningService.le_pos
*.le_posCtrl -> positioningService.le_posCtrl
*.le_gpio -> gpioService.le_gpio
*.le_avdata -> avcService.le_avdata
}


#7

issue resolved. I wasn’t calling le_XXX_ConnectService() APIs before using the service.