FX30S - Stuck in loop - Disconnect / Connect Data

Hi All,

I’m having a strange occurrence with my FX30s. This occurrence has happened a hand full of times already. After power up, the FX30S works fine with my APP for about 3-4 weeks, then it enters this strange state where the DcsStateHandler changes state every 15 seconds. See log below:

May  7 17:38:30 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mrc.c NetRegRejectHandler() 1461 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsNetRegRejectHandler() 751 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs_db.c le_dcs_EventNotifierTechStateTransition() 311 | Notify all channels of technology 2 of system state transition to up
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:38:30 fx30s user.err Legato: =ERR= | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_GetDNSAddrs() 961 | Failed to retrieve DNS addresses for connection 1
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1235 | Given channel 1 of technology cellular got no DNS server address assigned
May  7 17:38:30 fx30s user.err Legato: =ERR= | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 593 | Failed to set DNS server addresses; error -6
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 639 | Failed to set DNS configuration
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 653 | Wait for next retry to set DNS configuration
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from up to down
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_RetryConn() 1300 | Initiated retrying connection 1; retry attempt 1, backoff 1 secs
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 311 | Wait for the next retry before failing connection 1
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Temporary Down
May  7 17:38:30 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_RestoreDefaultGW() 658 | Default IPv4 GW address  on interface  restored
May  7 17:38:31 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1222 | '' disconnected!
May  7 17:38:31 fx30s user.err Legato: =ERR= | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c ConnectData() 314 | A data connection request already exist.
May  7 17:38:32 fx30s daemon.info dnsmasq[874]: reading /etc/resolv.conf
May  7 17:38:32 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.8.8#53
May  7 17:38:32 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.4.4#53
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Start() 1079 | Succeeded starting cellular connection 1
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from down to up
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultGWConfiguration() 426 | Setting default GW address on device
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDefaultGW() 827 | Succeeded to set default GW addr on interface rmnet_data0 for channel 1 of technology cellular
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:38:33 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 658 | Succeeded setting DNS configuration
May  7 17:38:33 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:38:40 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:38:40 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1111 | Client app with session reference 0x7f5aa928 already set DNS once
May  7 17:38:40 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1112 | Restoring that before setting the new as requested
May  7 17:38:40 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:38:40 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:38:40 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:38:40 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDNSConfigTimerHandler() 732 | Succeeded setting DNS configuration
May  7 17:38:40 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:38:45 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mrc.c NetRegRejectHandler() 1461 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:38:45 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsNetRegRejectHandler() 751 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:38:45 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs_db.c le_dcs_EventNotifierTechStateTransition() 311 | Notify all channels of technology 2 of system state transition to up
May  7 17:38:45 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:38:45 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:38:46 fx30s user.err Legato: =ERR= | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_GetDNSAddrs() 961 | Failed to retrieve DNS addresses for connection 1
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1235 | Given channel 1 of technology cellular got no DNS server address assigned
May  7 17:38:46 fx30s user.err Legato: =ERR= | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 593 | Failed to set DNS server addresses; error -6
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 639 | Failed to set DNS configuration
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 653 | Wait for next retry to set DNS configuration
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from up to down
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_RetryConn() 1300 | Initiated retrying connection 1; retry attempt 1, backoff 1 secs
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 311 | Wait for the next retry before failing connection 1
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Temporary Down
May  7 17:38:46 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_RestoreDefaultGW() 658 | Default IPv4 GW address  on interface  restored
May  7 17:38:46 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1222 | '' disconnected!
May  7 17:38:46 fx30s user.err Legato: =ERR= | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c ConnectData() 314 | A data connection request already exist.
May  7 17:38:47 fx30s daemon.info dnsmasq[874]: reading /etc/resolv.conf
May  7 17:38:47 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.8.8#53
May  7 17:38:47 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.4.4#53
May  7 17:38:47 fx30s user.debug Legato:  DBUG | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=WatchDog_Thread | FX30S_AdvantorCellComponent.c WatchDog_Thread() 687 | Sent watchDog kick.
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Start() 1079 | Succeeded starting cellular connection 1
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from down to up
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultGWConfiguration() 426 | Setting default GW address on device
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDefaultGW() 827 | Succeeded to set default GW addr on interface rmnet_data0 for channel 1 of technology cellular
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:38:48 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 658 | Succeeded setting DNS configuration
May  7 17:38:48 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:38:56 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:38:56 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1111 | Client app with session reference 0x7f5aa928 already set DNS once
May  7 17:38:56 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1112 | Restoring that before setting the new as requested
May  7 17:38:56 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:38:56 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:38:56 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:38:56 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDNSConfigTimerHandler() 732 | Succeeded setting DNS configuration
May  7 17:38:56 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:39:00 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mrc.c NetRegRejectHandler() 1461 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsNetRegRejectHandler() 751 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs_db.c le_dcs_EventNotifierTechStateTransition() 311 | Notify all channels of technology 2 of system state transition to up
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:39:00 fx30s user.err Legato: =ERR= | modemDaemon[1290]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_GET_RUNTIME_SETTINGS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=15.[0x0f]
May  7 17:39:00 fx30s user.err Legato: =ERR= | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_GetDNSAddrs() 961 | Failed to retrieve DNS addresses for connection 1
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1235 | Given channel 1 of technology cellular got no DNS server address assigned
May  7 17:39:00 fx30s user.err Legato: =ERR= | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 593 | Failed to set DNS server addresses; error -6
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 639 | Failed to set DNS configuration
May  7 17:39:00 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 653 | Wait for next retry to set DNS configuration
May  7 17:39:01 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from up to down
May  7 17:39:01 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_RetryConn() 1300 | Initiated retrying connection 1; retry attempt 1, backoff 1 secs
May  7 17:39:01 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 311 | Wait for the next retry before failing connection 1
May  7 17:39:01 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Temporary Down
May  7 17:39:01 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_RestoreDefaultGW() 658 | Default IPv4 GW address  on interface  restored
May  7 17:39:01 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1222 | '' disconnected!
May  7 17:39:01 fx30s user.err Legato: =ERR= | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c ConnectData() 314 | A data connection request already exist.
May  7 17:39:02 fx30s daemon.info dnsmasq[874]: reading /etc/resolv.conf
May  7 17:39:02 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.8.8#53
May  7 17:39:02 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.4.4#53
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_Start() 1079 | Succeeded starting cellular connection 1
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from down to up
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultGWConfiguration() 426 | Setting default GW address on device
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDefaultGW() 827 | Succeeded to set default GW addr on interface rmnet_data0 for channel 1 of technology cellular
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:39:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 658 | Succeeded setting DNS configuration
May  7 17:39:03 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:39:07 fx30s user.debug Legato:  DBUG | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=WatchDog_Thread | FX30S_AdvantorCellComponent.c WatchDog_Thread() 687 | Sent watchDog kick.
May  7 17:39:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:39:10 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1111 | Client app with session reference 0x7f5aa928 already set DNS once
May  7 17:39:10 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1112 | Restoring that before setting the new as requested
May  7 17:39:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:39:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:39:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:39:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDNSConfigTimerHandler() 732 | Succeeded setting DNS configuration
May  7 17:39:10 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:39:15 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mrc.c NetRegRejectHandler() 1461 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:39:15 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsNetRegRejectHandler() 751 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  7 17:39:15 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs_db.c le_dcs_EventNotifierTechStateTransition() 311 | Notify all channels of technology 2 of system state transition to up
May  7 17:39:15 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Up
May  7 17:39:15 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 584 | Setting DNS server addresses on device
May  7 17:39:16 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1111 | Client app with session reference 0x7f5aa928 already set DNS once
May  7 17:39:16 fx30s user.warn Legato: -WRN- | dcsDaemon[1244]/dcsNet T=main | dcsNet.c DcsNetInitDnsBackup() 1112 | Restoring that before setting the new as requested
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/le_pa_dcs T=main | pa_dcs_linux.c pa_dcs_SetDnsNameServers() 367 | Set DNS '198.224.179.135' '198.224.180.135'
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_SetDNS() 1246 | Succeeded to set DNS address(es) of channel 1 of technology cellular onto device
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDnsConfiguration() 603 | Succeeded setting DNS configuration
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 658 | Succeeded setting DNS configuration
May  7 17:39:16 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1215 | 'rmnet_data0' connected using the technology 'cellular'!
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from up to down
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c le_dcsCellular_RetryConn() 1300 | Initiated retrying connection 1; retry attempt 1, backoff 1 secs
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 311 | Wait for the next retry before failing connection 1
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 780 | Received for channel reference 0x11b event Temporary Down
May  7 17:39:16 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsNet T=main | dcsNet.c le_net_RestoreDefaultGW() 658 | Default IPv4 GW address  on interface  restored
May  7 17:39:16 fx30s user.info Legato:  INFO | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c DcsStateHandler() 1222 | '' disconnected!
May  7 17:39:16 fx30s user.err Legato: =ERR= | fx30s_advantorcell[1166]/FX30S_AdvantorCellComponent T=main | FX30S_AdvantorCellComponent.c ConnectData() 314 | A data connection request already exist.
May  7 17:39:17 fx30s daemon.info dnsmasq[874]: reading /etc/resolv.conf
May  7 17:39:17 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.8.8#53
May  7 17:39:17 fx30s daemon.info dnsmasq[874]: using nameserver 8.8.4.4#53

