<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Cambria Math",serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
p.Default, li.Default, div.Default
{mso-style-name:Default;
margin:0in;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:"Verdana",sans-serif;
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif">I am currently working on a 450MHz modem where as per the vendor the dial step is to send following commands to the modem:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><o:p> </o:p></span></p>
<p class="MsoNormal">AT+CGATT=0 //Sleep 2 seconds <o:p></o:p></p>
<p class="MsoNormal">AT+CGATT=1<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif">As soon as I send AT+CGATT=0, the modem receives unsolicited message (CEREG) which causes the registration state to go into
<b>idle. </b>This causes Modem Manager to disconnect. I am trying to understand if this is how other modems behaves for dial_3gpp and how exactly I can handle such a case. Can someone please provide some guidance?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><debug> [000027.244498] [modem3/ttyACM0/at] --> 'AT+CGATT=0<CR>'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><debug> [000028.276663] [modem3/ttyACM0/at] <-- '<CR><LF>+CEREG: 0,"","",7<CR><LF>'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><debug> [000028.277071] [modem3] building consolidated registration state: cs 'unknown', ps 'unknown', eps 'idle', 5gs 'unknown' --> 'idle'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><info> [000028.277197] [modem3] 3GPP Registration state changed (home -> idle)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><debug> [000028.277768] [modem3] 3GPP location updated (MCC: '0', MNC: '0', location area code: '0', tracking area code: '0', cell ID: '0')<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><debug> [000028.278253] [modem3/bearer3] bearer not allowed to connect, not registered in 3GPP network<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><debug> [000028.278340] [modem3/bearer3] forcing disconnection<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria Math",serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:7.5pt;line-height:15.0pt">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif">Thanks,<span style="color:#92D050"><o:p></o:p></span></span></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#92D050">Anubhav Gupta</span></b><o:p></o:p></p>
</div>
</body>
</html>