Changes for page Debug NB-IoT Connection
Last modified by Xiaoling on 2024/08/19 16:09
From version 7.2
edited by Xiaoling
on 2022/07/22 16:59
on 2022/07/22 16:59
Change comment:
There is no comment for this version
To version 9.1
edited by David Huang
on 2023/09/28 16:17
on 2023/09/28 16:17
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.David - Content
-
... ... @@ -1,13 +1,15 @@ 1 1 = **For BC95-G** = 2 2 3 +---- 3 3 5 + 4 4 (% style="color:blue" %)**1. Check the reason why you can't access the network:** 5 5 6 -1) AT+CEREG=5 8 +(% style="color:#037691" %)**1) AT+CEREG=5** 7 7 8 -2) AT+CEREG? ~/~/This process may be longer, please repeat the input 10 +(% style="color:#037691" %)**2) AT+CEREG?** (%%) ~/~/ This process may be longer, please repeat the input 9 9 10 -3) Mainly check the two parameters cause_type and reject_case 12 +(% style="color:#037691" %)**3) Mainly check the two parameters **(% style="color:red" %)**cause_type and reject_case** 11 11 12 12 13 13 [[image:image-20220530093747-3.png]] ... ... @@ -15,21 +15,78 @@ 15 15 16 16 (% style="color:blue" %)**2. Network access operation:** 17 17 18 -1) AT+CFUN=0 20 +(% style="color:#037691" %)**1) AT+CFUN=0** 19 19 20 -2) AT+NBAND=X ~/~/X means the local frequency band number 22 +(% style="color:#037691" %)**2) AT+NBAND=X** (%%) ~/~/ X means the local frequency band number 21 21 22 -3) AT+NRB 24 +(% style="color:#037691" %)**3) AT+NRB** 23 23 24 -4) After waiting for a period of time, you can use AT+CSQ to query the network access 26 +(% style="color:#037691" %)**4) After waiting for a period of time, you can use **(% style="color:red" %)**AT+CSQ **(%%)**to query the network access** 25 25 28 + 26 26 [[image:image-20220530093821-4.png]] 27 27 28 28 29 29 (% style="color:blue" %)**Remarks:** 30 30 31 -~1. The operating voltage of the SIM card used must be less than 3.0V 34 +~1. The operating voltage of the SIM card used must be less than 3.0V. 32 32 33 -2. The network access time varies with the signal strength 36 +2. The network access time varies with the signal strength. 34 34 35 -3. If you have not been able to access the network, please try to access the network manually 38 +3. If you have not been able to access the network, please try to access the network manually. 39 + 40 + 41 +(% style="color:blue" %)**3. Check the PS Attach or Detach ** 42 + 43 +(% style="color:#037691" %)**1) AT+CGATT?** 44 + 45 +(% style="color:#037691" %)**Response 46 ++CGATT: <state> 47 +OK** 48 + 49 +(% style="color:#037691" %)**Write Command 50 +AT+CGATT=<state>** 51 + 52 +(% style="color:#037691" %)**<state> Integer type. Indicates the state of PS attachment. 53 +0 Detached 54 +1 Attached**(%%) 55 + 56 + 57 +**Note:Generally, when registering with an operator, attaching GPRS is automatic, and CGATT can manually attach the network.** 58 + 59 + 60 +(% style="color:blue" %)**4. Check the signaling connection status:** 61 + 62 +(% style="color:#037691" %)**1) AT+CSCON?** 63 + 64 +(% style="color:#037691" %)**Response 65 ++CSCON: <n>,<mode> 66 +OK** 67 + 68 +(% style="color:#037691" %)**<n> Enable/disable the URC. 69 +0 Disable the URC 70 +1 Enable URC +CSCON: <mode> 71 +<mode>Signaling connection status. 72 +0 Idle 73 +1 Connected** 74 + 75 + 76 +(% style="color:blue" %)**5. Check the PDP Context Activate/Deactivate** 77 + 78 +(% style="color:#037691" %)**1) AT+CGACT?** 79 + 80 +(% style="color:#037691" %)**Response 81 +[+CGACT: <cid>,<state>]** 82 + 83 +(% style="color:#037691" %)**[+CGACT: <cid>,<state>] 84 +[…] 85 +OK** 86 + 87 +(% style="color:#037691" %)**<state> Integer type. The state of PDP context activation. 88 +0 Deactivated 89 +1 Activated 90 +<cid> Integer type. A numeric parameter which specifies a particular PDP context definition (see 91 +AT+CGDCONT).**(%%) 92 + 93 + 94 +**Note:Note that having a cell ID attached to the network does not necessarily mean successful activation. For data exchange, such as initiating HTTP requests, activation is necessary to use them.**