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