Hi all,
I would like to be sure when I get into the state DISCONNECT, that the link is really down.
When I do a AT!GSTATUS? I get the mode which is always set as online, then what is used for?
What should I do/use to ensure through an AT command or using the SDK to get the real state of the LTE link?
What I really expect to get is not the network deconnection status, when for example the ping does not work anymore, but a status given back by the SDK to confirm that the hardware link is really down?..
In the structure slqsSessionStateInfo the variable state gives the current link status is that the physical link or the logical (software) status?
@jyijyi:
thanks for your feedback, I was sick for the last few days and now I am back!
To my concern this PS state was not associated with the hardware part…
Are you sure that is the case, and where did you find these informations?
No, the AT command guide is not really explicit on it…
What I expect is to really know, using the SDK, to ensure that the physical link is really down when we switch to the DISCONNECTED state…
And any documentation explains it clearly, even not the misc comments in the header files.
That’s why I hope to get a clear status on it, and sierra wireless do not help that much so far…
Where do you see this state? RRC disconnect?
I’d isolate the issue first.
What link is dropping?
between the modem and NTWK
between the modem & host
Modem could drop the session and will reattach automatically, when this happens the host will drop the connection too. You should handle this scenario in your host with SDK callbacks.
at!gstatus should always show “attached” state, when the modem is attached at+cgcontrdp will return the IP assigned by the NTWK.