From the log you can see the DcsStateHandler reporting a Data Disconnect, which then triggers a Data Connect and repeats again and again.

Here my code for controlling the data connection:

//--------------------------------------------------------------------------------------------------
//
//  Event callback for data connection state changes.
//
//--------------------------------------------------------------------------------------------------
static void DcsStateHandler (const char* intfName, bool isConnected, void* contextPtr)
{
    if (isConnected)
    {
        // Get the technology used for the data connection
        le_data_Technology_t usedTech = le_data_GetTechnology();
        if (LE_DATA_MAX == usedTech)
        {
            LE_ERROR("Unknown technology used for the data connection of '%s'!", intfName);
        }
        else
        {
            LE_INFO("'%s' connected using the technology '%s'!", intfName, techDico[usedTech]);
        }

        DataConnected = true;
    }
    else
    {
        LE_INFO("'%s' disconnected!", intfName);
        DataConnected = false;
        //DisconnectData();
        ConnectData();
    }
}

//--------------------------------------------------------------------------------------------------
//
//  This function will request the data connection
//
//--------------------------------------------------------------------------------------------------
static void ConnectData (void)
{
    if (RequestRef)
    {
        LE_ERROR("A data connection request already exist.");
    }
    else
    {
    	RequestRef = le_data_Request();
    	LE_INFO("Requesting the data connection: %p.", RequestRef);
    }
}

