# Suggest protocol in RC7620 gsm modem to Receive the bin file from server

**URL:** <https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618>\
**Category:** Uncategorized\
**Created:** [November 17, 2025, 5:01am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618 "2025-11-17T05:01:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 17, 2025, 5:01am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/1 "2025-11-17T05:01:20Z")

</div>

To implement the OTA , i have receive the around 200kb bin file from server through gsm modem for that please suggest which protocol suits more(UDP,TCP,HTTP,FTP…) and implementation command for same

---

<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:** [November 17, 2025, 5:02am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/2 "2025-11-17T05:02:28Z")

</div>

it depends on what kind of server you are using to put your bin file?  
BTW, UDP is not recommended as it is not reliable connection

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 17, 2025, 5:16am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/3 "2025-11-17T05:16:47Z")

</div>

kind of server means can you elobarate

---

<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:** [November 17, 2025, 5:31am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/4 "2025-11-17T05:31:59Z")

</div>

e.g. TCP,HTTP,FTP server

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 17, 2025, 5:39am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/5 "2025-11-17T05:39:24Z")

</div>

okay, can you give configuration commands for TCP to receive bin file block by block

---

<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:** [November 17, 2025, 6:18am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/6 "2025-11-17T06:18:59Z")

</div>

from the AT command user guide, there is example of using +KTCP command:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/4/4369a2065d30c6e2b2d119038418c7fd0e8b1d19.png)

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 17, 2025, 7:06am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/7 "2025-11-17T07:06:41Z")

</div>

at+cfun=1  
OK  
at+cpin\>  
ERROR  
at+cpin?  
+CPIN: READY

OK

at+ktcpcfg=2,0,“[github.com](http://github.com)”,80

+KTCPCFG: 1

OK  
at+ktcpcnx=1  
OK

+KCNX\_IND: 2,4,1

+KTCP\_IND: 1,1

at+ktcpsnd=1,30

+CME ERROR: 923

+KTCP\_NOTIF: 1,4

try this commands getting error

---

<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:** [November 17, 2025, 8:25am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/8 "2025-11-17T08:25:56Z")

</div>

I don’t see problem with latest FW:

```auto

ati3
Manufacturer: Sierra Wireless, Incorporated
Model: RC7620-1
Revision: SWI9X07H_01.11.10.00 394448 jenkins 2025/06/06 10:03:06
IMEI: 35363511012345
IMEI SV: 32
FSN: 7T118701512345
+GCAP: +CGSM

OK
at!impref?
!IMPREF:
 preferred fw version: 01.11.10.00
 preferred carrier name: GENERIC-Data
 preferred config name: GENERIC-Data_001.004_000
 preferred subpri index: 000
 current fw version: 01.11.10.00
 current carrier name: GENERIC-Data
 current config name: GENERIC-Data_001.004_000
 current subpri index: 000

OK

AT+KCNXCFG=2,"GPRS","smartone"
OK
AT+KCNXPROFILE=2
OK
at+ktcpcfg=2,0,"www.google.com",80

+KTCPCFG: 1

OK
at+ktcpcnx=1
OK

+KCNX_IND: 2,4,1

+KCNX_IND: 2,1,0

+KTCP_IND: 1,1

at+ktcpsnd=1,30
CONNECT

OK

```

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 17, 2025, 10:20am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/9 "2025-11-17T10:20:33Z")

</div>

now i am able to connect ,but after connects its showing no carrier

at  
OK  
AT+KTCPCFG=2,0,“[raw.githubusercontent.com](http://raw.githubusercontent.com)”,80

+KTCPCFG: 2

OK  
AT+KTCPCNX=1  
OK

+KTCP\_IND: 1,1

AT+KTCPSND=1,113  
CONNECT

NO CARRIER

+KTCP\_NOTIF: 1,4

---

<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:** [November 17, 2025, 10:28am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/10 "2025-11-17T10:28:01Z")

</div>

Is there any timeout requirement in your server?  
did the server receive the TCP data you sent?

You can capture wireshark log in server to see what happens

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 17, 2025, 11:29am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/11 "2025-11-17T11:29:00Z")

