Skip to content

Instantly share code, notes, and snippets.

@bhagman
Created June 12, 2019 07:23
Show Gist options
  • Save bhagman/f06b65a5d8aadfa862600237857601cf to your computer and use it in GitHub Desktop.
Save bhagman/f06b65a5d8aadfa862600237857601cf to your computer and use it in GitHub Desktop.
TinyGSM FileDownload Broken Output
Initializing modem...
AT
OK
AT+CFUN=15
OK
AT
AT
AT
AT
AT
AT
OK
ATE0
AT
OK
AT+CMEE=0
ATE0
OK
AT+CGMI
OK
AT+GMM
u-blox
OK
AT+CPIN?
SARA-R410M-02B
OK
+CPIN: READY
OK
ATI
Manufacturer: u-blox
Model: SARA-R410M-02B
Revision: L0.0.00.00.05.06 [Feb 03 2018 13:00:41]
KModem: 25913
Waiting for network...AT+CEREG?
+CEREG: 0,5
OK
OK
Connecting to hologramAT+CGACT=1,0
ERROR
AT+CGATT=1
OK
AT+CGDCONT=1,"IP","hologram"
OK
AT+CGACT=1,1
OK
OK
Connecting to vsh.pp.uaAT+USOCTL=0,10
ERROR
AT+USOCR=6
+USOCR: 0
OK
AT+USOSO=0,6,1,1
OK
AT+USOCO=0,"vsh.pp.ua",80
OK
OK
AT+USOWR=0,35
@GET /TinyGSM/test_1k.bin HTTP/1.0
+USOWR: 0,35
OK
AT+USOWR=0,17
@Host: vsh.pp.ua
+USOWR: 0,17
OK
AT+USOWR=0,21
@Connection: close
+USOWR: 0,21
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
+UUSORD: 0,48
Reading response header
AT+USORD=0,0
+USORD: 0,48
OK
AT+USORD=0,48
+USORD: 0,48,"HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
"
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
Reading response data
0.00%
+UUSORD: 0,48
AT+USORD=0,0
+USORD: 0,48
OK
AT+USORD=0,48
+USORD: 0,48,"Date: Wed, 12 Jun 2019 07:16:25 GMT
Content-Typ"
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
+UUSORD: 0,48
AT+USORD=0,0
+USORD: 0,48
OK
AT+USORD=0,48
+USORD: 0,48,"e: application/octet-stream
Content-Length: 102"
OK
AT+USORD=0,0
+UUSORD: 0,288
+USORD: 0,288
OK
AT+USORD=0,0
+USORD: 0,288
OK
7.62%AT+USORD=0,288
+USORD: 0,288,"4
Connection: close
X-DNS-Prefetch-Control: off
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Accept-Ranges: bytes
Cache-Control: public, max-a"
OK
AT+USORD=0,0
+UUSORD: 0,48
+USORD: 0,144
OK
AT+USORD=0,0
+USORD: 0,192
OK
30.47%AT+USORD=0,192
+USORD: 0,192,"ge=0
Last-Modified: Wed, 27 Sep 2017 09:03:12 GMT
ETag: W/"400-15ec2936080"
6�␒�Yz(␋���␚�␄␓␙y␕���BXZP�␅χ�++��%�`踌�␚l5]␓an�2␃ʋ�U�⪵�␌���%������␆\��Y␛␚M�9␎f�oeɷ␟␖��␀p�;1?␎�( e␐␌�,8�"
OK
AT+USORD=0,0
+UUSORD: 0,48
+USORD: 0,96
OK
AT+USORD=0,0
+USORD: 0,96
OK
53.32%AT+USORD=0,96
+USORD: 0,96,"��m␗�␓3␎␛��q��wK�M,B␁��␂�␃u�c��.4���S��␘"�cC5}P5���w/��␀:~��␋.6|LZ+�GP��:���'Y�V��{`1:�H��aU'"
OK
AT+USORD=0,0
+UUSORD: 0,48
+USORD: 0,48
OK
AT+USORD=0,0
+USORD: 0,48
OK
60.94%AT+USORD=0,48
+USORD: 0,48,"|y�␙ &Y�t�����F␂~���␞��,i���␀␋�ˋ␀!� �␒�n��� 3}"
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
68.55%
+UUSORD: 0,48
AT+USORD=0,0
+USORD: 0,48
OK
AT+USORD=0,48
+USORD: 0,48,"8�s�␌'␏��a[␘n␒S��s�l��\�]�[��s���A�␁�!�7�Ϲ�Y�"
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
+UUSORD: 0,144
AT+USORD=0,0
+USORD: 0,144
OK
AT+USORD=0,144
+USORD: 0,144,""9~
�A�{�P�����ځ"U�a�~D�[,Nzq��ע �D�z1�QT�␏�y��zM�S�:␐n␇�␗g�&���xL���␐Q�␖[�:s��^?7Q ��ղA���"
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
83.79%AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,4
OK
+UUSORD: 0,577
AT+USORD=0,0
+USORD: 0,577
OK
AT+USORD=0,577
F?�;Q9�z4�␞␅␃�Y2:�_L�␅��t�����D␟[�#+%8s�C��J� �P�'G�␡a43_����"o2g��␛*␋FG ���T��$[7ݦ0␂�␅�␆���␘�␅ͫ�Ѐ�␎⦑��␞␗␞>d^G+��D𱠢
6n#�c�*��t;q��š␗t�'��Z␗%�K��X␚���vZ��W�pc߈�2/b@�C�4�J�␆�s�C��␙����ޡ�DN��m␘␎�T␞D�M���X�NC��
Ļբ�ב�X�����*�FOCy1�~V�" P"c␃,�=m&␇"3�^���␐��+.0O63���␑��:^�␜�Cw␄4l�␅d]�B�\(K�(�␐-t
9h�!Wt␟�㌄D9␎␕�␕�␙␐���bl����Ƶ�Ǿ�␟̝m�����6��9��p␓␡Q��3␖�␟!�\��9�N=I5}���$�g%`�E�$�Uj��&�KH-����␄��Q7c���;K�W�-b␏s�v���Ftf␋��
5�/��'�D�?((Z?Y�␞��a��B��Y#␅l���%ǎ�U��E�X_57������:�Ήc)��␡␂␃�����␄��l�o�{�چ�L��+�%␙e�{�٧�H�G�z��p�9␓ɉfJ�"
OK
AT+USORD=0,0
+USORD: 0,0
OK
AT+USOCTL=0,10
+USOCTL: 0,10,9
OK
145.41%
AT+USOCTL=0,10
+USOCTL: 0,10,9
OK
AT+USOCL=0
OK
Server disconnected
AT+CGACT=1,0
ERROR
GPRS disconnected
Content-Length: 1024
Actually read: 1489
Calc. CRC32: 0xAB421291
Known CRC32: 0x6F50D767
Duration: 0.98s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment