aws / amazon-freertos

DEPRECATED - See README.md
https://aws.amazon.com/freertos/
MIT License
2.54k stars 1.1k forks source link

CoreMQTT mutual DEMO: connect OK. Receive ERROR: MQTTRecvFailed blocked at prvWaitForPacket after MQTT_Subscribe #3364

Closed eelaix closed 3 years ago

eelaix commented 3 years ago

The Code blocked at Line 1177 when execute MQTT_Subscribe success and blocked at prvWaitForPacket function

return code is -0x7880

Log Output

582 31708 [iot_thread] mbedTLS: |3| 0x2400e4bc: 00e0:  9f 03 92 79 f5 23 65 16 74 a3 1a e7 71 22 97 76  ...y.#e.t...q".v

583 31719 [iot_thread] mbedTLS: |3| 0x2400e4bc: 00f0:  49 25 73 d6 df 50 fb 9f 1a c4 4c 6c 95 77 5e 7b  I%s..P....Ll.w^{

584 31730 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0100:  1e 91 d7 bf c5 ce c3 7e 59 05 25 a5 52 dd 88 cd  .......~Y.%.R...

585 31750 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0110:  91 84 4c 7c 7f 41 54 28 09 12 f0 75 54 7b 3a 5a  ..L|.AT(...uT{:Z

586 31779 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0120:  f3 b5 b1 4d 14 bb d2 d1 ee 3c 57 18 81 de a6 49  ...M..... flush output

621 32485 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

622 32491 [iot_thread] mbedTLS: |2| 0x2400e4bc: => parse certificate request

623 32498 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

624 32504 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

625 32510 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

626 32516 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

627 32523 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

628 32541 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

629 32547 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

630 32564 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 20                                   .... 

631 32584 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 22, version = [3:3], msglen = 32

632 32602 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

633 32617 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 37

634 32624 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 37

635 32639 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 32 (-0xffffffe0)

636 32657 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

637 32672 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (37 bytes)

638 32681 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 20 0d 00 00 1c 03 01 02 40 00 14 04  .... .......@...

639 32710 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  03 04 01 05 03 05 01 06 03 06 01 03 03 03 01 02  ................

640 32730 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  03 02 01 00 00                                   .....

641 32749 [iot_thread] mbedTLS: |3| 0x2400e4bc: handshake message: msglen = 32, type = 13, hslen = 32

642 32767 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

643 32773 [iot_thread] mbedTLS: |3| 0x2400e4bc: got a certificate request

644 32789 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 4,3

645 32806 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 4,1

646 32823 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 5,3

647 32831 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 5,1

648 32849 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 6,3

649 32866 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 6,1

650 32883 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 3,3

651 32900 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 3,1

652 32908 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 2,3

653 32925 [iot_thread] mbedTLS: |3| 0x2400e4bc: Supported Signature Algorithm found: 2,1

654 32942 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= parse certificate request

655 32958 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 6

656 32964 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

657 32979 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

658 32994 [iot_thread] mbedTLS: |2| 0x2400e4bc: => parse server hello done

659 33001 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

660 33016 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

661 33022 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

662 33037 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

663 33053 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

664 33071 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

665 33077 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

666 33094 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 04                                   .....

667 33113 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 22, version = [3:3], msglen = 4

668 33132 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

669 33146 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 9

670 33153 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 9

671 33169 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 4 (-0xfffffffc)

672 33187 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

673 33193 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (9 bytes)

674 33210 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 04 0e 00 00 00                       .........

675 33230 [iot_thread] mbedTLS: |3| 0x2400e4bc: handshake message: msglen = 4, type = 14, hslen = 4

676 33248 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

677 33262 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= parse server hello done

678 33269 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 7

679 33285 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

680 33291 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

681 33297 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write certificate

682 33303 [iot_thread] mbedTLS: |3| 0x2400e4bc: own certificate #1:

683 33310 [iot_thread] mbedTLS: |3| 0x2400e4bc: cert. version     : 3

684 33316 [iot_thread] mbedTLS: |3| 0x2400e4bc: serial number     : 28:69:FE:30:BB:C8:C7:AC:D4:36:D9:4B:B8:D5:24:D1:16:F7:E6:95

685 33328 [iot_thread] mbedTLS: |3| 0x2400e4bc: issuer name       : OU=Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US

686 33359 [iot_thread] mbedTLS: |3| 0x2400e4bc: subject name      : CN=AWS IoT Certificate

687 33376 [iot_thread] mbedTLS: |3| 0x2400e4bc: issued  on        : 2021-08-13 08:59:43

688 33384 [iot_thread] mbedTLS: |3| 0x2400e4bc: expires on        : 2049-12-31 23:59:59

689 33401 [iot_thread] mbedTLS: |3| 0x2400e4bc: signed using      : RSA with SHA-256

690 33418 [iot_thread] mbedTLS: |3| 0x2400e4bc: RSA key size      : 2048 bits

691 33434 [iot_thread] mbedTLS: |3| 0x2400e4bc: basic constraints : CA=false

692 33450 [iot_thread] mbedTLS: |3| 0x2400e4bc: key usage         : Digital Signature

693 33458 [iot_thread] mbedTLS: |3| 0x2400e4bc: value of 'crt->rsa.N' (2048 bits) is:

694 33475 [iot_thread] mbedTLS: |3| 0x2400e4bc:  e2 c1 ee bc e0 29 88 a2 fc 73 88 77 f1 5f 5e 2b

695 33493 [iot_thread] mbedTLS: |3| 0x2400e4bc:  1a 5a a6 e4 77 dd 9c 54 d5 60 a3 c2 b6 0f 67 6a

696 33511 [iot_thread] mbedTLS: |3| 0x2400e4bc:  f4 91 ea 71 b7 0f 6e 42 9a ea 0b 39 cf d9 85 fe

697 33528 [iot_thread] mbedTLS: |3| 0x2400e4bc:  68 fe 06 0a ae 3b da 82 e9 9d 05 a9 41 c5 eb af

698 33546 [iot_thread] mbedTLS: |3| 0x2400e4bc:  be ec 06 1d e7 a3 58 3c 10 42 9b 01 42 c9 d1 1f

699 33564 [iot_thread] mbedTLS: |3| 0x2400e4bc:  de b6 c4 f6 cc 7e c2 27 01 00 86 b1 c1 2f 93 64

700 33582 [iot_thread] mbedTLS: |3| 0x2400e4bc:  a7 d4 49 51 10 b1 a8 06 aa f1 60 18 29 70 97 fb

701 33591 [iot_thread] mbedTLS: |3| 0x2400e4bc:  41 d9 ed 1b 3f 77 73 4c 57 c3 d2 c6 2d e9 4c 81

702 33609 [iot_thread] mbedTLS: |3| 0x2400e4bc:  90 b4 2b 64 b3 29 48 a0 dd 18 44 6e c0 58 3d 7e

703 33627 [iot_thread] mbedTLS: |3| 0x2400e4bc:  cb dc fd df 64 c5 5a 3e 46 3b c8 7a f6 36 52 63

704 33645 [iot_thread] mbedTLS: |3| 0x2400e4bc:  d8 c7 2f 79 44 68 5f 63 70 8f 98 f4 9e 34 8a cc

705 33663 [iot_thread] mbedTLS: |3| 0x2400e4bc:  bd ec 65 c5 00 ae 5a d5 9e 15 5c 7e 70 31 40 a8

706 33681 [iot_thread] mbedTLS: |3| 0x2400e4bc:  87 a3 51 63 3c 2a 02 ca 5f 9b b8 4d 00 26 05 30

707 33698 [iot_thread] mbedTLS: |3| 0x2400e4bc:  5a de 0a 83 ba b5 2e ae ef 8f 11 f3 89 b1 f7 ff

708 33716 [iot_thread] mbedTLS: |3| 0x2400e4bc:  28 fa 58 a3 9c 84 15 04 c1 27 be 42 91 90 f3 ef

709 33734 [iot_thread] mbedTLS: |3| 0x2400e4bc:  d1 0d 19 eb b5 e5 1d 29 d8 22 d6 a9 12 d5 ab 7f

710 33743 [iot_thread] mbedTLS: |3| 0x2400e4bc: value of 'crt->rsa.E' (17 bits) is:

711 33760 [iot_thread] mbedTLS: |3| 0x2400e4bc:  01 00 01

712 33774 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write handshake message

713 33791 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

714 33797 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 22, version = [3:3], msglen = 871

715 33816 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (876 bytes)

716 33834 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 03 67 0b 00 03 63 00 03 60 00 03 5d 30  ....g...c..`..]0

717 33854 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  82 03 59 30 82 02 41 a0 03 02 01 02 02 14 28 69  ..Y0..A.......(i

718 33874 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  fe 30 bb c8 c7 ac d4 36 d9 4b b8 d5 24 d1 16 f7  .0.....6.K..$...

719 33894 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  e6 95 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05  ..0...*.H.......

720 33914 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  00 30 4d 31 4b 30 49 06 03 55 04 0b 0c 42 41 6d  .0M1K0I..U...BAm

721 33943 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  61 7a 6f 6e 20 57 65 62 20 53 65 72 76 69 63 65  azon Web Service

722 33964 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0060:  73 20 4f 3d 41 6d 61 7a 6f 6e 2e 63 6f 6d 20 49  s O=Amazon.com I

723 33984 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0070:  6e 63 2e 20 4c 3d 53 65 61 74 74 6c 65 20 53 54  nc. L=Seattle ST

724 34004 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0080:  3d 57 61 73 68 69 6e 67 74 6f 6e 20 43 3d 55 53  =Washington C=US

725 34024 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0090:  30 1e 17 0d 32 31 30 38 31 33 30 38 35 39 34 33  0...210813085943

726 34044 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00a0:  5a 17 0d 34 39 31 32 33 31 32 33 35 39 35 39 5a  Z..491231235959Z

727 34064 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00b0:  30 1e 31 1c 30 1a 06 03 55 04 03 0c 13 41 57 53  0.1.0...U....AWS

728 34084 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00c0:  20 49 6f 54 20 43 65 72 74 69 66 69 63 61 74 65   IoT Certificate

729 34095 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00d0:  30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01  0.."0...*.H.....

730 34106 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00e0:  01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01  ........0.......

731 34117 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00f0:  00 e2 c1 ee bc e0 29 88 a2 fc 73 88 77 f1 5f 5e  ......)...s.w._^

732 34137 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0100:  2b 1a 5a a6 e4 77 dd 9c 54 d5 60 a3 c2 b6 0f 67  +.Z..w..T.`....g

733 34157 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0110:  6a f4 91 ea 71 b7 0f 6e 42 9a ea 0b 39 cf d9 85  j...q..nB...9...

734 34177 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0120:  fe 68 fe 06 0a ae 3b da 82 e9 9d 05 a9 41 c5 eb  .h....;......A..

735 34197 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0130:  af be ec 06 1d e7 a3 58 3c 10 42 9b 01 42 c9 d1  .......X<.B..B..

736 34217 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0140:  1f de b6 c4 f6 cc 7e c2 27 01 00 86 b1 c1 2f 93  ......~.'...../.

737 34237 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0150:  64 a7 d4 49 51 10 b1 a8 06 aa f1 60 18 29 70 97  d..IQ......`.)p.

738 34257 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0160:  fb 41 d9 ed 1b 3f 77 73 4c 57 c3 d2 c6 2d e9 4c  .A...?wsLW...-.L

739 34277 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0170:  81 90 b4 2b 64 b3 29 48 a0 dd 18 44 6e c0 58 3d  ...+d.)H...Dn.X=

740 34306 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0180:  7e cb dc fd df 64 c5 5a 3e 46 3b c8 7a f6 36 52  ~....d.Z>F;.z.6R

741 34326 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0190:  63 d8 c7 2f 79 44 68 5f 63 70 8f 98 f4 9e 34 8a  c../yDh_cp....4.

742 34346 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01a0:  cc bd ec 65 c5 00 ae 5a d5 9e 15 5c 7e 70 31 40  ...e...Z...\~p1@

743 34366 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01b0:  a8 87 a3 51 63 3c 2a 02 ca 5f 9b b8 4d 00 26 05  ...Qc<*.._..M.&.

744 34386 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01c0:  30 5a de 0a 83 ba b5 2e ae ef 8f 11 f3 89 b1 f7  0Z..............

745 34406 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01d0:  ff 28 fa 58 a3 9c 84 15 04 c1 27 be 42 91 90 f3  .(.X......'.B...

746 34426 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01e0:  ef d1 0d 19 eb b5 e5 1d 29 d8 22 d6 a9 12 d5 ab  ........).".....

747 34446 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01f0:  7f 02 03 01 00 01 a3 60 30 5e 30 1f 06 03 55 1d  .......`0^0...U.

748 34465 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0200:  23 04 18 30 16 80 14 17 9b d9 2d e0 89 d0 1f 3b  #..0......-....;

749 34485 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0210:  7d 8d 5e 2c 51 db 44 0c 9c 3c 90 30 1d 06 03 55  }.^,Q.D..<.0...U

750 34505 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0220:  1d 0e 04 16 04 14 34 44 41 d4 27 c7 20 33 e1 6f  ......4DA.'. 3.o

751 34534 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0230:  f8 58 c7 13 33 d5 25 8d ee f1 30 0c 06 03 55 1d  .X..3.%...0...U.

752 34554 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0240:  13 01 01 ff 04 02 30 00 30 0e 06 03 55 1d 0f 01  ......0.0...U...

753 34574 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0250:  01 ff 04 04 03 02 07 80 30 0d 06 09 2a 86 48 86  ........0...*.H.

754 34595 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0260:  f7 0d 01 01 0b 05 00 03 82 01 01 00 02 6d 70 e2  .............mp.

755 34614 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0270:  b2 57 a2 c2 9f d4 a3 e9 a6 c9 84 b1 b9 6b 45 02  .W...........kE.

756 34634 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0280:  6a 4c c5 ea 47 6b 1d 5e 4f 33 c0 63 9a 64 9c c7  jL..Gk.^O3.c.d..

757 34655 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0290:  9b ae 7e 88 24 9a 4a ed 7d 94 82 99 dd c6 40 83  ..~.$.J.}.....@.

758 34675 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02a0:  f9 60 dc df 8a 77 19 e6 b8 23 e7 22 0a cc 31 be  .`...w...#."..1.

759 34695 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02b0:  53 32 e7 eb 9e 33 ae 33 4f fa b1 35 e7 4b 28 d7  S2...3.3O..5.K(.

760 34724 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02c0:  05 a7 00 ef 70 21 bc f7 c3 79 e9 c2 ec be a2 b2  ....p!...y......

761 34744 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02d0:  66 93 4f b4 e4 70 86 42 b3 a8 2f 85 ef 4d 68 7c  f.O..p.B../..Mh|

762 34764 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02e0:  76 5c 00 2f 57 f1 79 cf 99 56 18 3c bc 5b 03 15  v\./W.y..V.<.[..

763 34784 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02f0:  7a 18 4f 33 88 33 fa 70 77 a2 f0 11 53 30 48 11  z.O3.3.pw...S0H.

764 34804 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0300:  25 d1 59 e2 15 f6 d0 bd 59 fa 8b ce c6 35 0e 8d  %.Y.....Y....5..

765 34824 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0310:  23 37 69 04 8d 92 88 d7 f8 b7 44 24 6d cd b2 85  #7i.......D$m...

766 34844 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0320:  97 03 c9 79 cb 9b 29 9e f3 21 42 43 fc ff 51 07  ...y..)..!BC..Q.

767 34864 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0330:  f3 ea b0 f7 10 60 72 29 51 64 63 54 51 f6 a0 19  .....`r)QdcTQ...

