Changes for page Debug NB-IoT Connection
Last modified by Xiaoling on 2024/08/19 16:09
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,31 +1,103 @@ 1 -= For BC95-G = 1 +(% class="wikigeneratedid" %) 2 +**Table of Contents:** 2 2 3 - ~1. Checkthe reason why youcan't access the network:4 +{{toc/}} 4 4 5 -1) AT+CEREG=5 6 6 7 -2) AT+CEREG? ~/~/This process may be longer, please repeat the input 8 8 9 -3) Mainly check the two parameters cause_type and reject_case 10 10 11 -[[image:https://wiki.dragino.com/images/1/19/BC-95-G1.png||alt="BC-95-G1.png" height="366" width="558"]] 12 12 13 - 2.Networkaccessoperation:10 += **For BC95-G** = 14 14 15 - 1) AT+CFUN=012 +---- 16 16 17 -2) AT+NBAND=X ~/~/X means the local frequency band number 18 18 19 - 3)AT+NRB15 +== (% style="color:blue" %)**1. Check the reason why you can't access the network**(%%) == 20 20 21 - 4)After waiting foraperiod of time, you can useAT+CSQ to query the network access17 +(% style="color:#037691" %)**1) AT+CEREG=5** 22 22 23 - [[image:https://wiki.dragino.com/images/2/24/BC-95-G2.png||alt="BC-95-G2.png"height="365"width="558"]]19 +(% style="color:#037691" %)**2) AT+CEREG?** (%%) ~/~/ This process may be longer, please repeat the input 24 24 25 - Remarks:21 +(% style="color:#037691" %)**3) Mainly check the two parameters **(% style="color:red" %)**cause_type and reject_case** 26 26 27 -~1. The operating voltage of the SIM card used must be less than 3.0V 28 28 29 - 2. The network access time varies with the signal strength24 +[[image:image-20220530093747-3.png]] 30 30 31 -3. If you have not been able to access the network, please try to access the network manually 26 + 27 +== (% style="color:blue" %)**2. Network access operation:**(%%) == 28 + 29 +(% style="color:#037691" %)**1) AT+CFUN=0** 30 + 31 +(% style="color:#037691" %)**2) AT+NBAND=X** (%%) ~/~/ X means the local frequency band number 32 + 33 +(% style="color:#037691" %)**3) AT+NRB** 34 + 35 +(% style="color:#037691" %)**4) After waiting for a period of time, you can use **(% style="color:red" %)**AT+CSQ **(%%)**to query the network access** 36 + 37 + 38 +[[image:image-20220530093821-4.png]] 39 + 40 + 41 +(% style="color:blue" %)**Remarks:** 42 + 43 +~1. The operating voltage of the SIM card used must be less than 3.0V. 44 + 45 +2. The network access time varies with the signal strength. 46 + 47 +3. If you have not been able to access the network, please try to access the network manually. 48 + 49 + 50 +== (% style="color:blue" %)**3. Check the PS Attach or Detach **(%%) == 51 + 52 +(% style="color:#037691" %)**1) AT+CGATT?** 53 + 54 +(% style="color:#037691" %)**Response 55 ++CGATT: <state> 56 +OK** 57 + 58 +(% style="color:#037691" %)**Write Command 59 +AT+CGATT=<state>** 60 + 61 +(% style="color:#037691" %)**<state> Integer type. Indicates the state of PS attachment. 62 +0 Detached 63 +1 Attached**(%%) 64 + 65 + 66 +**Note:Generally, when registering with an operator, attaching GPRS is automatic, and CGATT can manually attach the network.** 67 + 68 + 69 +== (% style="color:blue" %)**4. Check the signaling connection status:**(%%) == 70 + 71 +(% style="color:#037691" %)**1) AT+CSCON?** 72 + 73 +(% style="color:#037691" %)**Response 74 ++CSCON: <n>,<mode> 75 +OK** 76 + 77 +(% style="color:#037691" %)**<n> Enable/disable the URC. 78 +0 Disable the URC 79 +1 Enable URC +CSCON: <mode> 80 +<mode>Signaling connection status. 81 +0 Idle 82 +1 Connected** 83 + 84 + 85 +== (% style="color:blue" %)**5. Check the PDP Context Activate/Deactivate**(%%) == 86 + 87 +(% style="color:#037691" %)**1) AT+CGACT?** 88 + 89 +(% style="color:#037691" %)**Response 90 +[+CGACT: <cid>,<state>]** 91 + 92 +(% style="color:#037691" %)**[+CGACT: <cid>,<state>] 93 +[…] 94 +OK** 95 + 96 +(% style="color:#037691" %)**<state> Integer type. The state of PDP context activation. 97 +0 Deactivated 98 +1 Activated 99 +<cid> Integer type. A numeric parameter which specifies a particular PDP context definition (see 100 +AT+CGDCONT).**(%%) 101 + 102 + 103 +(% style="color:red" %)**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.**