# RC7620-1 - Cannot open TCPCNX after CGATT=0

**URL:** <https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288>\
**Category:** RC76\
**Created:** [October 22, 2021, 1:38pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288 "2021-10-22T13:38:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mt\_0x](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mt\_0x](https://forum.sierrawireless.com/u/mt_0x)\
**Post date:** [October 22, 2021, 1:38pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/1 "2021-10-22T13:38:19Z")

</div>

Hi,  
we recently started using RC7620-1 TCP Socket.  
All things work good until we disconnect PS network using  
AT+CGATT=0.  
After this KTCPCNX=1 don’t work anymore and the KCNXCFG never connect again giving urc  
+KCNX\_IND: 1,4,1

I Attach a full log for details, all works until line 86/88 (when I made AT+CGATT=0).  
This behavior is totally replicable.  
[log\_RC7692.txt](https://forum.sierrawireless.com/uploads/short-url/aNXmmotGNXWbmgCnRz08K1H8fz3.txt) (2.4 KB)  
The module is connected to a LTE network under good coverage

---

<div class="post-metadata">

**Author:** ![mt\_0x](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mt\_0x](https://forum.sierrawireless.com/u/mt_0x)\
**Post date:** [October 22, 2021, 2:37pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/2 "2021-10-22T14:37:47Z")

</div>

The issue seems strictly related to AT+CGACT=0,1 and AT+CGACT=1,1.  
Omitting AT+CGACT=0,1 and AT+CGACT=1,1 do the magic

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [October 22, 2021, 5:07pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/3 "2021-10-22T17:07:35Z")

</div>

probably you need to +KTCPCLOSE and +KTCPDEL the socket and reopen the socket.

---

<div class="post-metadata">

**Author:** ![mt\_0x](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mt\_0x](https://forum.sierrawireless.com/u/mt_0x)\
**Post date:** [October 26, 2021, 3:32pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/4 "2021-10-26T15:32:12Z")

</div>

+KTCPCLOSE and +KTCPDEL have been sent at line 67 and 71

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [October 26, 2021, 3:40pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/5 "2021-10-26T15:40:27Z")

</div>

Why do you need to disconnect PS?

---

<div class="post-metadata">

**Author:** ![mt\_0x](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mt\_0x](https://forum.sierrawireless.com/u/mt_0x)\
**Post date:** [October 26, 2021, 3:47pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/6 "2021-10-26T15:47:29Z")

</div>

Power saving with fast reconnection time

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [October 26, 2021, 3:58pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/7 "2021-10-26T15:58:00Z")

</div>

Maybe you can try flight mode

---

<div class="post-metadata">

**Author:** ![mt\_0x](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mt\_0x](https://forum.sierrawireless.com/u/mt_0x)\
**Post date:** [October 26, 2021, 4:06pm UTC](https://forum.sierrawireless.com/t/rc7620-1-cannot-open-tcpcnx-after-cgatt-0/25288/8 "2021-10-26T16:06:44Z")

</div>

Sure, this is a (more aggressive) power saving option, but in flight mode the device cannot receive sms.  
Anyway, I’m porting a project from HL7692 to RC7620-1 and switching off PS works quiet well in HL.  
It works well on RC module too but without sending AT+CGACT (I don’t have an explanation for this) 🙂