//--------------------------------------------------------------------------------------------------
//
//   The opposite of ConnectData, this function will tear down the data connection.
//
//--------------------------------------------------------------------------------------------------

/*static void DisconnectData (void)
{
    if (!RequestRef)
    {
        LE_ERROR("No data connection reference.");
    }

    // Release the connection
    LE_INFO("Releasing the data connection.");
    le_data_Release(RequestRef);

    // Reset connection reference
    RequestRef = NULL;
}
*/

Has anyone seen this state? I know I can cycle the power and clear the problem, but I want to find a solution via my app if possible.

Thanks!

Eddie

there is network reject:
Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.

have you tried other SIM card of other operator?
do you see such issue with “cm data connect” instead of your application?

jyijyi,

I have multiple FX30s running simultaneously with different SIM cell operators. They all work with my app.

I stopped my app and issued the command “cm data connect” and it’s also having problems. See log below:

May  8 12:54:02 fx30s user.warn Legato: -WRN- | supervisor[1108]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_Start() 3471 | Starting app 'tools'
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_cm.so' to '/legato/systems/current/appsWriteable/tools/lib/libComponen
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_fwupdate.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_gnss.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompon
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode_default.so' to '/legato/systems/current/appsWriteable/t
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_moduleLoad.so' to '/legato/systems/current/appsWriteable/tools/lib/lib
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_pmtool.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_secstore.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/cm' to '/legato/systems/current/appsWriteable/tools/bin/cm': Already exists
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/fwupdate' to '/legato/systems/current/appsWriteable/tools/bin/fwupdate': Already ex
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/gnss' to '/legato/systems/current/appsWriteable/tools/bin/gnss': Already exists
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/kmod' to '/legato/systems/current/appsWriteable/tools/bin/kmod': Already exists
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/pmtool' to '/legato/systems/current/appsWriteable/tools/bin/pmtool': Already exists
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/secstore' to '/legato/systems/current/appsWriteable/tools/bin/secstore': Already ex
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/uartMode' to '/legato/systems/current/appsWriteable/tools/bin/uartMode': Already ex
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/scripts/cm' to '/legato/systems/current/appsWriteable/tools/scripts/cm': Already exists
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | proc.c proc_Start() 1403 | Starting process 'cm@0' with pid 23766
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | supervisor.c SigChildHandler() 899 | Reaping unconfigured child process 23762.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | proc.c proc_Start() 1363 | Execing 'scripts/cm'
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxCoreDumpFileBytes to value 8192.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileBytes to value 90112.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxLockedMemoryBytes to value 8192.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileDescriptors to value 256.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxMQueueBytes to value 512.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxThreads to value 20.
May  8 12:54:02 fx30s user.info Legato:  INFO | supervisor[23766]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxQueuedSignals to value 100.
May  8 12:54:02 fx30s user.warn Legato: -WRN- | _UNKNOWN_[23769]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:02 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fc488 has been closed
May  8 12:54:02 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fefb0) has been closed
May  8 12:54:02 fx30s user.warn Legato: -WRN- | _UNKNOWN_[23783]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:02 fx30s user.info Legato:  INFO | cm[23783]/cm T=main | cm_data.c cm_data_ProcessDataCommand() 1164 | dataParam is NULL
May  8 12:54:02 fx30s daemon.info dnsmasq[874]: reading /etc/resolv.conf
May  8 12:54:02 fx30s daemon.info dnsmasq[874]: using nameserver 198.224.179.135#53
May  8 12:54:02 fx30s daemon.info dnsmasq[874]: using nameserver 198.224.180.135#53
May  8 12:54:03 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from down to up
May  8 12:54:03 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fe890 has been closed
May  8 12:54:03 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fec20) has been closed
May  8 12:54:05 fx30s user.warn Legato: -WRN- | _UNKNOWN_[23833]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:05 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fc5b8 has been closed
May  8 12:54:05 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fefb0) has been closed
May  8 12:54:05 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process 'cm@0' (PID: 23766) has exited with exit code 0.
May  8 12:54:05 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_StopComplete() 4753 | app 'tools' has stopped.
May  8 12:54:05 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'tools' has stopped.
May  8 12:54:10 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mrc.c NetRegRejectHandler() 1461 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  8 12:54:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsNetRegRejectHandler() 751 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  8 12:54:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs_db.c le_dcs_EventNotifierTechStateTransition() 311 | Notify all channels of technology 2 of system state transition to up
May  8 12:54:10 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from up to down
May  8 12:54:18 fx30s user.warn Legato: -WRN- | supervisor[1108]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_Start() 3471 | Starting app 'tools'
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_cm.so' to '/legato/systems/current/appsWriteable/tools/lib/libComponen
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_fwupdate.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_gnss.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompon
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode_default.so' to '/legato/systems/current/appsWriteable/t
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_moduleLoad.so' to '/legato/systems/current/appsWriteable/tools/lib/lib
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_pmtool.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_secstore.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/cm' to '/legato/systems/current/appsWriteable/tools/bin/cm': Already exists
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/fwupdate' to '/legato/systems/current/appsWriteable/tools/bin/fwupdate': Already ex
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/gnss' to '/legato/systems/current/appsWriteable/tools/bin/gnss': Already exists
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/kmod' to '/legato/systems/current/appsWriteable/tools/bin/kmod': Already exists
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/pmtool' to '/legato/systems/current/appsWriteable/tools/bin/pmtool': Already exists
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/secstore' to '/legato/systems/current/appsWriteable/tools/bin/secstore': Already ex
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/uartMode' to '/legato/systems/current/appsWriteable/tools/bin/uartMode': Already ex
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/scripts/cm' to '/legato/systems/current/appsWriteable/tools/scripts/cm': Already exists
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | proc.c proc_Start() 1403 | Starting process 'cm@0' with pid 23924
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | supervisor.c SigChildHandler() 899 | Reaping unconfigured child process 23920.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | proc.c proc_Start() 1363 | Execing 'scripts/cm'
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxCoreDumpFileBytes to value 8192.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileBytes to value 90112.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxLockedMemoryBytes to value 8192.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileDescriptors to value 256.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxMQueueBytes to value 512.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxThreads to value 20.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[23924]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxQueuedSignals to value 100.
May  8 12:54:18 fx30s user.warn Legato: -WRN- | _UNKNOWN_[23925]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process 'cm@0' (PID: 23924) has exited with exit code 1.
May  8 12:54:18 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fe890 has been closed
May  8 12:54:18 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fec20) has been closed
May  8 12:54:18 fx30s user.warn Legato: -WRN- | supervisor[1108]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process 'cm@0' in app 'tools' faulted: Ignored.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_StopComplete() 4753 | app 'tools' has stopped.
May  8 12:54:18 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'tools' has stopped.
May  8 12:54:20 fx30s user.warn Legato: -WRN- | supervisor[1108]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_Start() 3471 | Starting app 'tools'
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_cm.so' to '/legato/systems/current/appsWriteable/tools/lib/libComponen
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_fwupdate.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_gnss.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompon
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode_default.so' to '/legato/systems/current/appsWriteable/t
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_moduleLoad.so' to '/legato/systems/current/appsWriteable/tools/lib/lib
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_pmtool.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_secstore.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib/libCo
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/cm' to '/legato/systems/current/appsWriteable/tools/bin/cm': Already exists
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/fwupdate' to '/legato/systems/current/appsWriteable/tools/bin/fwupdate': Already ex
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/gnss' to '/legato/systems/current/appsWriteable/tools/bin/gnss': Already exists
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/kmod' to '/legato/systems/current/appsWriteable/tools/bin/kmod': Already exists
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/pmtool' to '/legato/systems/current/appsWriteable/tools/bin/pmtool': Already exists
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/secstore' to '/legato/systems/current/appsWriteable/tools/bin/secstore': Already ex
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/uartMode' to '/legato/systems/current/appsWriteable/tools/bin/uartMode': Already ex
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libComp
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/scripts/cm' to '/legato/systems/current/appsWriteable/tools/scripts/cm': Already exists
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | proc.c proc_Start() 1403 | Starting process 'cm@0' with pid 23960
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | supervisor.c SigChildHandler() 899 | Reaping unconfigured child process 23956.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | proc.c proc_Start() 1363 | Execing 'scripts/cm'
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxCoreDumpFileBytes to value 8192.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileBytes to value 90112.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxLockedMemoryBytes to value 8192.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileDescriptors to value 256.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxMQueueBytes to value 512.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxThreads to value 20.
May  8 12:54:20 fx30s user.info Legato:  INFO | supervisor[23960]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxQueuedSignals to value 100.
May  8 12:54:20 fx30s user.warn Legato: -WRN- | _UNKNOWN_[23963]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:20 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fc488 has been closed
May  8 12:54:20 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fefb0) has been closed
May  8 12:54:20 fx30s user.warn Legato: -WRN- | _UNKNOWN_[23978]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:20 fx30s user.info Legato:  INFO | cm[23978]/cm T=main | cm_data.c cm_data_ProcessDataCommand() 1164 | dataParam is NULL
May  8 12:54:20 fx30s daemon.info dnsmasq[874]: reading /etc/resolv.conf
May  8 12:54:21 fx30s daemon.info dnsmasq[874]: using nameserver 198.224.179.135#53
May  8 12:54:21 fx30s daemon.info dnsmasq[874]: using nameserver 198.224.180.135#53
May  8 12:54:21 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from down to up
May  8 12:54:21 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fe9c0 has been closed
May  8 12:54:21 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fec20) has been closed
May  8 12:54:23 fx30s user.warn Legato: -WRN- | _UNKNOWN_[24021]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
May  8 12:54:24 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 963 | SessionRef 0x7f5fc5b8 has been closed
May  8 12:54:24 fx30s user.err Legato: =ERR= | modemDaemon[1290]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2214 | SessionRef (0x7f5fefb0) has been closed
May  8 12:54:24 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process 'cm@0' (PID: 23960) has exited with exit code 0.
May  8 12:54:24 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_StopComplete() 4753 | app 'tools' has stopped.
May  8 12:54:24 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'tools' has stopped.
May  8 12:54:25 fx30s user.info Legato:  INFO | modemDaemon[1290]/modemDaemon T=main | le_mrc.c NetRegRejectHandler() 1461 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  8 12:54:25 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsNetRegRejectHandler() 751 | Network Reject Ind with reject cause.7, domain.2, RAT.4, mcc. and mnc.
May  8 12:54:25 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcs T=main | dcs_db.c le_dcs_EventNotifierTechStateTransition() 311 | Notify all channels of technology 2 of system state transition to up
May  8 12:54:25 fx30s user.info Legato:  INFO | dcsDaemon[1244]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 254 | State of connection 1 transitioned from up to down
May  8 12:54:40 fx30s user.warn Legato: -WRN- | supervisor[1108]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
May  8 12:54:40 fx30s user.info Legato:  INFO | supervisor[1108]/supervisor T=main | app.c app_Start() 3471 | Starting app 'tools'

