I am working on getting a network connection via the le_mdc_interface. This is done via ‘le_mdc_StartSession’ with a valid profile. When I check via the CM data tool, then is see that the modem is connected to the network (as expected). However, I don’t have any connection to the ‘outside world’. When I try to ping for example: 188.8.131.52 I get the response:
“PING 184.108.40.206 (220.127.116.11): 56 data bytes
ping: sendto: Network is unreachable”
However when I attempt to connect manually via the cm tool: cm data connect (with the same profile) then a network connection is setup and I am able to ping external addresses.
I looked through the source code of the cm data tool, but I see no significant changes that could explain this behavior.
Also when I let my application keep running, and I disconnect from the network with the cm data tool (cm data disconnect) and re-connect with the cm data tool, then all of the sudden my application can also communicate with external sources.
Am I missing some kind of additional configuration to be able to connect to external addresses?