</div>

timeout i m not sure about that,because i am using github server

---

<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:** [November 17, 2025, 11:29am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/12 "2025-11-17T11:29:55Z")

</div>

Probably you should set up a tcp server to investigate

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 18, 2025, 11:10am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/13 "2025-11-18T11:10:41Z")

</div>

In pythonanywhere website i had upload the bin file,how can i receive that file in gsm modem

---

<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:** [November 18, 2025, 11:12am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/14 "2025-11-18T11:12:58Z")

</div>

is it a HTTP server ? Or TCP server? Or FTP server?

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 18, 2025, 11:19am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/15 "2025-11-18T11:19:14Z")

</div>

it is http plain server

does rc7620 gsm modem supports http and https or not

---

<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:** [November 18, 2025, 11:42am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/16 "2025-11-18T11:42:10Z")

</div>

I saw there is at+khttp command in the AT command user guide

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 19, 2025, 3:55am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/17 "2025-11-19T03:55:50Z")

</div>

can you please suggest http configuration steps for gsm modem to receive the bin file from http server

---

<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:** [November 19, 2025, 4:03am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/18 "2025-11-19T04:03:08Z")

</div>

you can see here:

> [@RC76xx HTTP Connection via PySerial](https://forum.sierrawireless.com/t/rc76xx-http-connection-via-pyserial/33973/2):
>
> You can try to same command as mine to use profile 1: AT+KCNXCFG=1,"GPRS","CMHK" OK AT+KCNXPROFILE=1 OK AT+KHTTPCFG=1,"www.google.com",80,0,,,,,0 +KHTTPCFG: 1 OK +KCNX\_IND: 1,4,1 +KCNX\_IND: 1,1,0 +KHTTP\_IND: 1,1 AT+KHTTPGET=1,"/index.html" CONNECT HTTP/1.1 200 OK date: Thu, 23 Nov 2023 11:18:31 GMT expires: -1 cache-control: private, max-age=0 content-type: text/html; charset=ISO-8859-1 content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-uF\_ycRR8s…

---

<div class="post-metadata">

**Author:** ![santosh.naik](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@santosh.naik](https://forum.sierrawireless.com/u/santosh.naik)\
**Post date:** [November 19, 2025, 4:07am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/19 "2025-11-19T04:07:53Z")

</div>

> [@RC76xx HTTP Connection via PySerial](https://forum.sierrawireless.com/t/rc76xx-http-connection-via-pyserial/33973/2):
>
> ou can try to same command as mine to use profile 1: AT+KCNXCFG=1,“GPRS”,“CMHK” OK AT+KCNXPROFILE=1 OK AT+KHTTPCFG=1,“[www.google.com](http://www.google.com)”,80,0,0 +KHTTPCFG: 1 OK +KCNX\_IND: 1,4,1 +KCNX\_IND: 1,1,0 +KHTTP\_IND: 1,1 AT+KHTTPGET=1,“/index.html” CONNECT HTTP/1.1 200 OK date: Thu, 23 Nov 2023 11:18:31 GMT expires: -1 cache-control: private, max-age=0 content-type: text/html; charset=ISO-8859-1 content-security-policy-report-only: object-src ‘none’;base-uri ‘self’;script-src 'nonce-uF\_ycRR8s…

not cleared so much ,can you please elaborate little

---

<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:** [November 19, 2025, 4:10am UTC](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618/20 "2025-11-19T04:10:08Z")

</div>

which part is not clear?  
Have you tried those commands?  
Did you see the AT command user guide for the explanation of those commands?

[Next page](https://forum.sierrawireless.com/t/suggest-protocol-in-rc7620-gsm-modem-to-receive-the-bin-file-from-server/35618.md?page=2)