Have you monitor at+cgreg? And at!gstatus? And see if there is network reject?

Did you also check if edrx mode has been turned off?

Does problem happen in firmware r14.1?

I don’t know what edrx mode is or how to check it. The rest is below:

Manufacturer: Sierra Wireless, Incorporated
Model: FX30S(WP7702)
Revision: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
IMEI: 354723090108498
IMEI SV:  6
FSN: VU844685161410
+GCAP: +CGSM
Legato Ver: 19.11.5_c4eac01bb6a8c0695b37dd799fe454b6_modified
Yocto Ver:  SWI9X06Y_02.36.08.00 2021-05-14_12:13:48
OS Ver: Linux version 3.18.140 (oe-user@oe-host) () #1 PREEMPT Fri May 14 11:13:23 UTC 2021
LK Ver: 1.3.0_9c047c35f7
RootFS Ver: SWI9X06Y_02.36.08.00 2021-05-14_12:13:48
UserFS Ver: unknown
MCU Ver: 002.015
at+cgreg?
+CGREG: 0,4

OK
at!gstatus?
!GSTATUS:
Current Time:  1822153          Temperature: 28
Modem Mitigate Level: 0         ModemProc Mitigate Level: 0
Reset Counter: 3                Mode:        ONLINE
System mode:   LTE              PS state:    Attached
IMS reg state: UNKNOWN          IMS mode:    Not Support
IMS Srv State: UNKNOWN SMS,UNKNOWN VoIP
LTE band:      B13              LTE bw:      10 MHz
LTE Rx chan:   5230             LTE Tx chan: 23230
LTE CA state:  INACTIVE
EMM state:     Registered       Normal Service
RRC state:     RRC Idle

PCC RxM RSSI:  -88              RSRP (dBm):  -116
PCC RxD RSSI:  -88              RSRP (dBm):  -140
Tx Power:      --               TAC:         9700 (38656)
RSRQ (dB):     -11              Cell ID:     02514802 (38881282)
SINR (dB):      4.8

you can check +CEDRX command:

Is it the same value for AT+CGREG? and AT!GSTATUS? during the working 3-4 weeks?

It is quite strange that +cgreg is returning 4 which means unknown

The AT+CEDRXS? command returns:
+CEDRXS: 4,“1101”
+CEDRXS: 5,“1101”

AT+CGREG? and AT!GSTATUS? returned the same results on a working modem.

I’m going to try using the le_mrc_NetRegRejectHandler to capture the network reject event and reboot the modem since that fixes the problem. Do you have any sample code of le_mrc_NetRegRejectHandler usage?

Thanks!

Eddie

How about using AT+CEDRXS=0 ?

For the code, you can see here:

The modems rebooted so I’ll have to wait until the problem shows up again to try using AT+CEDRXS=0

Thank!

you can set the AT+CEDRXS=0 now and see if the setting changed when problem happens

Ok, I’ll try AT+CEDRXS=0 and see if the problem reoccurs. Thanks.

Eddie