768 34884 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0340:  6d fa 3f 01 79 dd 69 be eb 63 f7 c4 9d 9f 2f 43  m.?.y.i..c..../C

769 34895 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0350:  4e fd 66 a4 a2 f9 ba 6d a3 4f 1b f4 41 78 c8 d3  N.f....m.O..Ax..

770 34906 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0360:  67 80 79 dc 51 ad 8d 40 fe 34 c5 18              g.y.Q..@.4..

771 34916 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

772 34922 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 876, out_left: 876

773 35030 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 876 (-0xfffffc94)

774 35038 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

775 35053 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

776 35068 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write handshake message

777 35075 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write certificate

778 35091 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 8

779 35106 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

780 35112 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

781 35127 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write client key exchange

782 35689 [iot_thread] mbedTLS: |3| 0x2400e4bc: value of 'ECDH: Q(X)' (256 bits) is:

783 35697 [iot_thread] mbedTLS: |3| 0x2400e4bc:  af 88 41 a6 0f bc a4 9e b7 d0 5b 80 3f b2 1b 5e

784 35706 [iot_thread] mbedTLS: |3| 0x2400e4bc:  2e 19 0f d6 60 5e 2c bb 07 dc d2 0f 2e 2b 7d 08

785 35715 [iot_thread] mbedTLS: |3| 0x2400e4bc: value of 'ECDH: Q(Y)' (255 bits) is:

786 35722 [iot_thread] mbedTLS: |3| 0x2400e4bc:  74 b1 10 59 3a 07 46 70 5a a4 17 e3 33 f1 fc ad

787 35740 [iot_thread] mbedTLS: |3| 0x2400e4bc:  63 57 c3 c8 66 45 41 57 74 75 21 e1 d2 94 1b 25

788 36296 [iot_thread] mbedTLS: |3| 0x2400e4bc: value of 'ECDH: z' (256 bits) is:

789 36313 [iot_thread] mbedTLS: |3| 0x2400e4bc:  a2 ea 6e 67 23 86 10 4f d4 ba 37 1c 2a 62 5f 0c

790 36331 [iot_thread] mbedTLS: |3| 0x2400e4bc:  36 34 a8 d9 c5 68 a9 45 2b 59 06 5f 99 f9 8b 0d

791 36349 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write handshake message

792 36356 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

793 36371 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 22, version = [3:3], msglen = 70

794 36390 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (75 bytes)

795 36408 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 46 10 00 00 42 41 04 af 88 41 a6 0f  ....F...BA...A..

796 36428 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  bc a4 9e b7 d0 5b 80 3f b2 1b 5e 2e 19 0f d6 60  .....[.?..^....`

797 36448 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  5e 2c bb 07 dc d2 0f 2e 2b 7d 08 74 b1 10 59 3a  ^,......+}.t..Y:

798 36468 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  07 46 70 5a a4 17 e3 33 f1 fc ad 63 57 c3 c8 66  .FpZ...3...cW..f

799 36488 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  45 41 57 74 75 21 e1 d2 94 1b 25                 EAWtu!....%

800 36498 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

801 36504 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 75, out_left: 75

802 36523 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 75 (-0xffffffb5)

803 36540 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

804 36546 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

805 36562 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write handshake message

806 36578 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write client key exchange

807 36585 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 9

808 36600 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

809 36619 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

810 36625 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write certificate verify

811 36641 [iot_thread] mbedTLS: |2| 0x2400e4bc: => derive keys

812 36647 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'premaster secret' (32 bytes)

813 36664 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  a2 ea 6e 67 23 86 10 4f d4 ba 37 1c 2a 62 5f 0c  ..ng#..O..7.*b_.

814 36684 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0010:  36 34 a8 d9 c5 68 a9 45 2b 59 06 5f 99 f9 8b 0d  64...h.E+Y._....

815 36718 [iot_thread] mbedTLS: |3| 0x2400e4bc: ciphersuite = TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256

816 36736 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'master secret' (48 bytes)

817 36753 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  da 80 af 82 7b ad b5 e0 89 a4 26 81 c0 fd d6 9d  ....{.....&.....

818 36773 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0010:  74 cd 53 a0 7f d7 d1 18 d5 8b 07 bf cc a6 60 eb  t.S...........`.

819 36793 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0020:  80 17 10 f5 7d 7c 05 a2 b1 54 d3 15 6f b4 7f 77  ....}|...T..o..w

820 36813 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'random bytes' (64 bytes)

821 36829 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  35 0c c9 fe 85 c5 9b f7 b6 f1 90 43 10 05 d6 ed  5..........C....

822 36849 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  71 92 ab 90 01 6d 13 77 e6 cd 54 c1 80 c2 c0 08  q....m.w..T.....

823 36869 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  60 47 7c 07 fb 0c 40 a1 31 74 d9 19 a7 a5 90 d0  `G|...@.1t......

824 36889 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  e4 d2 2b 2c 3c 96 6e db 97 ca c4 29 81 9c b5 30  ..+,<.n....)...0

825 36909 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'key block' (256 bytes)

826 36925 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  57 2d ac 63 0e 8e 1d ab d6 18 c0 fc ee 3d 51 eb  W-.c.........=Q.

827 36945 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  ec a0 19 32 48 8a e9 a0 2c 4e 26 72 47 73 03 37  ...2H...,N&rGs.7

828 36965 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  20 5c 46 9d eb 42 8c f1 c7 41 91 75 09 e2 4b e6   \F..B...A.u..K.

829 36985 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  a6 1c 48 78 1c c4 2b 4d b5 b3 63 76 a5 ca 5c 5e  ..Hx..+M..cv..\^

830 37005 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  5a de bc 9a 3e 3c b6 98 a3 14 23 ba d7 8d 5e a4  Z...><....#...^.

831 37025 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  10 1e 9e e0 df 97 77 15 72 d6 f5 ab b7 2e c0 f4  ......w.r.......

832 37045 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0060:  c0 b1 c4 f8 ee 3f 17 b4 1b bb 15 7c ad 70 a8 68  .....?.....|.p.h

833 37065 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0070:  61 9f 06 65 80 36 2c 06 2b 85 91 a3 f9 b5 9b b0  a..e.6,.+.......

834 37094 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0080:  03 ee f0 11 6a d2 bf 85 64 2e 88 7e d4 05 03 4e  ....j...d..~...N

835 37114 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0090:  f9 5a de 67 92 14 71 fd 73 ea 5a 10 f5 fc a3 d8  .Z.g..q.s.Z.....

836 37134 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00a0:  e5 33 93 d5 32 d4 65 60 1d 48 41 ad 8e 49 4e c9  .3..2.e`.HA..IN.

837 37154 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00b0:  c5 20 f3 84 60 d5 38 65 af 9b ee 73 13 82 58 d9  . ..`.8e...s..X.

838 37174 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00c0:  90 1d 9c e8 25 d8 5d 00 7e 0c 08 b0 87 04 f4 7f  ....%.].~.......

839 37194 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00d0:  0f f3 d4 f8 e1 35 6e ee d7 1f a1 92 a9 6c 49 9e  .....5n......lI.

840 37214 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00e0:  07 9e 2b 3f 59 2a 57 9c 82 4a ef 8a 48 26 ac 17  ..+?Y*W..J..H&..

841 37234 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00f0:  16 39 69 9c f4 e2 a2 c8 02 b0 f1 df 9e 60 c4 9a  .9i..........`..

842 37254 [iot_thread] mbedTLS: |3| 0x2400e4bc: keylen: 16, minlen: 24, ivlen: 12, maclen: 0

843 37272 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= derive keys

844 37287 [iot_thread] mbedTLS: |2| 0x2400e4bc: => calc verify sha256

845 37294 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'calculated verify result' (32 bytes)

846 37302 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  8c c2 a5 a2 ec e7 21 03 b3 9e 2d 3f d6 b4 e1 cb  ......!...-?....

847 37313 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0010:  7e 5e 37 6f 78 51 dc c4 fb bc 9a fd 30 51 ef 8e  ~^7oxQ......0Q..

848 37325 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= calc verify

849 39751 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write handshake message

850 39768 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

851 39783 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 22, version = [3:3], msglen = 264

852 39802 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (269 bytes)

853 39820 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 01 08 0f 00 01 04 04 01 01 00 11 99 19  ................

854 39840 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  8d ff 67 94 e8 b1 a3 98 a5 31 dc 41 e5 73 75 7d  ..g......1.A.su}

855 39860 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  79 eb c3 a7 4e 96 27 c8 88 ab b1 ed 9a 83 4a d9  y...N.'.......J.

856 39880 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  de 77 b1 c3 40 bb d3 c0 fd 66 45 3f 8b 7e 53 fe  .w..@....fE?.~S.

857 39900 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  a3 99 9f c9 25 25 a4 14 61 34 8f c8 b4 e7 29 0a  ....%%..a4....).

858 39920 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  5e ea 8e d6 cc e3 45 69 0b c8 b1 e9 28 02 58 74  ^.....Ei....(.Xt

859 39940 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0060:  c7 a4 92 d3 28 3a 26 a4 35 7e 57 19 de 46 43 f1  ....(:&.5~W..FC.

860 39960 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0070:  52 e9 ba 91 b0 d8 b5 9f 61 05 1b 5b ac 84 c3 0a  R.......a..[....

861 39989 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0080:  33 2a c9 94 bb 3c d5 45 75 08 f1 30 06 cc b7 53  3*...<.Eu..0...S

862 40009 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0090:  aa 22 60 08 a0 64 ce f8 ae 2d 95 38 c2 9e c8 ea  ."`..d...-.8....

863 40029 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00a0:  ce 6b 9e fd a3 e3 04 5c 79 27 d5 6b aa 8e f3 1a  .k.....\y'.k....

864 40049 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00b0:  d5 47 24 8e 34 8f c6 b2 7b 19 db 18 ba 5d 62 1c  .G$.4...{....]b.

865 40069 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00c0:  4a 1f 28 19 12 e7 98 96 33 57 1b c9 04 89 d0 49  J.(.....3W.....I

866 40089 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00d0:  6a 41 1b b0 be 8e 43 cd 7b 51 d1 11 90 a0 cf 68  jA....C.{Q.....h

867 40109 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00e0:  aa 73 73 56 ac 90 f7 98 e1 f8 46 bf 1f 69 87 11  .ssV......F..i..

868 40129 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00f0:  57 17 bc bb 1e 5a cc 38 3c bb ac 95 27 e0 ed 5e  W....Z.8<...'..^

869 40149 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0100:  70 dd d0 a3 5f 09 3c bf 57 45 8c ef f4           p..._.<.WE...

870 40168 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

871 40183 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 269, out_left: 269

872 40236 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 269 (-0xfffffef3)

873 40244 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

874 40259 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

875 40274 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write handshake message

876 40281 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write certificate verify

877 40297 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 10

878 40312 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

879 40318 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

880 40333 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write change cipher spec

881 40340 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write handshake message

882 40356 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

883 40371 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 20, version = [3:3], msglen = 1

884 40390 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (6 bytes)

885 40408 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  14 03 03 00 01 01                                ......

886 40427 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

887 40433 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 6, out_left: 6

888 40449 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 6 (-0xfffffffa)

889 40466 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

890 40473 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

891 40488 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write handshake message

892 40495 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write change cipher spec

893 40502 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 11

894 40508 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

895 40514 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

896 40520 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write finished

897 40526 [iot_thread] mbedTLS: |2| 0x2400e4bc: => calc  finished tls sha256

898 40542 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'finished sha2 state' (32 bytes)

899 40550 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  5e 52 19 c9 ac 7b d3 e6 d1 d9 ec 63 55 81 4b 96  ^R...{.....cU.K.

900 40584 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  5f 92 93 a3 79 85 e6 83 41 91 d0 70 a4 69 fd 40  _...y...A..p.i.@

901 40605 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'calc finished result' (12 bytes)

902 40623 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  9b d2 c0 13 57 97 75 80 fa c6 38 69              ....W.u...8i

903 40642 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= calc  finished

904 40662 [iot_thread] mbedTLS: |3| 0x2400e4bc: switching to new transform spec for outbound data

905 40681 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write handshake message

906 40688 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

907 40703 [iot_thread] mbedTLS: |2| 0x2400e4bc: => encrypt buf

908 40718 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'before encrypt: output payload' (16 bytes)

909 40736 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  14 00 00 0c 9b d2 c0 13 57 97 75 80 fa c6 38 69  ........W.u...8i

910 40756 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

911 40764 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 00 16 03 03 00 10           .............

912 40793 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (internal)' (12 bytes)

913 40801 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  20 5c 46 9d 00 00 00 00 00 00 00 00               \F.........

914 40821 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (transmitted)' (8 bytes)

915 40838 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 00                          ........

916 40857 [iot_thread] mbedTLS: |3| 0x2400e4bc: before encrypt: msglen = 24, including 0 bytes of padding

917 40876 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'after encrypt: tag' (16 bytes)

918 40893 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  87 8b da 02 09 a0 b5 80 0f 67 07 55 8a e9 25 13  .........g.U..%.

919 40913 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= encrypt buf

920 40929 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 22, version = [3:3], msglen = 40

921 40948 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (45 bytes)

922 40966 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 28 00 00 00 00 00 00 00 00 f5 17 9c  ....(...........

923 40986 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  60 4d ce 4a e4 61 1e e6 69 4e cc bc f1 87 8b da  `M.J.a..iN......

924 41006 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  02 09 a0 b5 80 0f 67 07 55 8a e9 25 13           ......g.U..%.

925 41025 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

926 41040 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 45, out_left: 45

927 41059 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 45 (-0xffffffd3)

928 41067 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

929 41082 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

930 41097 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write handshake message

931 41104 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write finished

932 41119 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 12

933 41125 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

934 41167 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

935 41173 [iot_thread] mbedTLS: |2| 0x2400e4bc: => parse change cipher spec

936 41189 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

937 41204 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

938 41210 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

939 41226 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

940 41242 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

941 41251 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

942 41265 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

943 41283 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  14 03 03 00 01                                   .....

944 41293 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 20, version = [3:3], msglen = 1

945 41302 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

946 41308 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 6

947 41315 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 6

948 41322 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 1 (-0xffffffff)

949 41340 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

950 41345 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (6 bytes)

951 41363 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  14 03 03 00 01 01                                ......

952 41382 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

953 41397 [iot_thread] mbedTLS: |3| 0x2400e4bc: switching to new transform spec for inbound data

954 41415 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= parse change cipher spec

955 41422 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 13

956 41437 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

957 41443 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

958 41458 [iot_thread] mbedTLS: |2| 0x2400e4bc: => parse finished

959 41473 [iot_thread] mbedTLS: |2| 0x2400e4bc: => calc  finished tls sha256

960 41480 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'finished sha2 state' (32 bytes)

961 41497 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  5e 52 19 c9 ac 7b d3 e6 d1 d9 ec 63 55 81 4b 96  ^R...{.....cU.K.

962 41517 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  5f 92 93 a3 79 85 e6 83 41 91 d0 70 a4 69 fd 40  _...y...A..p.i.@

963 41538 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'calc finished result' (12 bytes)

964 41555 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  4f cc 82 1b 16 25 23 59 c2 f9 33 c5              O....%#Y..3.

965 41575 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= calc  finished

966 41590 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

967 41605 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

968 41611 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

969 41627 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

970 41633 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

971 41651 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

972 41666 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

973 41684 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 28                                   ....(

974 41703 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 22, version = [3:3], msglen = 40

975 41721 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

976 41727 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 45

977 41743 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 45

978 41759 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 40 (-0xffffffd8)

979 41777 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

980 41783 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (45 bytes)

981 41800 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 28 00 00 00 00 00 00 00 00 26 fc 8b  ....(........&..

982 41820 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  8d e1 13 86 10 90 9f 6c 8e c1 f5 ea b0 b6 82 44  .......l.......D

983 41840 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  4d a6 68 5a 40 fa 14 43 3b 6d 15 98 21           M.hZ@..C;m..!

984 41860 [iot_thread] mbedTLS: |2| 0x2400e4bc: => decrypt buf

985 41875 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

986 41892 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 00 16 03 03 00 10           .............

987 41912 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used' (12 bytes)

988 41928 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  eb 42 8c f1 00 00 00 00 00 00 00 00              .B..........

989 41948 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'TAG used' (16 bytes)

990 41955 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  b6 82 44 4d a6 68 5a 40 fa 14 43 3b 6d 15 98 21  ..DM.hZ@..C;m..!

991 41985 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= decrypt buf

992 41991 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input payload after decrypt' (16 bytes)

993 42009 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  14 00 00 0c 4f cc 82 1b 16 25 23 59 c2 f9 33 c5  ....O....%#Y..3.

994 42029 [iot_thread] mbedTLS: |3| 0x2400e4bc: handshake message: msglen = 16, type = 20, hslen = 16

995 42047 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

996 42062 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= parse finished

997 42069 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 14

998 42084 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

999 42090 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1000 42096 [iot_thread] mbedTLS: |2| 0x2400e4bc: handshake: done

1001 42102 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 15

1002 42108 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1003 42114 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1004 42120 [iot_thread] mbedTLS: |3| 0x2400e4bc: => handshake wrapup

1005 42126 [iot_thread] mbedTLS: |3| 0x2400e4bc: => handshake wrapup: final free

1006 42143 [iot_thread] mbedTLS: |3| 0x2400e4bc: <= handshake wrapup: final free

1007 42160 [iot_thread] mbedTLS: |3| 0x2400e4bc: <= handshake wrapup

1008 42166 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= handshake

1009 42181 [iot_thread] [INFO] Creating an MQTT connection to xxxxxxxxxxxx.ats.iot.cn-north-1.amazonaws.com.cn.
1010 42201 [iot_thread] [DEBUG] Encoded size for length 80 is 1 bytes.
1011 42216 [iot_thread] [DEBUG] CONNECT packet remaining length=80 and packet size=82.
1012 42224 [iot_thread] [DEBUG] CONNECT packet size is 82 and remaining length is 80.
1013 42241 [iot_thread] [DEBUG] Encoded size for length 80 is 1 bytes.
1014 42256 [iot_thread] [DEBUG] Length of serialized CONNECT packet is 82.
1015 42272 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write

1016 42278 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

1017 42293 [iot_thread] mbedTLS: |2| 0x2400e4bc: => encrypt buf

1018 42299 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'before encrypt: output payload' (82 bytes)

1019 42318 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  10 50 00 04 4d 51 54 54 04 82 00 3c 00 0c 33 34  .P..MQTT...<..34

1020 42338 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  30 33 35 31 33 30 33 33 33 35 00 36 3f 53 44 4b  0351303335.6?SDK

1021 42367 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  3d 46 72 65 65 52 54 4f 53 26 56 65 72 73 69 6f  =FreeRTOS&Versio

1022 42387 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  6e 3d 56 31 30 2e 34 2e 33 26 4d 51 54 54 4c 69  n=V10.4.3&MQTTLi

1023 42407 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  62 3d 63 6f 72 65 2d 6d 71 74 74 40 76 31 2e 31  b=core-mqtt@v1.1

1024 42427 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  2e 30                                            .0

1025 42446 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

1026 42464 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 01 17 03 03 00 52           ............R

1027 42484 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (internal)' (12 bytes)

1028 42501 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  20 5c 46 9d 00 00 00 00 00 00 00 01               \F.........

1029 42520 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (transmitted)' (8 bytes)

1030 42538 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 01                          ........

1031 42557 [iot_thread] mbedTLS: |3| 0x2400e4bc: before encrypt: msglen = 90, including 0 bytes of padding

1032 42576 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'after encrypt: tag' (16 bytes)

1033 42594 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  78 40 30 e5 54 4d 05 a6 a1 f2 9a 1c 57 2d ae b2  x@0.TM......W-..

1034 42614 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= encrypt buf

1035 42620 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 23, version = [3:3], msglen = 106

1036 42639 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (111 bytes)

1037 42657 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  17 03 03 00 6a 00 00 00 00 00 00 00 01 3e ae eb  ....j........>..

1038 42677 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  61 11 1d 32 65 98 70 54 85 87 e9 35 c2 20 49 37  a..2e.pT...5. I7

1039 42697 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  a7 9e 47 00 ff ff 44 f5 66 03 fe b9 90 49 03 85  ..G...D.f....I..

1040 42726 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  58 c7 db 4b 62 e5 b4 35 21 71 d7 46 73 42 df 60  X..Kb..5!q.FsB.`

1041 42746 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  4f ad 83 6f c6 a1 ba 22 3e 48 37 64 1a 76 6a 15  O..o...">H7d.vj.

1042 42766 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  49 c0 98 5a e8 8a 58 88 02 06 52 46 23 14 a6 78  I..Z..X...RF#..x

1043 42786 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0060:  40 30 e5 54 4d 05 a6 a1 f2 9a 1c 57 2d ae b2     @0.TM......W-..

1044 42806 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1045 42822 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 111, out_left: 111

1046 42858 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 111 (-0xffffff91)

1047 42866 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1048 42881 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

1049 42887 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write

1050 42893 [iot_thread] [DEBUG] BytesSent=82, BytesRemaining=0
1051 42899 [iot_thread] [DEBUG] Successfully sent packet at time 24147.
1052 42905 [iot_thread] [DEBUG] Sent 82 bytes of CONNECT packet.
1053 42911 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1054 42917 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

1055 42923 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1056 42938 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1057 43023 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1058 43030 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

1059 43048 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1060 43063 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

1061 43081 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  17 03 03 00 1c                                   .....

1062 43100 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 23, version = [3:3], msglen = 28

1063 43119 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1064 43125 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 33

1065 43141 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 33

1066 43156 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 28 (-0xffffffe4)

1067 43165 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1068 43181 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (33 bytes)

1069 43198 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  17 03 03 00 1c 00 00 00 00 00 00 00 01 fa bd c3  ................

1070 43218 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  d7 9a ba 2d 43 2e 55 43 48 3d 3a 4c 72 5e 42 b3  ...-C.UCH=:Lr^B.

1071 43238 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  7b                                               {

1072 43257 [iot_thread] mbedTLS: |2| 0x2400e4bc: => decrypt buf

1073 43272 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

1074 43290 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 01 17 03 03 00 04           .............

1075 43310 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used' (12 bytes)

1076 43317 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  eb 42 8c f1 00 00 00 00 00 00 00 01              .B..........

1077 43346 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'TAG used' (16 bytes)

1078 43353 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  9a ba 2d 43 2e 55 43 48 3d 3a 4c 72 5e 42 b3 7b  ..-C.UCH=:Lr^B.{

1079 43374 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= decrypt buf

1080 43389 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input payload after decrypt' (4 bytes)

1081 43407 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  20 02 00 00                                       ...

1082 43426 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

1083 43441 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read

1084 43447 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1085 43461 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read

1086 43466 [iot_thread] [DEBUG] Encoded size for length 2 is 1 bytes.
1087 43482 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1088 43487 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read

1089 43502 [iot_thread] [DEBUG] BytesReceived=2, BytesRemaining=0, TotalBytesReceived=2.
1090 43519 [iot_thread] [INFO] Packet received. ReceivedBytes=2.
1091 43525 [iot_thread] [INFO] CONNACK session present bit not set.
1092 43540 [iot_thread] [INFO] Connection accepted.
1093 43545 [iot_thread] [INFO] Received MQTT CONNACK successfully from broker.
1094 43561 [iot_thread] [INFO] MQTT connection established with the broker.
1095 43577 [iot_thread] [INFO] An MQTT connection is established with xxxxxxxxxxxx.ats.iot.cn-north-1.amazonaws.com.cn.
1096 43597 [iot_thread] [INFO] Attempt to subscribe to the MQTT 1 topics.
1097 43613 [iot_thread] [DEBUG] Encoded size for length 28 is 1 bytes.
1098 43619 [iot_thread] [DEBUG] Subscription packet remaining length=28 and packet size=30.
1099 43636 [iot_thread] [DEBUG] SUBSCRIBE packet size is 30 and remaining length is 28.
1100 43654 [iot_thread] [DEBUG] Encoded size for length 28 is 1 bytes.
1101 43669 [iot_thread] [DEBUG] Length of serialized SUBSCRIBE packet is 30.
1102 43676 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write

1103 43691 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

1104 43697 [iot_thread] mbedTLS: |2| 0x2400e4bc: => encrypt buf

1105 43703 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'before encrypt: output payload' (30 bytes)

1106 43713 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  82 1c 00 01 00 17 78 6e 69 6f 74 2f 77 6f 72 6b  ......xniot/work

1107 43724 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  2f 33 34 30 33 35 31 33 30 33 33 33 35 01        /340351303335.

1108 43735 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

1109 43752 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 02 17 03 03 00 1e           .............

1110 43772 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (internal)' (12 bytes)

1111 43790 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  20 5c 46 9d 00 00 00 00 00 00 00 02               \F.........

1112 43809 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (transmitted)' (8 bytes)

1113 43827 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 02                          ........

1114 43846 [iot_thread] mbedTLS: |3| 0x2400e4bc: before encrypt: msglen = 38, including 0 bytes of padding

1115 43866 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'after encrypt: tag' (16 bytes)

1116 43883 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  a8 75 6d d1 13 a7 c9 27 6f 0d 45 9a ed c4 de 7c  .um....'o.E....|

1117 43903 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= encrypt buf

1118 43918 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 23, version = [3:3], msglen = 54

1119 43937 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (59 bytes)

1120 43946 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  17 03 03 00 36 00 00 00 00 00 00 00 02 4e d5 a4  ....6........N..

1121 43975 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  8d fe 0f 09 7a 76 8d fc da 62 21 ee b5 8b 69 a0  ....zv...b!...i.

1122 43995 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  09 e3 37 14 b8 59 71 b6 d5 b4 47 a8 75 6d d1 13  ..7..Yq...G.um..

1123 44015 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  a7 c9 27 6f 0d 45 9a ed c4 de 7c                 ..'o.E....|

1124 44034 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1125 44040 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 59, out_left: 59

1126 44070 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 59 (-0xffffffc5)

1127 44078 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1128 44093 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

1129 44108 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write

1130 44114 [iot_thread] [DEBUG] BytesSent=30, BytesRemaining=0
1131 44129 [iot_thread] [DEBUG] Successfully sent packet at time 25368.
1132 44149 [iot_thread] [DEBUG] Sent 30 bytes of SUBSCRIBE packet.
1133 44155 [iot_thread] [INFO] SUBSCRIBE sent 1 topics to broker.
1134 44170 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1135 44192 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

1136 44198 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1137 44213 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1138 44229 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1139 44235 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

1140 44253 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1141 44268 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

1142 44286 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  17 03 03 00 1d                                   .....

1143 44305 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 23, version = [3:3], msglen = 29

1144 44324 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1145 44330 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 34

1146 44346 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 34

1147 44362 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 29 (-0xffffffe3)

1148 44380 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1149 44386 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (34 bytes)

1150 44404 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  17 03 03 00 1d 00 00 00 00 00 00 00 02 bc 27 aa  ..............'.

1151 44424 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  c6 e2 f0 44 c4 da b8 4d 6c 09 fb b6 64 37 da a3  ...D...Ml...d7..

1152 44444 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  8c 9d                                            ..

1153 44463 [iot_thread] mbedTLS: |2| 0x2400e4bc: => decrypt buf

1154 44478 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

1155 44495 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 02 17 03 03 00 05           .............

1156 44506 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used' (12 bytes)

1157 44513 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  eb 42 8c f1 00 00 00 00 00 00 00 02              .B..........

1158 44524 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'TAG used' (16 bytes)

1159 44531 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  f0 44 c4 da b8 4d 6c 09 fb b6 64 37 da a3 8c 9d  .D...Ml...d7....

1160 44552 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= decrypt buf

1161 44558 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input payload after decrypt' (5 bytes)

1162 44576 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  90 03 00 01 01                                   .....

1163 44595 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

1164 44610 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read

1165 44616 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1166 44630 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read

1167 44635 [iot_thread] [DEBUG] Encoded size for length 3 is 1 bytes.
1168 44651 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1169 44656 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read

1170 44671 [iot_thread] [DEBUG] BytesReceived=3, BytesRemaining=0, TotalBytesReceived=3.
1171 44688 [iot_thread] [INFO] Packet received. ReceivedBytes=3.
1172 44694 [iot_thread] [DEBUG] Received packet of type 90.
1173 44708 [iot_thread] [DEBUG] Packet identifier 1.
1174 44713 [iot_thread] [DEBUG] Topic filter 0 accepted, max QoS 1.
1175 44729 [iot_thread] [INFO] prvEventCallback.packetinfo.type:0x90 (30=publish,90=suback)
1176 44746 [iot_thread] [INFO] prvUpdateSubAckStatus, saveQos:1 to xSubAckStatus[0]
1177 44763 [iot_thread] [INFO] Subscribed to the topic 0 DONE, status:1, PACKETTYPE:0x90
1178 44780 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read

1179 44785 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

1180 44800 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1181 44806 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1182 137650 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1183 137656 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

1184 137675 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1185 137690 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

1186 137707 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  15 03 03 00 1a                                   .....

1187 137726 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 21, version = [3:3], msglen = 26

1188 137745 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1189 137751 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 31

1190 137767 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 31

1191 137783 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 26 (-0xffffffe6)

1192 137801 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1193 137816 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (31 bytes)

1194 137825 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  15 03 03 00 1a 00 00 00 00 00 00 00 03 f0 25 7f  ..............%.

1195 137854 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  3c 9d 29 f8 8a ab 4a d2 82 23 af 45 63 d9 e0     <.)...J..#.Ec..

1196 137874 [iot_thread] mbedTLS: |2| 0x2400e4bc: => decrypt buf

1197 137880 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

1198 137898 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 03 15 03 03 00 02           .............

1199 137918 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used' (12 bytes)

1200 137934 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  eb 42 8c f1 00 00 00 00 00 00 00 03              .B..........

1201 137954 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'TAG used' (16 bytes)

1202 137971 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  7f 3c 9d 29 f8 8a ab 4a d2 82 23 af 45 63 d9 e0  .<.)...J..#.Ec..

1203 137992 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= decrypt buf

1204 138007 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input payload after decrypt' (2 bytes)

1205 138025 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  01 00                                            ..

1206 138044 [iot_thread] mbedTLS: |2| 0x2400e4bc: got an alert message, type: [1:0]

1207 138051 [iot_thread] mbedTLS: |2| 0x2400e4bc: is a close notify message

1208 138067 [iot_thread] mbedTLS: |1| 0x2400e4bc: mbedtls_ssl_handle_message_type() returned -30848 (-0x7880)

1209 138087 [iot_thread] mbedTLS: |1| 0x2400e4bc: mbedtls_ssl_read_record() returned -30848 (-0x7880)

1210 138105 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write close notify

1211 138112 [iot_thread] mbedTLS: |2| 0x2400e4bc: => send alert message

1212 138118 [iot_thread] mbedTLS: |3| 0x2400e4bc: send alert level=1 message=0

1213 138126 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

1214 138132 [iot_thread] mbedTLS: |2| 0x2400e4bc: => encrypt buf

1215 138138 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'before encrypt: output payload' (2 bytes)

1216 138147 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  01 00                                            ..

1217 138166 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'additional data for AEAD' (13 bytes)

1218 138184 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 03 15 03 03 00 02           .............

1219 138204 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (internal)' (12 bytes)

1220 138221 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  20 5c 46 9d 00 00 00 00 00 00 00 03               \F.........

1221 138241 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'IV used (transmitted)' (8 bytes)

1222 138258 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  00 00 00 00 00 00 00 03                          ........

1223 138278 [iot_thread] mbedTLS: |3| 0x2400e4bc: before encrypt: msglen = 10, including 0 bytes of padding

1224 138297 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'after encrypt: tag' (16 bytes)

1225 138314 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  f5 9a fa 83 9b 67 a0 67 77 f9 19 2b c9 c2 57 f1  .....g.gw..+..W.

1226 138335 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= encrypt buf

1227 138350 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 21, version = [3:3], msglen = 26

1228 138369 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (31 bytes)

1229 138378 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  15 03 03 00 1a 00 00 00 00 00 00 00 03 3e a5 f5  .............>..

1230 138407 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  9a fa 83 9b 67 a0 67 77 f9 19 2b c9 c2 57 f1     ....g.gw..+..W.

1231 138427 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1232 138433 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 31, out_left: 31

1233 138464 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 31 (-0xffffffe1)

1234 138472 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1235 138488 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

1236 138503 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= send alert message

1237 138510 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write close notify

1238 138525 [iot_thread] mbedTLS: |2| 0x2400e4bc: => free

1239 138540 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= free

1240 138546 [iot_thread] [ERROR] Failed to receive data over network. bytesReceived=-30848
1241 138563 [iot_thread] [ERROR] A single byte was not read from the transport: transportStatus=-30848.
1242 138582 [iot_thread] [ERROR] Receiving incoming packet length failed. Status=MQTTRecvFailed
1243 138599 [iot_thread] [ERROR] Exiting process loop due to failure: ErrorStatus=MQTTRecvFailed
1244 138617 [iot_thread] [ERROR] MQTT_ProcessLoop failed to receive packet: Packet type=0x90, LoopDuration=700, Status=MQTTRecvFailed
1245 138638 [iot_thread] [INFO] prvMQTTSubscribeWithBackoffRetries.xDemoStatus:0
1246 138655 [iot_thread] [INFO] MQTT_Publish [shadowmore] packetid: 2 topic:$aws/things/340351303335/shadow/update
1247 138679 [iot_thread] [DEBUG] Encoded size for length 223 is 2 bytes.
1248 138685 [iot_thread] [DEBUG] Encoded size for length 223 is 2 bytes.
1249 138701 [iot_thread] [DEBUG] PUBLISH packet remaining length=223 and packet size=226.
1250 138718 [iot_thread] [DEBUG] PUBLISH packet size is 226 and remaining length is 223.
1251 138735 [iot_thread] [DEBUG] Encoded size for length 223 is 2 bytes.
1252 138742 [iot_thread] [DEBUG] Adding QoS as QoS1 in PUBLISH flags.
1253 138757 [iot_thread] [DEBUG] Adding packet Id in PUBLISH packet.
1254 138773 [iot_thread] [DEBUG] Serialized PUBLISH header size is 45.
1255 138779 [iot_thread] [ERROR] Failed to send data over network. bytesSent=-27648.
1256 138796 [iot_thread] [ERROR] Transport send failed. Error code=-27648.
1257 138812 [iot_thread] [ERROR] Transport send failed for PUBLISH header.
1258 138828 [iot_thread] [ERROR] MQTT PUBLISH failed with status MQTTSendFailed.
1259 138835 [iot_thread] [DEBUG] Encoded size for length 27 is 1 bytes.
1260 138851 [iot_thread] [DEBUG] Subscription packet remaining length=27 and packet size=29.
1261 138868 [iot_thread] [DEBUG] UNSUBSCRIBE packet size is 29 and remaining length is 27.
1262 138886 [iot_thread] [DEBUG] Encoded size for length 27 is 1 bytes.
1263 138892 [iot_thread] [DEBUG] Length of serialized UNSUBSCRIBE packet is 29.
1264 138908 [iot_thread] [ERROR] Failed to send data over network. bytesSent=-27648.
1265 138916 [iot_thread] [ERROR] Transport send failed. Error code=-27648.
1266 138923 [iot_thread] [ERROR] Transport send failed for UNSUBSCRIBE packet.
1267 138930 [iot_thread] [ERROR] Failed to send UNSUBSCRIBE request to broker: 1 Topics, Error=MQTTSendFailed
1268 138940 [iot_thread] [ERROR] Failed to receive data over network. bytesReceived=-27648
1269 138948 [iot_thread] [ERROR] A single byte was not read from the transport: transportStatus=-27648.
1270 138967 [iot_thread] [ERROR] Receiving incoming packet length failed. Status=MQTTRecvFailed
1271 138984 [iot_thread] [ERROR] Exiting process loop due to failure: ErrorStatus=MQTTRecvFailed
1272 139002 [iot_thread] [ERROR] MQTT_ProcessLoop failed to receive packet: Packet type=0xB0, LoopDuration=1400, Status=MQTTRecvFailed
1273 139023 [iot_thread] [DEBUG] MQTT DISCONNECT packet size is 2.
1274 139029 [iot_thread] [ERROR] Failed to send data over network. bytesSent=-27648.
1275 139046 [iot_thread] [ERROR] Transport send failed. Error code=-27648.
1276 139062 [iot_thread] [ERROR] Transport send failed for DISCONNECT packet.
1277 139078 [iot_thread] [ERROR] Failed to close connection: SOCKETS_Shutdown call failed. -1
1278 139096 [iot_thread] [WARN] _13_181_3 sta00 tv25,24,0,100 Px0,0 sw000 000 000 000 pi0,0,0 0,0,0 0,0,59 57,0,0
1279 139115 [iot_thread] [INFO] Creating a TLS connection to xxxxxxxxxxxx.ats.iot.cn-north-1.amazonaws.com.cn:8883.
1280 140196 [iot_thread] mbedTLS: |2| 0x2400e4bc: => handshake

1281 140211 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 0

1282 140217 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1283 140233 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1284 140248 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 1

1285 140254 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1286 140269 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1287 140275 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write client hello

1288 140291 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, max version: [3:3]

1289 140308 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'client hello, random bytes' (32 bytes)

1290 140326 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  d5 7f 9d cf 76 08 63 8c 7e af ed c5 78 f6 ea 52  ....v.c.~...x..R

1291 140346 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0010:  71 1e 74 15 8a 66 c5 94 f0 41 c6 93 04 d8 3d 79  q.t..f...A....=y

1292 140366 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, session id len.: 0

1293 140383 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'client hello, session id' (0 bytes)

1294 140401 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c00a

1295 140408 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c014

1296 140425 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c02b

1297 140442 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c02f

1298 140459 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c023

1299 140476 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c027

1300 140484 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c009

1301 140501 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, add ciphersuite: c013

1302 140518 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, got 8 ciphersuites (excluding SCSVs)

1303 140527 [iot_thread] mbedTLS: |3| 0x2400e4bc: adding EMPTY_RENEGOTIATION_INFO_SCSV

1304 140535 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, compress len.: 1

1305 140542 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, compress alg.: 0

1306 140550 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding server name extension: xxxxxxxxxxxx.ats.iot.cn-north-1.amazonaws.com.cn

1307 140572 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding signature_algorithms extension

1308 140581 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding supported_elliptic_curves extension

1309 140600 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding supported_point_formats extension

1310 140619 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding max_fragment_length extension

1311 140637 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding encrypt_then_mac extension

1312 140655 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, adding extended_master_secret extension

1313 140674 [iot_thread] mbedTLS: |3| 0x2400e4bc: client hello, total extension length: 100

1314 140691 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write handshake message

1315 140707 [iot_thread] mbedTLS: |2| 0x2400e4bc: => write record

1316 140714 [iot_thread] mbedTLS: |3| 0x2400e4bc: output record: msgtype = 22, version = [3:3], msglen = 163

1317 140733 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'output record sent to network' (168 bytes)

1318 140752 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 a3 01 00 00 9f 03 03 d5 7f 9d cf 76  ...............v

1319 140781 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  08 63 8c 7e af ed c5 78 f6 ea 52 71 1e 74 15 8a  .c.~...x..Rq.t..

1320 140801 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  66 c5 94 f0 41 c6 93 04 d8 3d 79 00 00 12 c0 0a  f...A....=y.....

1321 140821 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  c0 14 c0 2b c0 2f c0 23 c0 27 c0 09 c0 13 00 ff  ...+./.#.'......

1322 140841 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  01 00 00 64 00 00 00 37 00 35 00 00 32 61 31 6d  ...d...7.5..2a1m

1323 140861 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  6e 7a 35 70 6d 79 71 6e 61 6d 69 2e 61 74 73 2e  nz5pmyqnami.ats.

1324 140881 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0060:  69 6f 74 2e 63 6e 2d 6e 6f 72 74 68 2d 31 2e 61  iot.cn-north-1.a

1325 140902 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0070:  6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 2e 63 6e 00  mazonaws.com.cn.

1326 140922 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0080:  0d 00 0a 00 08 04 03 04 01 03 03 03 01 00 0a 00  ................

1327 140951 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0090:  04 00 02 00 17 00 0b 00 02 01 00 00 01 00 01 04  ................

1328 140971 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00a0:  00 16 00 00 00 17 00 00                          ........

1329 140991 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1330 140997 [iot_thread] mbedTLS: |2| 0x2400e4bc: message length: 168, out_left: 168

1331 141033 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_send() returned 168 (-0xffffff58)

1332 141051 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1333 141066 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write record

1334 141072 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write handshake message

1335 141088 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= write client hello

1336 141104 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 2

1337 141110 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1338 141125 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1339 141398 [iot_thread] mbedTLS: |2| 0x2400e4bc: => parse server hello

1340 141405 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

1341 141411 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1342 141417 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1343 141424 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1344 141431 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

1345 141440 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1346 141455 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

1347 141473 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 5b                                   ....[

1348 141492 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 22, version = [3:3], msglen = 91

1349 141511 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1350 141517 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 96

1351 141533 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 96

1352 141549 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 91 (-0xffffffa5)

1353 141567 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1354 141573 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (96 bytes)

1355 141591 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 00 5b 02 00 00 57 03 03 ec f2 16 37 2b  ....[...W.....7+

1356 141611 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  67 7a 44 da c4 46 6c 93 24 35 b4 1f 8c 0d a1 8d  gzD..Fl.$5......

1357 141631 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  ca 0f 0c 67 ea 20 1a 9a 43 2b e7 20 7e 25 e1 83  ...g. ..C+. ~%..

1358 141652 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  37 fb a1 15 82 9f 8f bb a6 52 a4 0f 0b de cc 98  7........R......

1359 141681 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  f4 17 f7 3b cb b9 1d 8d 5c dc e7 bd c0 2f 00 00  ...;....\..../..

1360 141701 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  0f 00 00 00 00 00 0b 00 02 01 00 ff 01 00 01 00  ................

1361 141721 [iot_thread] mbedTLS: |3| 0x2400e4bc: handshake message: msglen = 91, type = 2, hslen = 91

1362 141740 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= read record

1363 141746 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'server hello, version' (2 bytes)

1364 141763 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  03 03                                            ..

1365 141782 [iot_thread] mbedTLS: |3| 0x2400e4bc: server hello, current time: 3975288375

1366 141800 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'server hello, random bytes' (32 bytes)

1367 141818 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  ec f2 16 37 2b 67 7a 44 da c4 46 6c 93 24 35 b4  ...7+gzD..Fl.$5.

1368 141838 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0010:  1f 8c 0d a1 8d ca 0f 0c 67 ea 20 1a 9a 43 2b e7  ........g. ..C+.

1369 141858 [iot_thread] mbedTLS: |3| 0x2400e4bc: server hello, session id len.: 32

1370 141875 [iot_thread] mbedTLS: |3| 0x2400e4bc: dumping 'server hello, session id' (32 bytes)

1371 141892 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0000:  7e 25 e1 83 37 fb a1 15 82 9f 8f bb a6 52 a4 0f  ~%..7........R..

1372 141913 [iot_thread] mbedTLS: |3| 0x2400e4bc: 0010:  0b de cc 98 f4 17 f7 3b cb b9 1d 8d 5c dc e7 bd  .......;....\...

1373 141933 [iot_thread] mbedTLS: |3| 0x2400e4bc: no session has been resumed

1374 141949 [iot_thread] mbedTLS: |3| 0x2400e4bc: server hello, chosen ciphersuite: c02f

1375 141966 [iot_thread] mbedTLS: |3| 0x2400e4bc: server hello, compress alg.: 0

1376 141973 [iot_thread] mbedTLS: |3| 0x2400e4bc: server hello, chosen ciphersuite: TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256

1377 141993 [iot_thread] mbedTLS: |2| 0x2400e4bc: server hello, total extension length: 15

1378 142011 [iot_thread] mbedTLS: |3| 0x2400e4bc: unknown extension found: 0 (ignoring)

1379 142028 [iot_thread] mbedTLS: |3| 0x2400e4bc: found supported_point_formats extension

1380 142059 [iot_thread] mbedTLS: |4| 0x2400e4bc: point format selected: 0

1381 142075 [iot_thread] mbedTLS: |3| 0x2400e4bc: found renegotiation extension

1382 142082 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= parse server hello

1383 142098 [iot_thread] mbedTLS: |2| 0x2400e4bc: client state: 3

1384 142113 [iot_thread] mbedTLS: |2| 0x2400e4bc: => flush output

1385 142119 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= flush output

1386 142135 [iot_thread] mbedTLS: |2| 0x2400e4bc: => parse certificate

1387 142151 [iot_thread] mbedTLS: |2| 0x2400e4bc: => read record

1388 142157 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1389 142172 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1390 142188 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 0, nb_want: 5

1391 142195 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)

1392 142204 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1393 142210 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record header' (5 bytes)

1394 142218 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 12 fa                                   .....

1395 142228 [iot_thread] mbedTLS: |3| 0x2400e4bc: input record: msgtype = 22, version = [3:3], msglen = 4858

1396 142247 [iot_thread] mbedTLS: |2| 0x2400e4bc: => fetch input

1397 142254 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 4863

1398 142275 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 5, nb_want: 4863

1399 142291 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 2819 (-0xfffff4fd)

1400 142569 [iot_thread] mbedTLS: |2| 0x2400e4bc: in_left: 2824, nb_want: 4863

1401 142585 [iot_thread] mbedTLS: |2| 0x2400e4bc: ssl->f_recv(_timeout)() returned 2039 (-0xfffff809)

1402 142604 [iot_thread] mbedTLS: |2| 0x2400e4bc: <= fetch input

1403 142619 [iot_thread] mbedTLS: |4| 0x2400e4bc: dumping 'input record from network' (4863 bytes)

1404 142637 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0000:  16 03 03 12 fa 0b 00 12 f6 00 12 f3 00 05 8b 30  ...............0

1405 142657 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0010:  82 05 87 30 82 04 6f a0 03 02 01 02 02 10 0e 7c  ...0..o........|

1406 142677 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0020:  32 7e 14 13 78 63 d2 f4 17 03 34 3e 9b c6 30 0d  2~..xc....4>..0.

1407 142697 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0030:  06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 46 31  ..*.H........0F1

1408 142718 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0040:  0b 30 09 06 03 55 04 06 13 02 55 53 31 0f 30 0d  .0...U....US1.0.

1409 142738 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0050:  06 03 55 04 0a 13 06 41 6d 61 7a 6f 6e 31 15 30  ..U....Amazon1.0

1410 142758 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0060:  13 06 03 55 04 0b 13 0c 53 65 72 76 65 72 20 43  ...U....Server C

1411 142778 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0070:  41 20 31 42 31 0f 30 0d 06 03 55 04 03 13 06 41  A 1B1.0...U....A

1412 142807 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0080:  6d 61 7a 6f 6e 30 1e 17 0d 32 31 30 33 31 30 30  mazon0...2103100

1413 142828 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0090:  30 30 30 30 30 5a 17 0d 32 32 30 32 31 38 32 33  00000Z..22021823

1414 142848 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00a0:  35 39 35 39 5a 30 30 31 2e 30 2c 06 03 55 04 03  5959Z001.0,..U..

1415 142868 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00b0:  0c 25 2a 2e 61 74 73 2e 69 6f 74 2e 63 6e 2d 6e  .%*.ats.iot.cn-n

1416 142888 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00c0:  6f 72 74 68 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73  orth-1.amazonaws

1417 142908 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00d0:  2e 63 6f 6d 2e 63 6e 30 82 01 22 30 0d 06 09 2a  .com.cn0.."0...*

1418 142928 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00e0:  86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f 00 30  .H.............0

1419 142948 [iot_thread] mbedTLS: |4| 0x2400e4bc: 00f0:  82 01 0a 02 82 01 01 00 b0 87 33 30 a8 30 bc 56  ..........30.0.V

1420 142978 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0100:  36 0d 2d da a4 70 7e cc 84 3b fa 36 4b 22 b4 e8  6.-..p~..;.6K"..

1421 142998 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0110:  85 6e a4 f1 8d 95 50 e9 66 8c 36 2a 70 96 c3 2a  .n....P.f.6*p..*

1422 143009 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0120:  0e 21 e2 d8 9d 04 c4 c5 84 23 1d 1f c2 95 7c 0e  .!.......#....|.

1423 143020 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0130:  41 99 88 d6 85 ec fe e1 ef 81 bf bd 4c 79 b6 63  A...........Ly.c

1424 143031 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0140:  7c 48 e7 45 d0 c8 5d 41 31 5b 8b cd da 98 5e cf  |H.E..]A1[....^.

1425 143042 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0150:  af 6f f4 60 07 21 7c 35 d1 48 c6 da 19 82 e9 d2  .o.`.!|5.H......

1426 143063 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0160:  a2 45 6a 8b 57 9c d7 9f 60 31 ea 02 96 46 09 a5  .Ej.W...`1...F..

1427 143083 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0170:  02 ad a7 34 54 0b 05 42 f0 87 1d bb 60 a7 a2 03  ...4T..B....`...

1428 143103 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0180:  d3 22 67 6f b8 68 05 70 d8 54 fe 57 8f 42 e3 f8  ."go.h.p.T.W.B..

1429 143132 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0190:  24 f4 52 e7 62 5c fd 84 e2 f0 c8 09 e7 10 dd 20  $.R.b\......... 

1430 143152 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01a0:  c0 0e ec 45 88 43 77 7a 6f 46 4b b6 b5 d6 4b 4c  ...E.CwzoFK...KL

1431 143172 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01b0:  3c d3 98 6a c2 9d 26 cf 45 b9 6e 97 31 b1 a5 3f  <..j..&.E.n.1..?

1432 143193 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01c0:  d0 84 4f cd b4 c3 ac 25 58 76 ac ff 84 4c 8f be  ..O....%Xv...L..

1433 143213 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01d0:  ce f9 b4 d2 c0 95 5e 9b b2 98 a0 b0 cd f7 94 7e  ......^........~

1434 143233 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01e0:  be 6a a5 d4 7f bc 79 4a 66 be c7 1b 5a d8 e0 9a  .j....yJf...Z...

1435 143253 [iot_thread] mbedTLS: |4| 0x2400e4bc: 01f0:  4c d6 64 a7 c7 1f 63 99 02 03 01 00 01 a3 82 02  L.d...c.........

1436 143273 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0200:  85 30 82 02 81 30 1f 06 03 55 1d 23 04 18 30 16  .0...0...U.#..0.

1437 143302 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0210:  80 14 59 a4 66 06 52 a0 7b 95 92 3c a3 94 07 27  ..Y.f.R.{..<...'

1438 143322 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0220:  96 74 5b f9 3d d0 30 1d 06 03 55 1d 0e 04 16 04  .t[.=.0...U.....

1439 143343 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0230:  14 3f b7 50 ab e8 a4 b8 05 1d f7 f1 26 38 27 82  .?.P........&8'.

1440 143363 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0240:  85 ef fa 1f 27 30 30 06 03 55 1d 11 04 29 30 27  ....'00..U...)0'

1441 143383 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0250:  82 25 2a 2e 61 74 73 2e 69 6f 74 2e 63 6e 2d 6e  .%*.ats.iot.cn-n

1442 143403 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0260:  6f 72 74 68 2d 31 2e 61 6d 61 7a 6f 6e 61 77 73  orth-1.amazonaws

1443 143423 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0270:  2e 63 6f 6d 2e 63 6e 30 0e 06 03 55 1d 0f 01 01  .com.cn0...U....

1444 143443 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0280:  ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 04 16  .......0...U.%..

1445 143472 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0290:  30 14 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06  0...+.........+.

1446 143492 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02a0:  01 05 05 07 03 02 30 3b 06 03 55 1d 1f 04 34 30  ......0;..U...40

1447 143513 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02b0:  32 30 30 a0 2e a0 2c 86 2a 68 74 74 70 3a 2f 2f  200...,.*http://

1448 143533 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02c0:  63 72 6c 2e 73 63 61 31 62 2e 61 6d 61 7a 6f 6e  crl.sca1b.amazon

1449 143554 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02d0:  74 72 75 73 74 2e 63 6f 6d 2f 73 63 61 31 62 2e  trust.com/sca1b.

1450 143574 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02e0:  63 72 6c 30 13 06 03 55 1d 20 04 0c 30 0a 30 08  crl0...U. ..0.0.

1451 143594 [iot_thread] mbedTLS: |4| 0x2400e4bc: 02f0:  06 06 67 81 0c 01 02 01 30 75 06 08 2b 06 01 05  ..g.....0u..+...

1452 143614 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0300:  05 07 01 01 04 69 30 67 30 2d 06 08 2b 06 01 05  .....i0g0-..+...

1453 143644 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0310:  05 07 30 01 86 21 68 74 74 70 3a 2f 2f 6f 63 73  ..0..!http://ocs

1454 143664 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0320:  70 2e 73 63 61 31 62 2e 61 6d 61 7a 6f 6e 74 72  p.sca1b.amazontr

1455 143684 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0330:  75 73 74 2e 63 6f 6d 30 36 06 08 2b 06 01 05 05  ust.com06..+....

1456 143704 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0340:  07 30 02 86 2a 68 74 74 70 3a 2f 2f 63 72 74 2e  .0..*http://crt.

1457 143724 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0350:  73 63 61 31 62 2e 61 6d 61 7a 6f 6e 74 72 75 73  sca1b.amazontrus

1458 143744 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0360:  74 2e 63 6f 6d 2f 73 63 61 31 62 2e 63 72 74 30  t.com/sca1b.crt0

1459 143765 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0370:  0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 82 01  ...U.......0.0..

1460 143785 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0380:  05 06 0a 2b 06 01 04 01 d6 79 02 04 02 04 81 f6  ...+.....y......

1461 143805 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0390:  04 81 f3 00 f1 00 77 00 29 79 be f0 9e 39 39 21  ......w.)y...99!

1462 143816 [iot_thread] mbedTLS: |4| 0x2400e4bc: 03a0:  f0 56 73 9f 63 a5 77 e5 be 57 7d 9c 60 0a f8 f9  .Vs.c.w..W}.`...

1463 143827 [iot_thread] mbedTLS: |4| 0x2400e4bc: 03b0:  4d 5d 26 5c 25 5d c7 84 00 00 01 78 1d d5 62 82  M]&\%].....x..b.

1464 143838 [iot_thread] mbedTLS: |4| 0x2400e4bc: 03c0:  00 00 04 03 00 48 30 46 02 21 00 f5 29 b1 3e 83  .....H0F.!..).>.

1465 143858 [iot_thread] mbedTLS: |4| 0x2400e4bc: 03d0:  59 fe ec a3 77 76 70 18 8e ad ba 9d e2 c8 08 83  Y...wvp.........

1466 143879 [iot_thread] mbedTLS: |4| 0x2400e4bc: 03e0:  e7 29 73 88 14 c5 4c d6 e8 fc f2 02 21 00 c7 45  .)s...L.....!..E

1467 143899 [iot_thread] mbedTLS: |4| 0x2400e4bc: 03f0:  63 d9 c9 d4 cf 31 08 1a c3 e4 27 41 1a 75 e7 0f  c....1....'A.u..

1468 143919 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0400:  88 ae da 2d 97 6c d9 eb 3f ff 33 77 ba da 00 76  ...-.l..?.3w...v

1469 143939 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0410:  00 22 45 45 07 59 55 24 56 96 3f a1 2f f1 f7 6d  ."EE.YU$V.?./..m

1470 143968 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0420:  86 e0 23 26 63 ad c0 4b 7f 5d c6 83 5c 6e e2 0f  ..#&c..K.]..\n..

1471 143988 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0430:  02 00 00 01 78 1d d5 62 56 00 00 04 03 00 47 30  ....x..bV.....G0

1472 144008 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0440:  45 02 21 00 d5 74 e8 93 7f 57 4f 47 76 17 b8 60  E.!..t...WOGv..`

1473 144028 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0450:  24 6b d0 79 b2 88 2d a5 aa 03 c0 66 09 ac 92 c7  $k.y..-....f....

1474 144048 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0460:  64 ac 48 96 02 20 10 eb 4c 93 5b 2f 0c 2c 5f 2d  d.H.. ..L.[/.,_-

1475 144069 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0470:  08 ce 90 38 55 85 7a 9f fa 72 d6 aa ee 3c 05 8d  ...8U.z..r...<..

1476 144089 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0480:  ba 2d 18 b9 23 8c 30 0d 06 09 2a 86 48 86 f7 0d  .-..#.0...*.H...

1477 144109 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0490:  01 01 0b 05 00 03 82 01 01 00 82 d8 63 1c 64 e6  ............c.d.

1478 144129 [iot_thread] mbedTLS: |4| 0x2400e4bc: 04a0:  e6 c2 86 70 aa df ab 42 d6 81 fd 5e c9 51 fb 9d  ...p...B...^.Q..

1479 144158 [iot_thread] mbedTLS: |4| 0x2400e4bc: 04b0:  45 7d ab 4e 9e 32 cb 23 17 d3 f9 79 dd 45 03 56  E}.N.2.#...y.E.V

1480 144178 [iot_thread] mbedTLS: |4| 0x2400e4bc: 04c0:  43 be 2f d1 44 ae a4 47 39 70 8f bb 46 93 7c dc  C./.D..G9p..F.|.

1481 144199 [iot_thread] mbedTLS: |4| 0x2400e4bc: 04d0:  b2 25 b4 dc 56 aa 1a 7e e8 39 c6 f5 6e ed fd 01  .%..V..~.9..n...

1482 144219 [iot_thread] mbedTLS: |4| 0x2400e4bc: 04e0:  34 70 13 25 ee 3c ae 35 4a 28 c1 df 90 d2 d2 ee  4p.%.<.5J(......

1483 144239 [iot_thread] mbedTLS: |4| 0x2400e4bc: 04f0:  ab bb 8b 02 16 74 1a 6f ce 9c 74 34 71 7e 55 a3  .....t.o..t4q~U.

1484 144259 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0500:  e4 55 7e 67 0d f9 50 6f ae f6 5a e3 65 05 c4 5d  .U~g..Po..Z.e..]

1485 144279 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0510:  46 e4 f1 33 55 14 87 89 e7 18 30 24 ac 8d ab 0f  F..3U.....0$....

1486 144300 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0520:  15 8b 16 5b 77 e9 46 41 0e a6 9a 7d 36 ed cc 3d  ...[w.FA...}6..=

1487 144329 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0530:  2d c0 26 0d b9 76 7f c7 c8 e8 85 4f 1c 2d 97 8a  -.&..v.....O.-..

1488 144349 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0540:  ea 1a a2 ab b1 f9 f1 15 fc fb f0 52 e8 75 ff 55  ...........R.u.U

1489 144369 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0550:  ee 82 65 fd 2c 54 de 47 f0 05 2f d4 7d 01 2a 20  ..e.,T.G../.}.* 

1490 144389 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0560:  0e 99 6d 1c 00 09 ee 35 eb e3 24 54 50 5f 7e 54  ..m....5..$TP_~T

1491 144409 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0570:  b6 95 63 ce b2 6a 7e 3b bc 89 16 71 61 12 be 70  ..c..j~;...qa..p

1492 144429 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0580:  9d cf 43 63 20 b3 fa 30 98 70 bd 79 da c8 2f d5  ..Cc ..0.p.y../.

1493 144450 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0590:  af 99 e9 48 cc 51 69 b5 4b 92 00 04 4d 30 82 04  ...H.Qi.K...M0..

1494 144470 [iot_thread] mbedTLS: |4| 0x2400e4bc: 05a0:  49 30 82 03 31 a0 03 02 01 02 02 13 06 7f 94 57  I0..1..........W

1495 144490 [iot_thread] mbedTLS: |4| 0x2400e4bc: 05b0:  85 87 e8 ac 77 de b2 53 32 5b bc 99 8b 56 0d 30  ....w..S2[...V.0

1496 144519 [iot_thread] mbedTLS: |4| 0x2400e4bc: 05c0:  0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 39  ...*.H........09

1497 144539 [iot_thread] mbedTLS: |4| 0x2400e4bc: 05d0:  31 0b 30 09 06 03 55 04 06 13 02 55 53 31 0f 30  1.0...U....US1.0

1498 144559 [iot_thread] mbedTLS: |4| 0x2400e4bc: 05e0:  0d 06 03 55 04 0a 13 06 41 6d 61 7a 6f 6e 31 19  ...U....Amazon1.

1499 144580 [iot_thread] mbedTLS: |4| 0x2400e4bc: 05f0:  30 17 06 03 55 04 03 13 10 41 6d 61 7a 6f 6e 20  0...U....Amazon 

1500 144600 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0600:  52 6f 6f 74 20 43 41 20 31 30 1e 17 0d 31 35 31  Root CA 10...151

1501 144611 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0610:  30 32 32 30 30 30 30 30 30 5a 17 0d 32 35 31 30  022000000Z..2510

1502 144622 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0620:  31 39 30 30 30 30 30 30 5a 30 46 31 0b 30 09 06  19000000Z0F1.0..

1503 144633 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0630:  03 55 04 06 13 02 55 53 31 0f 30 0d 06 03 55 04  .U....US1.0...U.

1504 144654 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0640:  0a 13 06 41 6d 61 7a 6f 6e 31 15 30 13 06 03 55  ...Amazon1.0...U

1505 144674 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0650:  04 0b 13 0c 53 65 72 76 65 72 20 43 41 20 31 42  ....Server CA 1B

1506 144694 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0660:  31 0f 30 0d 06 03 55 04 03 13 06 41 6d 61 7a 6f  1.0...U....Amazo

1507 144714 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0670:  6e 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01  n0.."0...*.H....

1508 144734 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0680:  01 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01  .........0......

1509 144754 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0690:  01 00 c2 4e 16 67 dd ce bc 6a c8 37 5a ec 3a 30  ...N.g...j.7Z.:0

1510 144774 [iot_thread] mbedTLS: |4| 0x2400e4bc: 06a0:  b0 1d e6 d1 12 e8 12 28 48 cc e8 29 c1 b9 6e 53  .......(H..)..nS

1511 144794 [iot_thread] mbedTLS: |4| 0x2400e4bc: 06b0:  d5 a3 eb 03 39 1a cc 77 87 f6 01 b9 d9 70 cc cf  ....9..w.....p..

1512 144823 [iot_thread] mbedTLS: |4| 0x2400e4bc: 06c0:  6b 8d e3 e3 03 71 86 99 6d cb a6 94 2a 4e 13 d6  k....q..m...*N..

1513 144844 [iot_thread] mbedTLS: |4| 0x2400e4bc: 06d0:  a7 bd 04 ec 0a 16 3c 0a eb 39 b1 c4 b5 58 a3 b6  ......<..9...X..

1514 144864 [iot_thread] mbedTLS: |4| 0x2400e4bc: 06e0:  c7 56 25 ec 3e 52 7a a8 e3 29 16 07 b9 6e 50 cf  .V%.>Rz..)...nP.

1515 144884 [iot_thread] mbedTLS: |4| 0x2400e4bc: 06f0:  fb 5f 31 f8 1d ba 03 4a 62 89 03 ae 3e 47 f2 0f  ._1....Jb...>G..

1516 144905 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0700:  27 91 e3 14 20 85 f8 fa e9 8a 35 f5 5f 9e 99 4d  '... .....5._..M

1517 144925 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0710:  e7 6b 37 ef a4 50 3e 44 ec fa 5a 85 66 07 9c 7e  .k7..P>D..Z.f..~

1518 144945 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0720:  17 6a 55 f3 17 8a 35 1e ee e9 ac c3 75 4e 58 55  .jU...5.....uNXU

1519 144965 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0730:  7d 53 6b 0a 6b 9b 14 42 d7 e5 ac 01 89 b3 ea a3  }Sk.k..B........

1520 144994 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0740:  fe cf c0 2b 0c 84 c2 d8 53 15 cb 67 f0 d0 88 ca  ...+....S..g....

1521 145014 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0750:  3a d1 17 73 f5 5f 9a d4 c5 72 1e 7e 01 f1 98 30  :..s._...r.~...0

1522 145034 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0760:  63 2a aa f2 7a 2d c5 e2 02 1a 86 e5 32 3e 0e bd  c*..z-......2>..

1523 145054 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0770:  11 b4 cf 3c 93 ef 17 50 10 9e 43 c2 06 2a e0 0d  ...<...P..C..*..

1524 145075 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0780:  68 be d3 88 8b 4a 65 8c 4a d4 c3 2e 4c 9b 55 f4  h....Je.J...L.U.

1525 145095 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0790:  86 e5 02 03 01 00 01 a3 82 01 3b 30 82 01 37 30  ..........;0..70

1526 145115 [iot_thread] mbedTLS: |4| 0x2400e4bc: 07a0:  12 06 03 55 1d 13 01 01 ff 04 08 30 06 01 01 ff  ...U.......0....

1527 145135 [iot_thread] mbedTLS: |4| 0x2400e4bc: 07b0:  02 01 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03  ...0...U........

1528 145164 [iot_thread] mbedTLS: |4| 0x2400e4bc: 07c0:  02 01 86 30 1d 06 03 55 1d 0e 04 16 04 14 59 a4  ...0...U......Y.

1529 145184 [iot_thread] mbedTLS: |4| 0x2400e4bc: 07d0:  66 06 52 a0 7b 95 92 3c a3 94 07 27 96 74 5b f9  f.R.{..<...'.t[.

1530 145204 [iot_thread] mbedTLS: |4| 0x2400e4bc: 07e0:  3d d0 30 1f 06 03 55 1d 23 04 18 30 16 80 14 84  =.0...U.#..0....

1531 145225 [iot_thread] mbedTLS: |4| 0x2400e4bc: 07f0:  18 cc 85 34 ec bc 0c 94 94 2e 08 59 9c c7 b2 10  ...4.......Y....

1532 145245 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0800:  4e 0a 08 30 7b 06 08 2b 06 01 05 05 07 01 01 04  N..0{..+........

1533 145265 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0810:  6f 30 6d 30 2f 06 08 2b 06 01 05 05 07 30 01 86  o0m0/..+.....0..

1534 145285 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0820:  23 68 74 74 70 3a 2f 2f 6f 63 73 70 2e 72 6f 6f  #http://ocsp.roo

1535 145305 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0830:  74 63 61 31 2e 61 6d 61 7a 6f 6e 74 72 75 73 74  tca1.amazontrust

1536 145325 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0840:  2e 63 6f 6d 30 3a 06 08 2b 06 01 05 05 07 30 02  .com0:..+.....0.

1537 145355 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0850:  86 2e 68 74 74 70 3a 2f 2f 63 72 74 2e 72 6f 6f  ..http://crt.roo

1538 145375 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0860:  74 63 61 31 2e 61 6d 61 7a 6f 6e 74 72 75 73 74  tca1.amazontrust

1539 145395 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0870:  2e 63 6f 6d 2f 72 6f 6f 74 63 61 31 2e 63 65 72  .com/rootca1.cer

1540 145406 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0880:  30 3f 06 03 55 1d 1f 04 38 30 36 30 34 a0 32 a0  0?..U...80604.2.

1541 145417 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0890:  30 86 2e 68 74 74 70 3a 2f 2f 63 72 6c 2e 72 6f  0..http://crl.ro

1542 145428 [iot_thread] mbedTLS: |4| 0x2400e4bc: 08a0:  6f 74 63 61 31 2e 61 6d 61 7a 6f 6e 74 72 75 73  otca1.amazontrus

1543 145439 [iot_thread] mbedTLS: |4| 0x2400e4bc: 08b0:  74 2e 63 6f 6d 2f 72 6f 6f 74 63 61 31 2e 63 72  t.com/rootca1.cr

1544 145469 [iot_thread] mbedTLS: |4| 0x2400e4bc: 08c0:  6c 30 13 06 03 55 1d 20 04 0c 30 0a 30 08 06 06  l0...U. ..0.0...

1545 145489 [iot_thread] mbedTLS: |4| 0x2400e4bc: 08d0:  67 81 0c 01 02 01 30 0d 06 09 2a 86 48 86 f7 0d  g.....0...*.H...

1546 145509 [iot_thread] mbedTLS: |4| 0x2400e4bc: 08e0:  01 01 0b 05 00 03 82 01 01 00 85 92 be 35 bb 79  .............5.y

1547 145529 [iot_thread] mbedTLS: |4| 0x2400e4bc: 08f0:  cf a3 81 42 1c e4 e3 63 73 53 39 52 35 e7 d1 ad  ...B...csS9R5...

1548 145549 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0900:  fd ae 99 8a ac 89 12 2f bb e7 6f 9a d5 4e 72 ea  ......./..o..Nr.

1549 145570 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0910:  20 30 61 f9 97 b2 cd a5 27 02 45 a8 ca 76 3e 98   0a.....'.E..v>.

1550 145590 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0920:  4a 83 9e b6 e6 45 e0 f2 43 f6 08 de 6d e8 6e db  J....E..C...m.n.

1551 145610 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0930:  31 07 13 f0 2f 31 0d 93 6d 61 37 7b 58 f0 fc 51  1.../1..ma7{X..Q

1552 145630 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0940:  98 91 28 02 4f 05 76 b7 d3 f0 1b c2 e6 5e d0 66  ..(.O.v......^.f

1553 145660 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0950:  85 11 0f 2e 81 c6 10 81 29 fe 20 60 48 f3 f2 f0  ........). `H...

1554 145680 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0960:  84 13 53 65 35 15 11 6b 82 51 40 55 57 5f 18 b5  ..Se5..k.Q@UW_..

1555 145700 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0970:  b0 22 3e ad f2 5e a3 01 e3 c3 b3 f9 cb 41 5a e6  .">..^.......AZ.

1556 145720 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0980:  52 91 bb e4 36 87 4f 2d a9 a4 07 68 35 ba 94 72  R...6.O-...h5..r

1557 145740 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0990:  cd 0e ea 0e 7d 57 f2 79 fc 37 c5 7b 60 9e b2 eb  ....}W.y.7.{`...

1558 145760 [iot_thread] mbedTLS: |4| 0x2400e4bc: 09a0:  c0 2d 90 77 0d 49 10 27 a5 38 ad c4 12 a3 b4 a3  .-.w.I.'.8......

1559 145781 [iot_thread] mbedTLS: |4| 0x2400e4bc: 09b0:  c8 48 b3 15 0b 1e e2 e2 19 dc c4 76 52 c8 bc 8a  .H.........vR...

1560 145801 [iot_thread] mbedTLS: |4| 0x2400e4bc: 09c0:  41 78 70 d9 6d 97 b3 4a 8b 78 2d 5e b4 0f a3 4c  Axp.m..J.x-^...L

1561 145830 [iot_thread] mbedTLS: |4| 0x2400e4bc: 09d0:  60 ca e1 47 cb 78 2d 12 17 b1 52 8b ca 39 2c bd  `..G.x-...R..9,.

1562 145850 [iot_thread] mbedTLS: |4| 0x2400e4bc: 09e0:  b5 2f c2 33 02 96 ab da 94 7f 00 04 96 30 82 04  ./.3.........0..

1563 145870 [iot_thread] mbedTLS: |4| 0x2400e4bc: 09f0:  92 30 82 03 7a a0 03 02 01 02 02 13 06 7f 94 4a  .0..z..........J

1564 145890 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a00:  2a 27 cd f3 fa c2 ae 2b 01 f9 08 ee b9 c4 c6 30  *'.....+.......0

1565 145910 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a10:  0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 81  ...*.H........0.

1566 145931 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a20:  98 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 10  .1.0...U....US1.

1567 145951 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a30:  30 0e 06 03 55 04 08 13 07 41 72 69 7a 6f 6e 61  0...U....Arizona

1568 145971 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a40:  31 13 30 11 06 03 55 04 07 13 0a 53 63 6f 74 74  1.0...U....Scott

1569 146000 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a50:  73 64 61 6c 65 31 25 30 23 06 03 55 04 0a 13 1c  sdale1%0#..U....

1570 146020 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a60:  53 74 61 72 66 69 65 6c 64 20 54 65 63 68 6e 6f  Starfield Techno

1571 146040 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a70:  6c 6f 67 69 65 73 2c 20 49 6e 63 2e 31 3b 30 39  logies, Inc.1;09

1572 146060 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a80:  06 03 55 04 03 13 32 53 74 61 72 66 69 65 6c 64  ..U...2Starfield

1573 146081 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0a90:  20 53 65 72 76 69 63 65 73 20 52 6f 6f 74 20 43   Services Root C

1574 146101 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0aa0:  65 72 74 69 66 69 63 61 74 65 20 41 75 74 68 6f  ertificate Autho

1575 146121 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0ab0:  72 69 74 79 20 2d 20 47 32 30 1e 17 0d 31 35 30  rity - G20...150

1576 146141 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0ac0:  35 32 35 31 32 30 30 30 30 5a 17 0d 33 37 31 32  525120000Z..3712

1577 146170 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0ad0:  33 31 30 31 30 30 30 30 5a 30 39 31 0b 30 09 06  31010000Z091.0..

1578 146190 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0ae0:  03 55 04 06 13 02 55 53 31 0f 30 0d 06 03 55 04  .U....US1.0...U.

1579 146201 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0af0:  0a 13 06 41 6d 61 7a 6f 6e 31 19 30 17 06 03 55  ...Amazon1.0...U

1580 146212 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b00:  04 03 13 10 41 6d 61 7a 6f 6e 20 52 6f 6f 74 20  ....Amazon Root 

1581 146223 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b10:  43 41 20 31 30 82 01 22 30 0d 06 09 2a 86 48 86  CA 10.."0...*.H.

1582 146234 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b20:  f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a  ............0...

1583 146255 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b30:  02 82 01 01 00 b2 78 80 71 ca 78 d5 e3 71 af 47  ......x.q.x..q.G

1584 146275 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b40:  80 50 74 7d 6e d8 d7 88 76 f4 99 68 f7 58 21 60  .Pt}n...v..h.X!`

1585 146305 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b50:  f9 74 84 01 2f ac 02 2d 86 d3 a0 43 7a 4e b2 a4  .t../..-...CzN..

1586 146325 [iot_thread] mbedTLS: |4| 0x2400e4bc: 0b60:  d0 36 ba 01 be 8d db 48 c8 07 17 36 4c f4 ee 88  .6.....H...6L...
muneebahmed10 commented 3 years ago

HI @eelaix,

In your logs, it looks like the subscribe acknowledgment is received and the callback invoked around line 1177. Then, roughly 90 seconds later, line 1210 shows that the server sends a close-notify since 1.5 times the 60 second keep alive interval has elapsed. It looks like mbedtls is getting blocked on a receive call after the SUBACK is received.

What hardware/network stack are you using?

eelaix commented 3 years ago

HI @eelaix,

In your logs, it looks like the subscribe acknowledgment is received and the callback invoked around line 1177. Then, roughly 90 seconds later, line 1210 shows that the server sends a close-notify since 1.5 times the 60 second keep alive interval has elapsed. It looks like mbedtls is getting blocked on a receive call after the SUBACK is received.

What hardware/network stack are you using?

Hi, thanks for your reply.

My hardware is based on STM32H750 MCU , and I configured both with RMII eth and UART LTE module,

when I using RMII ETH everything runs ok,

but when I change to UART LTE (software is X-CUBE-CELLULAR 6.0.0) shows this.

NOW, I am trying to run under FreeRTOS-Cellular API and MQTT-AGENT, I am trying this solution to avoid this problem.

eelaix commented 3 years ago

HI @eelaix,

In your logs, it looks like the subscribe acknowledgment is received and the callback invoked around line 1177. Then, roughly 90 seconds later, line 1210 shows that the server sends a close-notify since 1.5 times the 60 second keep alive interval has elapsed. It looks like mbedtls is getting blocked on a receive call after the SUBACK is received.

What hardware/network stack are you using?

Hi, @muneebahmed10 When I integration CELLULAR API WITH FreeRTOS 2021.07, I have found the SecureSocket abstraction library (202007, Branches->feature/cellular) does not work, is there any solution ?

here is the log of secure socket library output: (blocked at the end)

9 19286 [iot_thread] [INFO ][xDEMO][19286] SIM card is READY

19 24475 [iot_thread] [INFO ][xDEMO][24475] State Machine Change oldState = REGISTERED, newState = CONNECTED ,trigger = PDN_ACTIVE

21 28451 [iot_thread] [INFO ][xDEMO][28451] Successfully initialized the demo. Network type for the demo: 8

22 28451 [iot_thread] [DEBUG][xnIOT][28451] Creating command queue.

23 28451 [iot_thread] [INFO ][xnIOT][28451] Creating a TLS connection to xxxx.ats.iot.cn-north-1.amazonaws.com.cn:8883.

24 28451 [iot_thread] [DEBUG][SeSkt][28451] Created CELLULAR Socket 0x2400e7c8.

25 29171 [iot_thread] [DEBUG][SeSkt][29170] Ip address 52.81.xxx.xx port 8883

26 29250 [iot_thread] [DEBUG][SeSkt][29250] Socket open callback on Socket 0x2400e7c8 604000680 5.

27 30789 [iot_thread] [DEBUG][SeSkt][30789] prvNetworkSend expect 168 write 168

28 30912 [iot_thread] [DEBUG][SeSkt][30912] Data ready on Socket 0x2400e7c8

29 30936 [iot_thread] [DEBUG][SeSkt][30936] prvNetworkRecv expect 5 read 5

30 30960 [iot_thread] [DEBUG][SeSkt][30960] prvNetworkRecv expect 91 read 91

31 30980 [iot_thread] [DEBUG][SeSkt][30979] prvNetworkRecv expect 5 read 5