Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scandone
- state: 0 -> 2 (b0)
- state: 2 -> 3 (0)
- state: 3 -> 5 (10)
- add 0
- aid 4
- cnt
- connected with Stellaripl, channel 1
- dhcp client start...
- mgos_wifi_on_change_ Wifi: connected
- ip:192.168.1.13,mask:255.255.255.0,gw:192.168.1.1
- mgos_wifi_on_change_ WiFi: ready, IP 192.168.1.13, DNS 192.168.1.1
- mqtt_global_reconnec MQTT connecting after 1922 ms
- mgos_sntp_retry SNTP next query in 915 ms
- mgos_sntp_query SNTP query to pool.ntp.org
- mgos_sntp_retry SNTP next query in 1955 ms
- mongoose_poll New heap free LWM: 41952
- mgos_sntp_ev SNTP query sent
- mongoose_poll New heap free LWM: 41816
- mgos_sntp_ev SNTP reply from 123.108.200.124: time 1494487484.164740, local 7.477295, delta 1494487476.687445
- mgos_sntp_ev SNTP close
- mgos_sntp_retry SNTP next query in 7439164 ms
- mqtt_global_connect MQTT connecting to a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com:8883
- set_spiffs_errno aws-iot-c74e641add.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- set_spiffs_errno ca-verisign-ecc-g2.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- mongoose_poll New heap free LWM: 37792
- mongoose_poll New heap free LWM: 35680
- mongoose_poll New heap free LWM: 35000
- mg_ssl_mbed_log 0x3fff0d8c => handshake
- mg_ssl_mbed_log 0x3fff0d8c client state: 0
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c client state: 1
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => write client hello
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 0 => 145
- mg_ssl_mbed_log 0x3fff0d8c client hello, max version: [3:3]
- mg_ssl_mbed_log 0x3fff0d8c dumping 'client hello, random bytes' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: e9 7d e9 f6 aa 8d 70 11 b0 2c 6a 1d 95 40 da f1 .}....p..,j..@..
- mg_ssl_mbed_log 0x3fff0d8c 0010: 7b 1e c8 46 e0 35 d8 6e 09 ca 28 55 40 b0 58 de {..F.5.n..(U@.X.
- mg_ssl_mbed_log 0x3fff0d8c client hello, session id len.: 0
- mg_ssl_mbed_log 0x3fff0d8c dumping 'client hello, session id' (0 bytes)
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c02b
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c02f
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: 009e
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: 0067
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c02d
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c025
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c004
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c031
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c029
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: c00e
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: 009c
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: 003c
- mg_ssl_mbed_log 0x3fff0d8c client hello, add ciphersuite: 002f
- mg_ssl_mbed_log 0x3fff0d8c client hello, got 14 ciphersuites
- mg_ssl_mbed_log 0x3fff0d8c client hello, compress len.: 1
- mg_ssl_mbed_log 0x3fff0d8c client hello, compress alg.: 0
- mg_ssl_mbed_log 0x3fff0d8c client hello, adding server name extension: a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d8c client hello, adding signature_algorithms extension
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 145 => 155
- mg_ssl_mbed_log 0x3fff0d8c client hello, adding supported_elliptic_curves extension
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 155 => 163
- mg_ssl_mbed_log 0x3fff0d8c client hello, adding supported_point_formats extension
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 163 => 169
- mg_ssl_mbed_log 0x3fff0d8c client hello, adding encrypt_then_mac extension
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 169 => 173
- mg_ssl_mbed_log 0x3fff0d8c client hello, adding extended_master_secret extension
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 173 => 177
- mg_ssl_mbed_log 0x3fff0d8c client hello, total extension length: 91
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 22, version = [3:3], msglen = 164
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 169, out_left: 169
- ssl_socket_send 0x3fff0d8c 169 -> 169
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 169 (-0xffffff57)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 177 => 13
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write client hello
- mg_ssl_mbed_log 0x3fff0d8c client state: 2
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse server hello
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 0
- mg_ssl_mbed_log 0x3fff0d8c grow in_buf 0 => 13
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c <= handshake
- mg_ssl_mbed_log 0x3fff0d8c => handshake
- mg_ssl_mbed_log 0x3fff0d8c client state: 2
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse server hello
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d8c <- 5
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c input record: msgtype = 22, version = [3:3], msglen = 2591
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 2596, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c grow in_buf 13 => 2604
- ssl_socket_recv 0x3fff0d8c <- 1455
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 2596, in_buf_size: 2604
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 1455 (-0xfffffa51)
- mg_ssl_mbed_log 0x3fff0d8c in_left: 1460, nb_want: 2596, in_buf_size: 2604
- mg_ssl_mbed_log 0x3fff0d8c <= handshake
- mg_ssl_mbed_log 0x3fff0d8c => handshake
- mg_ssl_mbed_log 0x3fff0d8c client state: 2
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse server hello
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 1460, nb_want: 5, in_buf_size: 2604
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c input record: msgtype = 22, version = [3:3], msglen = 2591
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 1460, nb_want: 2596, in_buf_size: 2604
- ssl_socket_recv 0x3fff0d8c <- 1136
- mg_ssl_mbed_log 0x3fff0d8c in_left: 1460, nb_want: 2596, in_buf_size: 2604
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 1136 (-0xfffffb90)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c handshake message: msglen = 2591, type = 2, hslen = 81
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c dumping 'server hello, version' (2 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 03 03 ..
- mg_ssl_mbed_log 0x3fff0d8c server hello, current time: 1494487485
- mg_ssl_mbed_log 0x3fff0d8c dumping 'server hello, random bytes' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 59 14 11 bd be 3c 22 06 3a b6 35 3a 19 b9 1f 67 Y....<".:.5:...g
- mg_ssl_mbed_log 0x3fff0d8c 0010: a3 5f 33 fa 84 1e f7 a7 83 75 98 40 8f de dc 35 ._3......u.@...5
- mg_ssl_mbed_log 0x3fff0d8c server hello, session id len.: 32
- mg_ssl_mbed_log 0x3fff0d8c dumping 'server hello, session id' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 59 14 11 bd b5 36 99 7b 8a be e7 e0 36 57 a7 de Y....6.{....6W..
- mg_ssl_mbed_log 0x3fff0d8c 0010: e2 f1 34 80 59 46 18 f6 6b 30 fc 10 e6 76 b1 b2 ..4.YF..k0...v..
- mg_ssl_mbed_log 0x3fff0d8c no session has been resumed
- mg_ssl_mbed_log 0x3fff0d8c server hello, chosen ciphersuite: c02b
- mg_ssl_mbed_log 0x3fff0d8c server hello, compress alg.: 0
- mg_ssl_mbed_log 0x3fff0d8c server hello, chosen ciphersuite: TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
- mg_ssl_mbed_log 0x3fff0d8c server hello, total extension length: 5
- mg_ssl_mbed_log 0x3fff0d8c found renegotiation extension
- mg_ssl_mbed_log 0x3fff0d8c <= parse server hello
- mg_ssl_mbed_log 0x3fff0d8c client state: 3
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse certificate
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c handshake message: msglen = 2510, type = 11, hslen = 2320
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c peer certificate #1:
- mg_ssl_mbed_log 0x3fff0d8c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d8c serial number : 20:88:52:7E:45:DF:8F:76:68:0D:39:EA:E2:26:12:D2
- mg_ssl_mbed_log 0x3fff0d8c issuer name : C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 ECC 256 bit SSL CA - G2
- mg_ssl_mbed_log 0x3fff0d8c subject name : C=US, ST=Washington, L=Seattle, O=Amazon.com, Inc., CN=*.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d8c issued on : 2017-03-07 00:00:00
- mg_ssl_mbed_log 0x3fff0d8c expires on : 2018-03-08 23:59:59
- mg_ssl_mbed_log 0x3fff0d8c signed using : ECDSA with SHA256
- mg_ssl_mbed_log 0x3fff0d8c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d8c basic constraints : CA=false
- mg_ssl_mbed_log 0x3fff0d8c subject alt name : iot.us-west-2.amazonaws.com, *.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d8c key usage : Digital Signature
- mg_ssl_mbed_log 0x3fff0d8c ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
- mg_ssl_mbed_log 0x3fff0d8c value of 'crt->eckey.Q(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 70 14 ad b7 d2 d6 20 cb 27 39 fb 86 1b de 9d d2
- mg_ssl_mbed_log 0x3fff0d8c 50 75 0b 71 35 9e 24 5f aa eb e4 d0 a2 31 90 56
- mg_ssl_mbed_log 0x3fff0d8c value of 'crt->eckey.Q(Y)' (254 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 34 c5 39 fc 2c 34 9d 25 c7 f7 b3 2f 8e ff 35 b7
- mg_ssl_mbed_log 0x3fff0d8c 7a 4f 48 e2 a7 48 fd 0a 84 81 0f 58 1b f5 0a b2
- mg_ssl_mbed_log 0x3fff0d8c peer certificate #2:
- mg_ssl_mbed_log 0x3fff0d8c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d8c serial number : 3F:92:87:BE:9D:1D:A4:A3:7A:9D:F6:28:2E:77:5A:C4
- mg_ssl_mbed_log 0x3fff0d8c issuer name : C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=(c) 2006 VeriSign, Inc. - For authorized use only, CN=VeriSign Class 3 Public Primary Certification Authority - G5
- mg_ssl_mbed_log 0x3fff0d8c subject name : C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 ECC 256 bit SSL CA - G2
- mg_ssl_mbed_log 0x3fff0d8c issued on : 2015-05-12 00:00:00
- mg_ssl_mbed_log 0x3fff0d8c expires on : 2025-05-11 23:59:59
- mg_ssl_mbed_log 0x3fff0d8c signed using : RSA with SHA-256
- mg_ssl_mbed_log 0x3fff0d8c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d8c basic constraints : CA=true, max_pathlen=0
- mg_ssl_mbed_log 0x3fff0d8c subject alt name :
- mg_ssl_mbed_log 0x3fff0d8c key usage : Key Cert Sign, CRL Sign
- mg_ssl_mbed_log 0x3fff0d8c value of 'crt->eckey.Q(X)' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 0f 1b a4 91 d7 e7 ac e7 d1 4e 4e b7 64 5b e1 8f
- mg_ssl_mbed_log 0x3fff0d8c 7f 6e 04 d3 ab 38 db 44 b7 40 5c 6d bd 96 96 37
- mg_ssl_mbed_log 0x3fff0d8c value of 'crt->eckey.Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c df 79 89 86 67 f7 b1 1f 08 9e fd 63 3b 46 8c 9f
- mg_ssl_mbed_log 0x3fff0d8c bd 53 e8 15 dc 97 3e 2b 81 46 ad 86 7f 0e 01 39
- ATCA ECDSA verify ok, verified
- mg_ssl_mbed_log 0x3fff0d8c <= parse certificate
- mg_ssl_mbed_log 0x3fff0d8c client state: 4
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse server key exchange
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c handshake message: msglen = 190, type = 12, hslen = 148
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c dumping 'server key exchange' (144 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 03 00 17 41 04 16 18 cd 6f 2f c8 4a ed b7 e7 cd ...A....o/.J....
- mg_ssl_mbed_log 0x3fff0d8c 0010: 70 c6 58 ce d2 d9 93 03 65 24 4c a3 1b 58 f2 b7 p.X.....e$L..X..
- mg_ssl_mbed_log 0x3fff0d8c 0020: ed 86 7d 68 d6 d0 55 3d 99 08 4e 6a c5 9b 01 a3 ..}h..U=..Nj....
- mg_ssl_mbed_log 0x3fff0d8c 0030: 5b 29 ef ee 77 51 fa 94 f5 08 0e 40 80 c4 94 53 [)..wQ.....@...S
- mg_ssl_mbed_log 0x3fff0d8c 0040: 21 11 31 a5 38 04 03 00 47 30 45 02 21 00 b7 5e !.1.8...G0E.!..^
- mg_ssl_mbed_log 0x3fff0d8c 0050: 14 cf 38 b4 3f 6b a6 ec ea f4 03 19 dc d4 1d 97 ..8.?k..........
- mg_ssl_mbed_log 0x3fff0d8c 0060: 8c 58 e1 ae 44 f9 c7 da 08 3c 63 35 95 10 02 20 .X..D....<c5...
- mg_ssl_mbed_log 0x3fff0d8c 0070: 36 8e be 7b fd 17 19 b9 90 8e a3 40 0e eb 6f 5a 6..{.......@..oZ
- mg_ssl_mbed_log 0x3fff0d8c 0080: 4e 2b 72 c5 d8 0e 6a df 20 18 2e b9 eb cf 66 71 N+r...j. .....fq
- mg_ssl_mbed_log 0x3fff0d8c ECDH curve: secp256r1
- mg_ssl_mbed_log 0x3fff0d8c value of 'ECDH: Qp(X)' (253 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 16 18 cd 6f 2f c8 4a ed b7 e7 cd 70 c6 58 ce d2
- mg_ssl_mbed_log 0x3fff0d8c d9 93 03 65 24 4c a3 1b 58 f2 b7 ed 86 7d 68 d6
- mg_ssl_mbed_log 0x3fff0d8c value of 'ECDH: Qp(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c d0 55 3d 99 08 4e 6a c5 9b 01 a3 5b 29 ef ee 77
- mg_ssl_mbed_log 0x3fff0d8c 51 fa 94 f5 08 0e 40 80 c4 94 53 21 11 31 a5 38
- mg_ssl_mbed_log 0x3fff0d8c Server used SignatureAlgorithm 3
- mg_ssl_mbed_log 0x3fff0d8c Server used HashAlgorithm 4
- mg_ssl_mbed_log 0x3fff0d8c dumping 'signature' (71 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 30 45 02 21 00 b7 5e 14 cf 38 b4 3f 6b a6 ec ea 0E.!..^..8.?k...
- mg_ssl_mbed_log 0x3fff0d8c 0010: f4 03 19 dc d4 1d 97 8c 58 e1 ae 44 f9 c7 da 08 ........X..D....
- mg_ssl_mbed_log 0x3fff0d8c 0020: 3c 63 35 95 10 02 20 36 8e be 7b fd 17 19 b9 90 <c5... 6..{.....
- mg_ssl_mbed_log 0x3fff0d8c 0030: 8e a3 40 0e eb 6f 5a 4e 2b 72 c5 d8 0e 6a df 20 ..@..oZN+r...j.
- mg_ssl_mbed_log 0x3fff0d8c 0040: 18 2e b9 eb cf 66 71 .....fq
- mg_ssl_mbed_log 0x3fff0d8c dumping 'parameters hash' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 9f a0 68 8a 28 ad 7a 5f 9b c2 ae 92 e9 a0 d9 07 ..h.(.z_........
- mg_ssl_mbed_log 0x3fff0d8c 0010: 0e 58 11 3b ce 52 a2 aa c1 8e 91 cd f4 03 64 8d .X.;.R........d.
- ATCA ECDSA verify ok, verified
- mg_ssl_mbed_log 0x3fff0d8c <= parse server key exchange
- mg_ssl_mbed_log 0x3fff0d8c client state: 5
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse certificate request
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c handshake message: msglen = 42, type = 13, hslen = 38
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c got a certificate request
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 6,3
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 6,1
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 5,3
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 5,1
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 4,3
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 4,1
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 4,2
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 3,3
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 3,1
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 3,2
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 2,3
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 2,1
- mg_ssl_mbed_log 0x3fff0d8c Supported Signature Algorithm found: 2,2
- mg_ssl_mbed_log 0x3fff0d8c <= parse certificate request
- mg_ssl_mbed_log 0x3fff0d8c client state: 6
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse server hello done
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c handshake message: msglen = 4, type = 14, hslen = 4
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c <= parse server hello done
- mg_ssl_mbed_log 0x3fff0d8c client state: 7
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => write certificate
- mg_ssl_mbed_log 0x3fff0d8c own certificate #1:
- mg_ssl_mbed_log 0x3fff0d8c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d8c serial number : 2E:9D:68:0A:4A:00:17:DD:AA:8B:9C:A1:61:07:2D:4F:8D:15:AA:88
- mg_ssl_mbed_log 0x3fff0d8c issuer name : OU=Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
- mg_ssl_mbed_log 0x3fff0d8c subject name : CN=esp8266_D4C621
- mg_ssl_mbed_log 0x3fff0d8c issued on : 2017-05-10 11:51:00
- mg_ssl_mbed_log 0x3fff0d8c expires on : 2049-12-31 23:59:59
- mg_ssl_mbed_log 0x3fff0d8c signed using : RSA with SHA-256
- mg_ssl_mbed_log 0x3fff0d8c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d8c basic constraints : CA=false
- mg_ssl_mbed_log 0x3fff0d8c key usage : Digital Signature
- mg_ssl_mbed_log 0x3fff0d8c value of 'crt->eckey.Q(X)' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 0c 76 be e4 90 4b 59 72 36 07 3f f8 cb 94 ab a4
- mg_ssl_mbed_log 0x3fff0d8c 92 b4 74 79 41 60 df ad 98 ab b5 d1 cd ae f1 d6
- mg_ssl_mbed_log 0x3fff0d8c value of 'crt->eckey.Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c c1 38 d1 ef 0e f5 f5 8c 76 f7 50 f4 56 3a 52 ef
- mg_ssl_mbed_log 0x3fff0d8c 2d fc 12 16 84 3a 56 dc e1 03 fc 98 df 97 79 b7
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 13 => 676
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 22, version = [3:3], msglen = 663
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 668, out_left: 668
- ssl_socket_send 0x3fff0d8c 668 -> 668
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 668 (-0xfffffd64)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 676 => 13
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write certificate
- mg_ssl_mbed_log 0x3fff0d8c client state: 8
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => write client key exchange
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 13 => 617
- ATCA:2 ECDH get pubkey ok
- mg_ssl_mbed_log 0x3fff0d8c value of 'ECDH: Q(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 75 7e fd f9 6f 60 bf 05 12 d3 71 2c d9 87 7b f5
- mg_ssl_mbed_log 0x3fff0d8c 15 65 3d 8a 1b 40 00 4d e4 db cc 9e b2 02 e9 22
- mg_ssl_mbed_log 0x3fff0d8c value of 'ECDH: Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c f0 c3 71 20 d8 9d 8c 21 90 e8 a5 d0 5c cf 8d 74
- mg_ssl_mbed_log 0x3fff0d8c f5 ab 73 0f 48 38 05 3b 2d d7 a9 09 3b 11 61 d7
- ATCA:2 ECDH ok
- mg_ssl_mbed_log 0x3fff0d8c value of 'ECDH: z' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d8c 0e 60 20 44 48 59 22 25 f8 c2 7e 64 31 e9 a3 22
- mg_ssl_mbed_log 0x3fff0d8c d8 36 2c a4 bd 23 e8 4c 47 93 1b bc 0b e7 de 56
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 617 => 83
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 22, version = [3:3], msglen = 70
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 75, out_left: 75
- ssl_socket_send 0x3fff0d8c 75 -> 75
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 75 (-0xffffffb5)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 83 => 13
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write client key exchange
- mg_ssl_mbed_log 0x3fff0d8c client state: 9
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => write certificate verify
- mg_ssl_mbed_log 0x3fff0d8c => derive keys
- mg_ssl_mbed_log 0x3fff0d8c dumping 'premaster secret' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 0e 60 20 44 48 59 22 25 f8 c2 7e 64 31 e9 a3 22 .` DHY"%..~d1.."
- mg_ssl_mbed_log 0x3fff0d8c 0010: d8 36 2c a4 bd 23 e8 4c 47 93 1b bc 0b e7 de 56 .6,..#.LG......V
- mg_ssl_mbed_log 0x3fff0d8c ciphersuite = TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
- mg_ssl_mbed_log 0x3fff0d8c dumping 'master secret' (48 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 78 48 68 54 a4 2e af d8 80 b4 fb 46 28 27 14 48 xHhT.......F('.H
- mg_ssl_mbed_log 0x3fff0d8c 0010: c9 71 f4 e1 06 9c 61 07 a0 c9 ac 75 80 36 1f 34 .q....a....u.6.4
- mg_ssl_mbed_log 0x3fff0d8c 0020: 2a 26 98 60 c7 22 f9 94 cf 74 91 d7 9d 19 b3 0b *&.`."...t......
- mg_ssl_mbed_log 0x3fff0d8c keylen: 16, minlen: 24, ivlen: 12, maclen: 0
- mg_ssl_mbed_log 0x3fff0d8c <= derive keys
- mg_ssl_mbed_log 0x3fff0d8c => calc verify sha256
- mg_ssl_mbed_log 0x3fff0d8c dumping 'calculated verify result' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: b2 27 04 d7 89 02 69 11 e5 d2 a2 61 26 f7 7a 78 .'....i....a&.zx
- mg_ssl_mbed_log 0x3fff0d8c 0010: 8d db 4e 62 d7 de 6f ec bf ab 58 05 a2 bc 61 b6 ..Nb..o...X...a.
- mg_ssl_mbed_log 0x3fff0d8c <= calc verify
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 13 => 21
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 21 => 621
- ATCA:0 ECDSA sign ok
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 22, version = [3:3], msglen = 80
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 85, out_left: 85
- ssl_socket_send 0x3fff0d8c 85 -> 85
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 85 (-0xffffffab)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 621 => 13
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write certificate verify
- mg_ssl_mbed_log 0x3fff0d8c client state: 10
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => write change cipher spec
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 13 => 14
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 20, version = [3:3], msglen = 1
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 6, out_left: 6
- ssl_socket_send 0x3fff0d8c 6 -> 6
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 6 (-0xfffffffa)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 14 => 13
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write change cipher spec
- mg_ssl_mbed_log 0x3fff0d8c client state: 11
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => write finished
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 13 => 37
- mg_ssl_mbed_log 0x3fff0d8c => calc finished tls sha256
- mg_ssl_mbed_log 0x3fff0d8c dumping 'calc finished result' (12 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 54 5e 36 21 c8 41 b8 b5 a8 ff 4d 6c T^6!.A....Ml
- mg_ssl_mbed_log 0x3fff0d8c <= calc finished
- mg_ssl_mbed_log 0x3fff0d8c switching to new transform spec for outbound data
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 37 => 61
- mg_ssl_mbed_log 0x3fff0d8c before encrypt: msglen = 24, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d8c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 22, version = [3:3], msglen = 40
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 45, out_left: 45
- ssl_socket_send 0x3fff0d8c 45 -> 45
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 45 (-0xffffffd3)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 61 => 21
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write finished
- mg_ssl_mbed_log 0x3fff0d8c client state: 12
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 2604
- mg_ssl_mbed_log 0x3fff0d8c shrink in_buf 2604 => 13
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c <= handshake
- mongoose_poll New heap free LWM: 28128
- mg_ssl_mbed_log 0x3fff0d8c => handshake
- mg_ssl_mbed_log 0x3fff0d8c client state: 12
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d8c <- 5
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c input record: msgtype = 20, version = [3:3], msglen = 1
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 6, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c grow in_buf 13 => 14
- ssl_socket_recv 0x3fff0d8c <- 1
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 6, in_buf_size: 14
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c switching to new transform spec for inbound data
- mg_ssl_mbed_log 0x3fff0d8c <= parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d8c client state: 13
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => parse finished
- mg_ssl_mbed_log 0x3fff0d8c => calc finished tls sha256
- mg_ssl_mbed_log 0x3fff0d8c dumping 'calc finished result' (12 bytes)
- mg_ssl_mbed_log 0x3fff0d8c 0000: 5d ce a6 19 d5 44 80 a7 26 f1 70 46 ]....D..&.pF
- mg_ssl_mbed_log 0x3fff0d8c <= calc finished
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 14
- mg_ssl_mbed_log 0x3fff0d8c shrink in_buf 14 => 13
- ssl_socket_recv 0x3fff0d8c <- 5
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c input record: msgtype = 22, version = [3:3], msglen = 40
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 45, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c grow in_buf 13 => 53
- ssl_socket_recv 0x3fff0d8c <- 40
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 45, in_buf_size: 53
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 40 (-0xffffffd8)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d8c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d8c handshake message: msglen = 16, type = 20, hslen = 16
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c <= parse finished
- mg_ssl_mbed_log 0x3fff0d8c client state: 14
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c handshake: done
- mg_ssl_mbed_log 0x3fff0d8c client state: 15
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c => handshake wrapup
- mg_ssl_mbed_log 0x3fff0d8c => handshake wrapup: final free
- mg_ssl_mbed_log 0x3fff0d8c <= handshake wrapup: final free
- mg_ssl_mbed_log 0x3fff0d8c <= handshake wrapup
- mg_ssl_mbed_log 0x3fff0d8c <= handshake
- mgos_mqtt_ev MQTT Connect (1)
- mg_ssl_mbed_log 0x3fff0d8c => write
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 21 => 47
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 47 => 71
- mg_ssl_mbed_log 0x3fff0d8c before encrypt: msglen = 34, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d8c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 23, version = [3:3], msglen = 50
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 55, out_left: 55
- ssl_socket_send 0x3fff0d8c 55 -> 55
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 55 (-0xffffffc9)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 71 => 21
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write
- mg_ssl_mbed_log 0x3fff0d8c => read
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 53
- mg_ssl_mbed_log 0x3fff0d8c shrink in_buf 53 => 13
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c => read
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d8c <- 5
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c input record: msgtype = 23, version = [3:3], msglen = 28
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 33, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c grow in_buf 13 => 41
- ssl_socket_recv 0x3fff0d8c <- 28
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 33, in_buf_size: 41
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 28 (-0xffffffe4)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d8c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d8c <= read record
- mg_ssl_mbed_log 0x3fff0d8c <= read
- mgos_mqtt_ev MQTT event: 202
- mgos_mqtt_ev MQTT CONNACK 0
- ev_handler CONNACK: 0
- sub Subscribed to /request
- sub Subscribed to /request/1AFE34D4C621
- mgos_mqtt_pub Publishing to register_device @ 0 (43): [{"chipid":"1AFE34D4C621","dev_type":"WIFI"}]
- mgos_mqtt_ev Subscribing to '1AFE34D4C621/rpc'
- mgos_mqtt_ev Subscribing to '1AFE34D4C621/rpc/#'
- mg_ssl_mbed_log 0x3fff0d8c => read
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 41
- mg_ssl_mbed_log 0x3fff0d8c shrink in_buf 41 => 13
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c => write
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 21 => 174
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 174 => 198
- mg_ssl_mbed_log 0x3fff0d8c before encrypt: msglen = 161, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d8c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 23, version = [3:3], msglen = 177
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 182, out_left: 182
- ssl_socket_send 0x3fff0d8c 182 -> 182
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 182 (-0xffffff4a)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 198 => 21
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= write
- pm open,type:2 0
- mg_ssl_mbed_log 0x3fff0d8c => read
- mg_ssl_mbed_log 0x3fff0d8c => read record
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d8c <- 5
- mg_ssl_mbed_log 0x3fff0d8c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c input record: msgtype = 21, version = [3:3], msglen = 26
- mg_ssl_mbed_log 0x3fff0d8c => fetch input
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 31, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d8c grow in_buf 13 => 39
- ssl_socket_recv 0x3fff0d8c <- 26
- mg_ssl_mbed_log 0x3fff0d8c in_left: 5, nb_want: 31, in_buf_size: 39
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_recv(_timeout)() returned 26 (-0xffffffe6)
- mg_ssl_mbed_log 0x3fff0d8c <= fetch input
- mg_ssl_mbed_log 0x3fff0d8c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d8c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d8c got an alert message, type: [1:0]
- mg_ssl_mbed_log 0x3fff0d8c is a close notify message
- mg_ssl_mbed_log 0x3fff0d8c mbedtls_ssl_handle_message_type() returned -30848 (-0x7880)
- mg_ssl_mbed_log 0x3fff0d8c mbedtls_ssl_read_record() returned -30848 (-0x7880)
- mg_ssl_mbed_log 0x3fff0d8c => write close notify
- mg_ssl_mbed_log 0x3fff0d8c => send alert message
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 21 => 23
- mg_ssl_mbed_log 0x3fff0d8c => write record
- mg_ssl_mbed_log 0x3fff0d8c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c grow out_buf 23 => 47
- mg_ssl_mbed_log 0x3fff0d8c before encrypt: msglen = 10, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d8c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d8c output record: msgtype = 21, version = [3:3], msglen = 26
- mg_ssl_mbed_log 0x3fff0d8c => flush output
- mg_ssl_mbed_log 0x3fff0d8c message length: 31, out_left: 31
- ssl_socket_send 0x3fff0d8c 31 -> 31
- mg_ssl_mbed_log 0x3fff0d8c ssl->f_send() returned 31 (-0xffffffe1)
- mg_ssl_mbed_log 0x3fff0d8c shrink out_buf 47 => 21
- mg_ssl_mbed_log 0x3fff0d8c <= flush output
- mg_ssl_mbed_log 0x3fff0d8c <= write record
- mg_ssl_mbed_log 0x3fff0d8c <= send alert message
- mg_ssl_mbed_log 0x3fff0d8c <= write close notify
- mgos_mqtt_ev MQTT Disconnect
- mqtt_global_reconnec MQTT connecting after 1987 ms
- mg_ssl_mbed_log 0x3fff0d8c => free
- mg_ssl_mbed_log 0x3fff0d8c <= free
- mqtt_global_connect MQTT connecting to a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com:8883
- set_spiffs_errno aws-iot-c74e641add.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- set_spiffs_errno ca-verisign-ecc-g2.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- mg_resolve_async_eh Failed to resolve 'a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com', server 192.168.1.1
- mgos_mqtt_ev MQTT Connect (0)
- mgos_mqtt_ev MQTT Disconnect
- mqtt_global_reconnec MQTT connecting after 3920 ms
- mg_ssl_mbed_log 0x3fff0d2c => free
- mg_ssl_mbed_log 0x3fff0d2c <= free
- mqtt_global_connect MQTT connecting to a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com:8883
- set_spiffs_errno aws-iot-c74e641add.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- set_spiffs_errno ca-verisign-ecc-g2.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 0
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c client state: 1
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write client hello
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 0 => 145
- mg_ssl_mbed_log 0x3fff0d2c client hello, max version: [3:3]
- mg_ssl_mbed_log 0x3fff0d2c dumping 'client hello, random bytes' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 16 2a ba 89 99 6a 35 ff b2 11 29 51 93 5a 45 87 .*...j5...)Q.ZE.
- mg_ssl_mbed_log 0x3fff0d2c 0010: 17 bf fe 5e 5e 21 17 2a 2c 79 20 0d c4 5a 6b e3 ...^^!.*,y ..Zk.
- mg_ssl_mbed_log 0x3fff0d2c client hello, session id len.: 0
- mg_ssl_mbed_log 0x3fff0d2c dumping 'client hello, session id' (0 bytes)
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c02b
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c02f
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 009e
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 0067
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c02d
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c025
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c004
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c031
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c029
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c00e
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 009c
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 003c
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 002f
- mg_ssl_mbed_log 0x3fff0d2c client hello, got 14 ciphersuites
- mg_ssl_mbed_log 0x3fff0d2c client hello, compress len.: 1
- mg_ssl_mbed_log 0x3fff0d2c client hello, compress alg.: 0
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding server name extension: a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding signature_algorithms extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 145 => 155
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding supported_elliptic_curves extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 155 => 163
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding supported_point_formats extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 163 => 169
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding encrypt_then_mac extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 169 => 173
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding extended_master_secret extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 173 => 177
- mg_ssl_mbed_log 0x3fff0d2c client hello, total extension length: 91
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 164
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 169, out_left: 169
- ssl_socket_send 0x3fff0d2c 169 -> 169
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 169 (-0xffffff57)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 177 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write client hello
- mg_ssl_mbed_log 0x3fff0d2c client state: 2
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 0
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 0 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 2
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 22, version = [3:3], msglen = 2590
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 2595, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 2603
- ssl_socket_recv 0x3fff0d2c <- 1455
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 2595, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 1455 (-0xfffffa51)
- ssl_socket_recv 0x3fff0d2c <- 1135
- mg_ssl_mbed_log 0x3fff0d2c in_left: 1460, nb_want: 2595, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 1135 (-0xfffffb91)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 2590, type = 2, hslen = 81
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server hello, version' (2 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 03 03 ..
- mg_ssl_mbed_log 0x3fff0d2c server hello, current time: 1494487507
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server hello, random bytes' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 59 14 11 d3 64 c7 22 e3 3a 81 19 e5 35 67 53 33 Y...d.".:...5gS3
- mg_ssl_mbed_log 0x3fff0d2c 0010: 6c b7 c1 55 44 4c 50 16 5e 4f 25 45 59 cc 4e 3f l..UDLP.^O%EY.N?
- mg_ssl_mbed_log 0x3fff0d2c server hello, session id len.: 32
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server hello, session id' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 59 14 11 d3 e4 aa a3 61 81 15 93 84 de a3 d5 06 Y......a........
- mg_ssl_mbed_log 0x3fff0d2c 0010: fb da 39 5b ef fd 8c 6f ed e2 67 68 e3 7a 19 10 ..9[...o..gh.z..
- mg_ssl_mbed_log 0x3fff0d2c no session has been resumed
- mg_ssl_mbed_log 0x3fff0d2c server hello, chosen ciphersuite: c02b
- mg_ssl_mbed_log 0x3fff0d2c server hello, compress alg.: 0
- mg_ssl_mbed_log 0x3fff0d2c server hello, chosen ciphersuite: TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
- mg_ssl_mbed_log 0x3fff0d2c server hello, total extension length: 5
- mg_ssl_mbed_log 0x3fff0d2c found renegotiation extension
- mg_ssl_mbed_log 0x3fff0d2c <= parse server hello
- mg_ssl_mbed_log 0x3fff0d2c client state: 3
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse certificate
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 2509, type = 11, hslen = 2320
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c peer certificate #1:
- mg_ssl_mbed_log 0x3fff0d2c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d2c serial number : 20:88:52:7E:45:DF:8F:76:68:0D:39:EA:E2:26:12:D2
- mg_ssl_mbed_log 0x3fff0d2c issuer name : C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 ECC 256 bit SSL CA - G2
- mg_ssl_mbed_log 0x3fff0d2c subject name : C=US, ST=Washington, L=Seattle, O=Amazon.com, Inc., CN=*.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d2c issued on : 2017-03-07 00:00:00
- mg_ssl_mbed_log 0x3fff0d2c expires on : 2018-03-08 23:59:59
- mg_ssl_mbed_log 0x3fff0d2c signed using : ECDSA with SHA256
- mg_ssl_mbed_log 0x3fff0d2c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d2c basic constraints : CA=false
- mg_ssl_mbed_log 0x3fff0d2c subject alt name : iot.us-west-2.amazonaws.com, *.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d2c key usage : Digital Signature
- mg_ssl_mbed_log 0x3fff0d2c ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 70 14 ad b7 d2 d6 20 cb 27 39 fb 86 1b de 9d d2
- mg_ssl_mbed_log 0x3fff0d2c 50 75 0b 71 35 9e 24 5f aa eb e4 d0 a2 31 90 56
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(Y)' (254 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 34 c5 39 fc 2c 34 9d 25 c7 f7 b3 2f 8e ff 35 b7
- mg_ssl_mbed_log 0x3fff0d2c 7a 4f 48 e2 a7 48 fd 0a 84 81 0f 58 1b f5 0a b2
- mg_ssl_mbed_log 0x3fff0d2c peer certificate #2:
- mg_ssl_mbed_log 0x3fff0d2c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d2c serial number : 3F:92:87:BE:9D:1D:A4:A3:7A:9D:F6:28:2E:77:5A:C4
- mg_ssl_mbed_log 0x3fff0d2c issuer name : C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=(c) 2006 VeriSign, Inc. - For authorized use only, CN=VeriSign Class 3 Public Primary Certification Authority - G5
- mg_ssl_mbed_log 0x3fff0d2c subject name : C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 ECC 256 bit SSL CA - G2
- mg_ssl_mbed_log 0x3fff0d2c issued on : 2015-05-12 00:00:00
- mg_ssl_mbed_log 0x3fff0d2c expires on : 2025-05-11 23:59:59
- mg_ssl_mbed_log 0x3fff0d2c signed using : RSA with SHA-256
- mg_ssl_mbed_log 0x3fff0d2c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d2c basic constraints : CA=true, max_pathlen=0
- mg_ssl_mbed_log 0x3fff0d2c subject alt name :
- mg_ssl_mbed_log 0x3fff0d2c key usage : Key Cert Sign, CRL Sign
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(X)' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 0f 1b a4 91 d7 e7 ac e7 d1 4e 4e b7 64 5b e1 8f
- mg_ssl_mbed_log 0x3fff0d2c 7f 6e 04 d3 ab 38 db 44 b7 40 5c 6d bd 96 96 37
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c df 79 89 86 67 f7 b1 1f 08 9e fd 63 3b 46 8c 9f
- mg_ssl_mbed_log 0x3fff0d2c bd 53 e8 15 dc 97 3e 2b 81 46 ad 86 7f 0e 01 39
- ATCA ECDSA verify ok, verified
- mg_ssl_mbed_log 0x3fff0d2c <= parse certificate
- mg_ssl_mbed_log 0x3fff0d2c client state: 4
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server key exchange
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 189, type = 12, hslen = 147
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server key exchange' (143 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 03 00 17 41 04 fd dc 13 43 5a ee 41 c4 1a 4b 5e ...A....CZ.A..K^
- mg_ssl_mbed_log 0x3fff0d2c 0010: 44 25 36 dd ff 36 30 9f d2 5c fd 7a 60 65 0b d3 D%6..60..\.z`e..
- mg_ssl_mbed_log 0x3fff0d2c 0020: 2c 12 b6 78 7b ae 96 77 ea a8 b6 19 9d 6d 2b 64 ,..x{..w.....m+d
- mg_ssl_mbed_log 0x3fff0d2c 0030: 2e 66 3b 2e 17 15 2f fc 24 55 60 d9 4f 06 7b 01 .f;.../.$U`.O.{.
- mg_ssl_mbed_log 0x3fff0d2c 0040: 18 bc 41 45 31 04 03 00 46 30 44 02 20 12 31 e3 ..AE1...F0D. .1.
- mg_ssl_mbed_log 0x3fff0d2c 0050: ec 5d 10 ad 4c 4f 25 d9 74 28 2a b9 e1 6f 27 95 .]..LO%.t(*..o'.
- mg_ssl_mbed_log 0x3fff0d2c 0060: 9c 8f 53 45 0f 21 e3 2d ba ee 30 84 0f 02 20 5e ..SE.!.-..0... ^
- mg_ssl_mbed_log 0x3fff0d2c 0070: 1e a9 19 ef ae cc bf 3e de 51 0f 2f d7 73 44 3d .......>.Q./.sD=
- mg_ssl_mbed_log 0x3fff0d2c 0080: 16 fd df 27 4c 31 e7 55 88 5e 66 14 b8 fe 25 ...'L1.U.^f...%
- mg_ssl_mbed_log 0x3fff0d2c ECDH curve: secp256r1
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Qp(X)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c fd dc 13 43 5a ee 41 c4 1a 4b 5e 44 25 36 dd ff
- mg_ssl_mbed_log 0x3fff0d2c 36 30 9f d2 5c fd 7a 60 65 0b d3 2c 12 b6 78 7b
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Qp(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c ae 96 77 ea a8 b6 19 9d 6d 2b 64 2e 66 3b 2e 17
- mg_ssl_mbed_log 0x3fff0d2c 15 2f fc 24 55 60 d9 4f 06 7b 01 18 bc 41 45 31
- mg_ssl_mbed_log 0x3fff0d2c Server used SignatureAlgorithm 3
- mg_ssl_mbed_log 0x3fff0d2c Server used HashAlgorithm 4
- mg_ssl_mbed_log 0x3fff0d2c dumping 'signature' (70 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 30 44 02 20 12 31 e3 ec 5d 10 ad 4c 4f 25 d9 74 0D. .1..]..LO%.t
- mg_ssl_mbed_log 0x3fff0d2c 0010: 28 2a b9 e1 6f 27 95 9c 8f 53 45 0f 21 e3 2d ba (*..o'...SE.!.-.
- mg_ssl_mbed_log 0x3fff0d2c 0020: ee 30 84 0f 02 20 5e 1e a9 19 ef ae cc bf 3e de .0... ^.......>.
- mg_ssl_mbed_log 0x3fff0d2c 0030: 51 0f 2f d7 73 44 3d 16 fd df 27 4c 31 e7 55 88 Q./.sD=...'L1.U.
- mg_ssl_mbed_log 0x3fff0d2c 0040: 5e 66 14 b8 fe 25 ^f...%
- mg_ssl_mbed_log 0x3fff0d2c dumping 'parameters hash' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: cf a7 f0 c1 d7 cf 45 f3 7e 03 39 be 74 7f 3a b8 ......E.~.9.t.:.
- mg_ssl_mbed_log 0x3fff0d2c 0010: db e2 4e c0 d5 c3 0d 09 39 b5 1c bb a8 6a de ab ..N.....9....j..
- ATCA ECDSA verify ok, verified
- mg_ssl_mbed_log 0x3fff0d2c <= parse server key exchange
- mg_ssl_mbed_log 0x3fff0d2c client state: 5
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse certificate request
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 42, type = 13, hslen = 38
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c got a certificate request
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 6,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 6,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 5,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 5,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 4,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 4,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 4,2
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 3,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 3,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 3,2
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 2,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 2,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 2,2
- mg_ssl_mbed_log 0x3fff0d2c <= parse certificate request
- mg_ssl_mbed_log 0x3fff0d2c client state: 6
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello done
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 4, type = 14, hslen = 4
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c <= parse server hello done
- mg_ssl_mbed_log 0x3fff0d2c client state: 7
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write certificate
- mg_ssl_mbed_log 0x3fff0d2c own certificate #1:
- mg_ssl_mbed_log 0x3fff0d2c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d2c serial number : 2E:9D:68:0A:4A:00:17:DD:AA:8B:9C:A1:61:07:2D:4F:8D:15:AA:88
- mg_ssl_mbed_log 0x3fff0d2c issuer name : OU=Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
- mg_ssl_mbed_log 0x3fff0d2c subject name : CN=esp8266_D4C621
- mg_ssl_mbed_log 0x3fff0d2c issued on : 2017-05-10 11:51:00
- mg_ssl_mbed_log 0x3fff0d2c expires on : 2049-12-31 23:59:59
- mg_ssl_mbed_log 0x3fff0d2c signed using : RSA with SHA-256
- mg_ssl_mbed_log 0x3fff0d2c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d2c basic constraints : CA=false
- mg_ssl_mbed_log 0x3fff0d2c key usage : Digital Signature
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(X)' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 0c 76 be e4 90 4b 59 72 36 07 3f f8 cb 94 ab a4
- mg_ssl_mbed_log 0x3fff0d2c 92 b4 74 79 41 60 df ad 98 ab b5 d1 cd ae f1 d6
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c c1 38 d1 ef 0e f5 f5 8c 76 f7 50 f4 56 3a 52 ef
- mg_ssl_mbed_log 0x3fff0d2c 2d fc 12 16 84 3a 56 dc e1 03 fc 98 df 97 79 b7
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 676
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 663
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 668, out_left: 668
- ssl_socket_send 0x3fff0d2c 668 -> 668
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 668 (-0xfffffd64)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 676 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write certificate
- mg_ssl_mbed_log 0x3fff0d2c client state: 8
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write client key exchange
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 617
- ATCA:2 ECDH get pubkey ok
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Q(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 75 7e fd f9 6f 60 bf 05 12 d3 71 2c d9 87 7b f5
- mg_ssl_mbed_log 0x3fff0d2c 15 65 3d 8a 1b 40 00 4d e4 db cc 9e b2 02 e9 22
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c f0 c3 71 20 d8 9d 8c 21 90 e8 a5 d0 5c cf 8d 74
- mg_ssl_mbed_log 0x3fff0d2c f5 ab 73 0f 48 38 05 3b 2d d7 a9 09 3b 11 61 d7
- ATCA:2 ECDH ok
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: z' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 0b d7 d9 52 03 85 e7 77 f1 61 fe 03 22 9d b4 83
- mg_ssl_mbed_log 0x3fff0d2c cf a5 6a f2 6a 9e 73 d1 29 b0 81 2a 1c 1b f8 dc
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 617 => 83
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 70
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 75, out_left: 75
- ssl_socket_send 0x3fff0d2c 75 -> 75
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 75 (-0xffffffb5)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 83 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write client key exchange
- mg_ssl_mbed_log 0x3fff0d2c client state: 9
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write certificate verify
- mg_ssl_mbed_log 0x3fff0d2c => derive keys
- mg_ssl_mbed_log 0x3fff0d2c dumping 'premaster secret' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 0b d7 d9 52 03 85 e7 77 f1 61 fe 03 22 9d b4 83 ...R...w.a.."...
- mg_ssl_mbed_log 0x3fff0d2c 0010: cf a5 6a f2 6a 9e 73 d1 29 b0 81 2a 1c 1b f8 dc ..j.j.s.)..*....
- mg_ssl_mbed_log 0x3fff0d2c ciphersuite = TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'master secret' (48 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: e0 99 24 14 7f 36 61 ef 33 59 6a 61 18 22 d9 2d ..$..6a.3Yja.".-
- mg_ssl_mbed_log 0x3fff0d2c 0010: eb 59 36 7c ca 11 e7 a9 ab a0 14 31 75 fb d2 85 .Y6|.......1u...
- mg_ssl_mbed_log 0x3fff0d2c 0020: 3e 8f 44 d6 bf f2 b3 4e e8 33 6f a1 f1 1d 5c 56 >.D....N.3o...\V
- mg_ssl_mbed_log 0x3fff0d2c keylen: 16, minlen: 24, ivlen: 12, maclen: 0
- mg_ssl_mbed_log 0x3fff0d2c <= derive keys
- mg_ssl_mbed_log 0x3fff0d2c => calc verify sha256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'calculated verify result' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: af ea 9e 04 0a 5c 60 01 4d f8 d0 4b ab 3d 1b cf .....\`.M..K.=..
- mg_ssl_mbed_log 0x3fff0d2c 0010: fa f9 4d 82 9b 5b 04 e4 ec 05 09 dc 1e 6d 19 b3 ..M..[.......m..
- mg_ssl_mbed_log 0x3fff0d2c <= calc verify
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 21
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 621
- ATCA:0 ECDSA sign ok
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 78
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 83, out_left: 83
- ssl_socket_send 0x3fff0d2c 83 -> 83
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 83 (-0xffffffad)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 621 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write certificate verify
- mg_ssl_mbed_log 0x3fff0d2c client state: 10
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 14
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 20, version = [3:3], msglen = 1
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 6, out_left: 6
- ssl_socket_send 0x3fff0d2c 6 -> 6
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 6 (-0xfffffffa)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 14 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c client state: 11
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write finished
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 37
- mg_ssl_mbed_log 0x3fff0d2c => calc finished tls sha256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'calc finished result' (12 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 4b ae 58 2e cf 1f 56 b3 e2 d3 89 73 K.X...V....s
- mg_ssl_mbed_log 0x3fff0d2c <= calc finished
- mg_ssl_mbed_log 0x3fff0d2c switching to new transform spec for outbound data
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 37 => 61
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 24, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 40
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 45, out_left: 45
- ssl_socket_send 0x3fff0d2c 45 -> 45
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 45 (-0xffffffd3)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 61 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write finished
- mg_ssl_mbed_log 0x3fff0d2c client state: 12
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 2603 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mongoose_poll New heap free LWM: 27128
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 12
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 20, version = [3:3], msglen = 1
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 6, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 14
- ssl_socket_recv 0x3fff0d2c <- 1
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 6, in_buf_size: 14
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c switching to new transform spec for inbound data
- mg_ssl_mbed_log 0x3fff0d2c <= parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c client state: 13
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse finished
- mg_ssl_mbed_log 0x3fff0d2c => calc finished tls sha256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'calc finished result' (12 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 78 63 74 20 f8 28 7a ba 23 ce ea fa xct .(z.#...
- mg_ssl_mbed_log 0x3fff0d2c <= calc finished
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 14
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 14 => 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 22, version = [3:3], msglen = 40
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 45, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 53
- ssl_socket_recv 0x3fff0d2c <- 40
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 45, in_buf_size: 53
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 40 (-0xffffffd8)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 16, type = 20, hslen = 16
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c <= parse finished
- mg_ssl_mbed_log 0x3fff0d2c client state: 14
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c handshake: done
- mg_ssl_mbed_log 0x3fff0d2c client state: 15
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => handshake wrapup
- mg_ssl_mbed_log 0x3fff0d2c => handshake wrapup: final free
- mg_ssl_mbed_log 0x3fff0d2c <= handshake wrapup: final free
- mg_ssl_mbed_log 0x3fff0d2c <= handshake wrapup
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mgos_mqtt_ev MQTT Connect (1)
- mg_ssl_mbed_log 0x3fff0d2c => write
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 47
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 47 => 71
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 34, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 23, version = [3:3], msglen = 50
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 55, out_left: 55
- ssl_socket_send 0x3fff0d2c 55 -> 55
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 55 (-0xffffffc9)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 71 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 53
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 53 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 23, version = [3:3], msglen = 28
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 33, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 41
- ssl_socket_recv 0x3fff0d2c <- 28
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 33, in_buf_size: 41
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 28 (-0xffffffe4)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c <= read
- mgos_mqtt_ev MQTT event: 202
- mgos_mqtt_ev MQTT CONNACK 0
- ev_handler CONNACK: 0
- sub Subscribed to /request
- sub Subscribed to /request/1AFE34D4C621
- mgos_mqtt_pub Publishing to register_device @ 0 (43): [{"chipid":"1AFE34D4C621","dev_type":"WIFI"}]
- mgos_mqtt_ev Subscribing to '1AFE34D4C621/rpc'
- mgos_mqtt_ev Subscribing to '1AFE34D4C621/rpc/#'
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 41
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 41 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c => write
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 174
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 174 => 198
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 161, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 23, version = [3:3], msglen = 177
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 182, out_left: 182
- ssl_socket_send 0x3fff0d2c 182 -> 182
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 182 (-0xffffff4a)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 198 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 21, version = [3:3], msglen = 26
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 31, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 39
- ssl_socket_recv 0x3fff0d2c <- 26
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 31, in_buf_size: 39
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 26 (-0xffffffe6)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c got an alert message, type: [1:0]
- mg_ssl_mbed_log 0x3fff0d2c is a close notify message
- mg_ssl_mbed_log 0x3fff0d2c mbedtls_ssl_handle_message_type() returned -30848 (-0x7880)
- mg_ssl_mbed_log 0x3fff0d2c mbedtls_ssl_read_record() returned -30848 (-0x7880)
- mg_ssl_mbed_log 0x3fff0d2c => write close notify
- mg_ssl_mbed_log 0x3fff0d2c => send alert message
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 23
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 23 => 47
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 10, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 21, version = [3:3], msglen = 26
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 31, out_left: 31
- ssl_socket_send 0x3fff0d2c 31 -> 31
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 31 (-0xffffffe1)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 47 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= send alert message
- mg_ssl_mbed_log 0x3fff0d2c <= write close notify
- mgos_mqtt_ev MQTT Disconnect
- mqtt_global_reconnec MQTT connecting after 1971 ms
- mg_ssl_mbed_log 0x3fff0d2c => free
- mg_ssl_mbed_log 0x3fff0d2c <= free
- mqtt_global_connect MQTT connecting to a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com:8883
- set_spiffs_errno aws-iot-c74e641add.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- set_spiffs_errno ca-verisign-ecc-g2.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 0
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c client state: 1
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write client hello
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 0 => 145
- mg_ssl_mbed_log 0x3fff0d2c client hello, max version: [3:3]
- mg_ssl_mbed_log 0x3fff0d2c dumping 'client hello, random bytes' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: c1 a6 8d 2c 63 ff 4e 77 13 5d 77 bf 6e d9 8f 0b ...,c.Nw.]w.n...
- mg_ssl_mbed_log 0x3fff0d2c 0010: a0 67 2a 5f fe 6f 53 87 5f a1 d4 ad b5 95 48 3d .g*_.oS._.....H=
- mg_ssl_mbed_log 0x3fff0d2c client hello, session id len.: 0
- mg_ssl_mbed_log 0x3fff0d2c dumping 'client hello, session id' (0 bytes)
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c02b
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c02f
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 009e
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 0067
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c02d
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c025
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c004
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c031
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c029
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: c00e
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 009c
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 003c
- mg_ssl_mbed_log 0x3fff0d2c client hello, add ciphersuite: 002f
- mg_ssl_mbed_log 0x3fff0d2c client hello, got 14 ciphersuites
- mg_ssl_mbed_log 0x3fff0d2c client hello, compress len.: 1
- mg_ssl_mbed_log 0x3fff0d2c client hello, compress alg.: 0
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding server name extension: a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding signature_algorithms extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 145 => 155
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding supported_elliptic_curves extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 155 => 163
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding supported_point_formats extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 163 => 169
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding encrypt_then_mac extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 169 => 173
- mg_ssl_mbed_log 0x3fff0d2c client hello, adding extended_master_secret extension
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 173 => 177
- mg_ssl_mbed_log 0x3fff0d2c client hello, total extension length: 91
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 164
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 169, out_left: 169
- ssl_socket_send 0x3fff0d2c 169 -> 169
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 169 (-0xffffff57)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 177 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write client hello
- mg_ssl_mbed_log 0x3fff0d2c client state: 2
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 0
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 0 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 2
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 22, version = [3:3], msglen = 2590
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 2595, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 2603
- ssl_socket_recv 0x3fff0d2c <- 1455
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 2595, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 1455 (-0xfffffa51)
- mg_ssl_mbed_log 0x3fff0d2c in_left: 1460, nb_want: 2595, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 2
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 1460, nb_want: 5, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 22, version = [3:3], msglen = 2590
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 1460, nb_want: 2595, in_buf_size: 2603
- ssl_socket_recv 0x3fff0d2c <- 1135
- mg_ssl_mbed_log 0x3fff0d2c in_left: 1460, nb_want: 2595, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 1135 (-0xfffffb91)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 2590, type = 2, hslen = 81
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server hello, version' (2 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 03 03 ..
- mg_ssl_mbed_log 0x3fff0d2c server hello, current time: 1494487520
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server hello, random bytes' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 59 14 11 e0 6d 80 58 8e 0c 44 a1 14 82 9f e6 f2 Y...m.X..D......
- mg_ssl_mbed_log 0x3fff0d2c 0010: 43 3f fc 97 4e c6 96 c0 11 8f d3 15 e1 2f 37 7c C?..N......../7|
- mg_ssl_mbed_log 0x3fff0d2c server hello, session id len.: 32
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server hello, session id' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 59 14 11 e0 c4 c1 b4 94 ad 1d 51 8f 2e 6d 31 57 Y.........Q..m1W
- mg_ssl_mbed_log 0x3fff0d2c 0010: 57 a1 30 a0 a1 d5 a2 2d fd dd 12 9d 1f bd c4 77 W.0....-.......w
- mg_ssl_mbed_log 0x3fff0d2c no session has been resumed
- mg_ssl_mbed_log 0x3fff0d2c server hello, chosen ciphersuite: c02b
- mg_ssl_mbed_log 0x3fff0d2c server hello, compress alg.: 0
- mg_ssl_mbed_log 0x3fff0d2c server hello, chosen ciphersuite: TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
- mg_ssl_mbed_log 0x3fff0d2c server hello, total extension length: 5
- mg_ssl_mbed_log 0x3fff0d2c found renegotiation extension
- mg_ssl_mbed_log 0x3fff0d2c <= parse server hello
- mg_ssl_mbed_log 0x3fff0d2c client state: 3
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse certificate
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 2509, type = 11, hslen = 2320
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c peer certificate #1:
- mg_ssl_mbed_log 0x3fff0d2c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d2c serial number : 20:88:52:7E:45:DF:8F:76:68:0D:39:EA:E2:26:12:D2
- mg_ssl_mbed_log 0x3fff0d2c issuer name : C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 ECC 256 bit SSL CA - G2
- mg_ssl_mbed_log 0x3fff0d2c subject name : C=US, ST=Washington, L=Seattle, O=Amazon.com, Inc., CN=*.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d2c issued on : 2017-03-07 00:00:00
- mg_ssl_mbed_log 0x3fff0d2c expires on : 2018-03-08 23:59:59
- mg_ssl_mbed_log 0x3fff0d2c signed using : ECDSA with SHA256
- mg_ssl_mbed_log 0x3fff0d2c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d2c basic constraints : CA=false
- mg_ssl_mbed_log 0x3fff0d2c subject alt name : iot.us-west-2.amazonaws.com, *.iot.us-west-2.amazonaws.com
- mg_ssl_mbed_log 0x3fff0d2c key usage : Digital Signature
- mg_ssl_mbed_log 0x3fff0d2c ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 70 14 ad b7 d2 d6 20 cb 27 39 fb 86 1b de 9d d2
- mg_ssl_mbed_log 0x3fff0d2c 50 75 0b 71 35 9e 24 5f aa eb e4 d0 a2 31 90 56
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(Y)' (254 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 34 c5 39 fc 2c 34 9d 25 c7 f7 b3 2f 8e ff 35 b7
- mg_ssl_mbed_log 0x3fff0d2c 7a 4f 48 e2 a7 48 fd 0a 84 81 0f 58 1b f5 0a b2
- mg_ssl_mbed_log 0x3fff0d2c peer certificate #2:
- mg_ssl_mbed_log 0x3fff0d2c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d2c serial number : 3F:92:87:BE:9D:1D:A4:A3:7A:9D:F6:28:2E:77:5A:C4
- mg_ssl_mbed_log 0x3fff0d2c issuer name : C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=(c) 2006 VeriSign, Inc. - For authorized use only, CN=VeriSign Class 3 Public Primary Certification Authority - G5
- mg_ssl_mbed_log 0x3fff0d2c subject name : C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 ECC 256 bit SSL CA - G2
- mg_ssl_mbed_log 0x3fff0d2c issued on : 2015-05-12 00:00:00
- mg_ssl_mbed_log 0x3fff0d2c expires on : 2025-05-11 23:59:59
- mg_ssl_mbed_log 0x3fff0d2c signed using : RSA with SHA-256
- mg_ssl_mbed_log 0x3fff0d2c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d2c basic constraints : CA=true, max_pathlen=0
- mg_ssl_mbed_log 0x3fff0d2c subject alt name :
- mg_ssl_mbed_log 0x3fff0d2c key usage : Key Cert Sign, CRL Sign
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(X)' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 0f 1b a4 91 d7 e7 ac e7 d1 4e 4e b7 64 5b e1 8f
- mg_ssl_mbed_log 0x3fff0d2c 7f 6e 04 d3 ab 38 db 44 b7 40 5c 6d bd 96 96 37
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c df 79 89 86 67 f7 b1 1f 08 9e fd 63 3b 46 8c 9f
- mg_ssl_mbed_log 0x3fff0d2c bd 53 e8 15 dc 97 3e 2b 81 46 ad 86 7f 0e 01 39
- ATCA ECDSA verify ok, verified
- mg_ssl_mbed_log 0x3fff0d2c <= parse certificate
- mg_ssl_mbed_log 0x3fff0d2c client state: 4
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server key exchange
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 189, type = 12, hslen = 147
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c dumping 'server key exchange' (143 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 03 00 17 41 04 5c 2e 64 98 18 4c eb 7a 46 cf 7b ...A.\.d..L.zF.{
- mg_ssl_mbed_log 0x3fff0d2c 0010: 21 c0 cd 7a a7 d5 87 1a 24 42 67 11 30 11 1f 9c !..z....$Bg.0...
- mg_ssl_mbed_log 0x3fff0d2c 0020: 59 08 19 e1 cb 50 12 aa 3b 98 64 5d a0 d3 de 26 Y....P..;.d]...&
- mg_ssl_mbed_log 0x3fff0d2c 0030: 07 ba 24 ed b2 79 a8 a1 a3 9f 2d b5 89 a8 e6 7c ..$..y....-....|
- mg_ssl_mbed_log 0x3fff0d2c 0040: b6 63 1a f8 05 04 03 00 46 30 44 02 20 15 af b8 .c......F0D. ...
- mg_ssl_mbed_log 0x3fff0d2c 0050: 2e f2 49 6b b5 a9 cb 32 d6 24 ed 79 ee 6f 90 1f ..Ik...2.$.y.o..
- mg_ssl_mbed_log 0x3fff0d2c 0060: 85 23 3d a9 fc cb 17 08 9e b3 5d 66 74 02 20 4e .#=.......]ft. N
- mg_ssl_mbed_log 0x3fff0d2c 0070: b3 b9 ec a0 7e 45 f8 4d 3c da a7 90 c7 7f cb 1d ....~E.M<.......
- mg_ssl_mbed_log 0x3fff0d2c 0080: b8 fe 13 93 37 d1 04 5e e2 b9 ab 53 04 1b e4 ....7..^...S...
- mg_ssl_mbed_log 0x3fff0d2c ECDH curve: secp256r1
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Qp(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 5c 2e 64 98 18 4c eb 7a 46 cf 7b 21 c0 cd 7a a7
- mg_ssl_mbed_log 0x3fff0d2c d5 87 1a 24 42 67 11 30 11 1f 9c 59 08 19 e1 cb
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Qp(Y)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 50 12 aa 3b 98 64 5d a0 d3 de 26 07 ba 24 ed b2
- mg_ssl_mbed_log 0x3fff0d2c 79 a8 a1 a3 9f 2d b5 89 a8 e6 7c b6 63 1a f8 05
- mg_ssl_mbed_log 0x3fff0d2c Server used SignatureAlgorithm 3
- mg_ssl_mbed_log 0x3fff0d2c Server used HashAlgorithm 4
- mg_ssl_mbed_log 0x3fff0d2c dumping 'signature' (70 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 30 44 02 20 15 af b8 2e f2 49 6b b5 a9 cb 32 d6 0D. .....Ik...2.
- mg_ssl_mbed_log 0x3fff0d2c 0010: 24 ed 79 ee 6f 90 1f 85 23 3d a9 fc cb 17 08 9e $.y.o...#=......
- mg_ssl_mbed_log 0x3fff0d2c 0020: b3 5d 66 74 02 20 4e b3 b9 ec a0 7e 45 f8 4d 3c .]ft. N....~E.M<
- mg_ssl_mbed_log 0x3fff0d2c 0030: da a7 90 c7 7f cb 1d b8 fe 13 93 37 d1 04 5e e2 ...........7..^.
- mg_ssl_mbed_log 0x3fff0d2c 0040: b9 ab 53 04 1b e4 ..S...
- mg_ssl_mbed_log 0x3fff0d2c dumping 'parameters hash' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: cf ce ad d7 ea 0d e9 a6 21 05 6f 09 76 a1 e1 e6 ........!.o.v...
- mg_ssl_mbed_log 0x3fff0d2c 0010: 83 fa af 2d d4 56 94 91 6f 0d c2 b8 65 3e 56 80 ...-.V..o...e>V.
- ATCA ECDSA verify ok, verified
- mg_ssl_mbed_log 0x3fff0d2c <= parse server key exchange
- mg_ssl_mbed_log 0x3fff0d2c client state: 5
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse certificate request
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 42, type = 13, hslen = 38
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c got a certificate request
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 6,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 6,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 5,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 5,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 4,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 4,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 4,2
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 3,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 3,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 3,2
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 2,3
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 2,1
- mg_ssl_mbed_log 0x3fff0d2c Supported Signature Algorithm found: 2,2
- mg_ssl_mbed_log 0x3fff0d2c <= parse certificate request
- mg_ssl_mbed_log 0x3fff0d2c client state: 6
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse server hello done
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 4, type = 14, hslen = 4
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c <= parse server hello done
- mg_ssl_mbed_log 0x3fff0d2c client state: 7
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write certificate
- mg_ssl_mbed_log 0x3fff0d2c own certificate #1:
- mg_ssl_mbed_log 0x3fff0d2c cert. version : 3
- mg_ssl_mbed_log 0x3fff0d2c serial number : 2E:9D:68:0A:4A:00:17:DD:AA:8B:9C:A1:61:07:2D:4F:8D:15:AA:88
- mg_ssl_mbed_log 0x3fff0d2c issuer name : OU=Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
- mg_ssl_mbed_log 0x3fff0d2c subject name : CN=esp8266_D4C621
- mg_ssl_mbed_log 0x3fff0d2c issued on : 2017-05-10 11:51:00
- mg_ssl_mbed_log 0x3fff0d2c expires on : 2049-12-31 23:59:59
- mg_ssl_mbed_log 0x3fff0d2c signed using : RSA with SHA-256
- mg_ssl_mbed_log 0x3fff0d2c EC key size : 256 bits
- mg_ssl_mbed_log 0x3fff0d2c basic constraints : CA=false
- mg_ssl_mbed_log 0x3fff0d2c key usage : Digital Signature
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(X)' (252 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 0c 76 be e4 90 4b 59 72 36 07 3f f8 cb 94 ab a4
- mg_ssl_mbed_log 0x3fff0d2c 92 b4 74 79 41 60 df ad 98 ab b5 d1 cd ae f1 d6
- mg_ssl_mbed_log 0x3fff0d2c value of 'crt->eckey.Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c c1 38 d1 ef 0e f5 f5 8c 76 f7 50 f4 56 3a 52 ef
- mg_ssl_mbed_log 0x3fff0d2c 2d fc 12 16 84 3a 56 dc e1 03 fc 98 df 97 79 b7
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 676
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 663
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 668, out_left: 668
- ssl_socket_send 0x3fff0d2c 668 -> 668
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 668 (-0xfffffd64)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 676 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write certificate
- mg_ssl_mbed_log 0x3fff0d2c client state: 8
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write client key exchange
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 617
- ATCA:3 ECDH get pubkey ok
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Q(X)' (255 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 6c 06 07 54 0f 95 11 6a 79 87 ff 75 51 08 7a 95
- mg_ssl_mbed_log 0x3fff0d2c 2a 83 05 70 21 33 ed 82 14 22 3f 96 f6 ee ac 65
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: Q(Y)' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c 97 75 dc 90 3f 5e 9a 11 7d 86 b9 a5 ab 22 6f cf
- mg_ssl_mbed_log 0x3fff0d2c e4 b5 13 38 53 fc bf 8e 2d 89 ee b4 a8 62 f8 5a
- ATCA:3 ECDH ok
- mg_ssl_mbed_log 0x3fff0d2c value of 'ECDH: z' (256 bits) is:
- mg_ssl_mbed_log 0x3fff0d2c ab 73 d4 95 00 0f 51 2a 17 98 19 a6 df 43 da a3
- mg_ssl_mbed_log 0x3fff0d2c 13 c1 dc 84 59 f8 9d 9c 71 08 90 26 99 b0 cf 96
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 617 => 83
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 70
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 75, out_left: 75
- ssl_socket_send 0x3fff0d2c 75 -> 75
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 75 (-0xffffffb5)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 83 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write client key exchange
- mg_ssl_mbed_log 0x3fff0d2c client state: 9
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write certificate verify
- mg_ssl_mbed_log 0x3fff0d2c => derive keys
- mg_ssl_mbed_log 0x3fff0d2c dumping 'premaster secret' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: ab 73 d4 95 00 0f 51 2a 17 98 19 a6 df 43 da a3 .s....Q*.....C..
- mg_ssl_mbed_log 0x3fff0d2c 0010: 13 c1 dc 84 59 f8 9d 9c 71 08 90 26 99 b0 cf 96 ....Y...q..&....
- mg_ssl_mbed_log 0x3fff0d2c ciphersuite = TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'master secret' (48 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 24 13 c6 f1 02 1f 2d ca e4 f1 5a f0 e2 b4 c1 7e $.....-...Z....~
- mg_ssl_mbed_log 0x3fff0d2c 0010: 8e 27 b5 8a c0 fa db e7 81 07 ba ac 08 1c dc ad .'..............
- mg_ssl_mbed_log 0x3fff0d2c 0020: 09 ae 09 5a 6b 95 60 b9 17 7f 48 b4 44 c2 5e 37 ...Zk.`...H.D.^7
- mg_ssl_mbed_log 0x3fff0d2c keylen: 16, minlen: 24, ivlen: 12, maclen: 0
- mg_ssl_mbed_log 0x3fff0d2c <= derive keys
- mg_ssl_mbed_log 0x3fff0d2c => calc verify sha256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'calculated verify result' (32 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: e6 7b 09 c0 44 e6 43 b6 af 39 e2 3a 9d 40 b7 c8 .{..D.C..9.:.@..
- mg_ssl_mbed_log 0x3fff0d2c 0010: 33 b7 dd f9 71 cf 3b 96 f6 3c 89 0c b7 a3 f2 72 3...q.;..<.....r
- mg_ssl_mbed_log 0x3fff0d2c <= calc verify
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 21
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 621
- ATCA:0 ECDSA sign ok
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 79
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 84, out_left: 84
- ssl_socket_send 0x3fff0d2c 84 -> 84
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 84 (-0xffffffac)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 621 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write certificate verify
- mg_ssl_mbed_log 0x3fff0d2c client state: 10
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 14
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 20, version = [3:3], msglen = 1
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 6, out_left: 6
- ssl_socket_send 0x3fff0d2c 6 -> 6
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 6 (-0xfffffffa)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 14 => 13
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c client state: 11
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => write finished
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 13 => 37
- mg_ssl_mbed_log 0x3fff0d2c => calc finished tls sha256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'calc finished result' (12 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 9f 4b 94 43 de fe 38 d7 08 8a 66 18 .K.C..8...f.
- mg_ssl_mbed_log 0x3fff0d2c <= calc finished
- mg_ssl_mbed_log 0x3fff0d2c switching to new transform spec for outbound data
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 37 => 61
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 24, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 22, version = [3:3], msglen = 40
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 45, out_left: 45
- ssl_socket_send 0x3fff0d2c 45 -> 45
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 45 (-0xffffffd3)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 61 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write finished
- mg_ssl_mbed_log 0x3fff0d2c client state: 12
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 2603
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 2603 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mg_ssl_mbed_log 0x3fff0d2c => handshake
- mg_ssl_mbed_log 0x3fff0d2c client state: 12
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 20, version = [3:3], msglen = 1
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 6, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 14
- ssl_socket_recv 0x3fff0d2c <- 1
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 6, in_buf_size: 14
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c switching to new transform spec for inbound data
- mg_ssl_mbed_log 0x3fff0d2c <= parse change cipher spec
- mg_ssl_mbed_log 0x3fff0d2c client state: 13
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => parse finished
- mg_ssl_mbed_log 0x3fff0d2c => calc finished tls sha256
- mg_ssl_mbed_log 0x3fff0d2c dumping 'calc finished result' (12 bytes)
- mg_ssl_mbed_log 0x3fff0d2c 0000: 2f 1b 91 eb f2 26 3f d3 73 92 b8 4b /....&?.s..K
- mg_ssl_mbed_log 0x3fff0d2c <= calc finished
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 14
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 14 => 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 22, version = [3:3], msglen = 40
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 45, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 53
- ssl_socket_recv 0x3fff0d2c <- 40
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 45, in_buf_size: 53
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 40 (-0xffffffd8)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c handshake message: msglen = 16, type = 20, hslen = 16
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c <= parse finished
- mg_ssl_mbed_log 0x3fff0d2c client state: 14
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c handshake: done
- mg_ssl_mbed_log 0x3fff0d2c client state: 15
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c => handshake wrapup
- mg_ssl_mbed_log 0x3fff0d2c => handshake wrapup: final free
- mg_ssl_mbed_log 0x3fff0d2c <= handshake wrapup: final free
- mg_ssl_mbed_log 0x3fff0d2c <= handshake wrapup
- mg_ssl_mbed_log 0x3fff0d2c <= handshake
- mgos_mqtt_ev MQTT Connect (1)
- mg_ssl_mbed_log 0x3fff0d2c => write
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 47
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 47 => 71
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 34, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 23, version = [3:3], msglen = 50
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 55, out_left: 55
- ssl_socket_send 0x3fff0d2c 55 -> 55
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 55 (-0xffffffc9)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 71 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 53
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 53 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 23, version = [3:3], msglen = 28
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 33, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 41
- ssl_socket_recv 0x3fff0d2c <- 28
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 33, in_buf_size: 41
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 28 (-0xffffffe4)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= read record
- mg_ssl_mbed_log 0x3fff0d2c <= read
- mgos_mqtt_ev MQTT event: 202
- mgos_mqtt_ev MQTT CONNACK 0
- ev_handler CONNACK: 0
- sub Subscribed to /request
- sub Subscribed to /request/1AFE34D4C621
- mgos_mqtt_pub Publishing to register_device @ 0 (43): [{"chipid":"1AFE34D4C621","dev_type":"WIFI"}]
- mgos_mqtt_ev Subscribing to '1AFE34D4C621/rpc'
- mgos_mqtt_ev Subscribing to '1AFE34D4C621/rpc/#'
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 41
- mg_ssl_mbed_log 0x3fff0d2c shrink in_buf 41 => 13
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c => write
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 174
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 174 => 198
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 161, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 23, version = [3:3], msglen = 177
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 182, out_left: 182
- ssl_socket_send 0x3fff0d2c 182 -> 182
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 182 (-0xffffff4a)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 198 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= write
- mg_ssl_mbed_log 0x3fff0d2c => read
- mg_ssl_mbed_log 0x3fff0d2c => read record
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- ssl_socket_recv 0x3fff0d2c <- 5
- mg_ssl_mbed_log 0x3fff0d2c in_left: 0, nb_want: 5, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c input record: msgtype = 21, version = [3:3], msglen = 26
- mg_ssl_mbed_log 0x3fff0d2c => fetch input
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 31, in_buf_size: 13
- mg_ssl_mbed_log 0x3fff0d2c grow in_buf 13 => 39
- ssl_socket_recv 0x3fff0d2c <- 26
- mg_ssl_mbed_log 0x3fff0d2c in_left: 5, nb_want: 31, in_buf_size: 39
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_recv(_timeout)() returned 26 (-0xffffffe6)
- mg_ssl_mbed_log 0x3fff0d2c <= fetch input
- mg_ssl_mbed_log 0x3fff0d2c => decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c <= decrypt buf
- mg_ssl_mbed_log 0x3fff0d2c got an alert message, type: [1:0]
- mg_ssl_mbed_log 0x3fff0d2c is a close notify message
- mg_ssl_mbed_log 0x3fff0d2c mbedtls_ssl_handle_message_type() returned -30848 (-0x7880)
- mg_ssl_mbed_log 0x3fff0d2c mbedtls_ssl_read_record() returned -30848 (-0x7880)
- mg_ssl_mbed_log 0x3fff0d2c => write close notify
- mg_ssl_mbed_log 0x3fff0d2c => send alert message
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 21 => 23
- mg_ssl_mbed_log 0x3fff0d2c => write record
- mg_ssl_mbed_log 0x3fff0d2c => encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c grow out_buf 23 => 47
- mg_ssl_mbed_log 0x3fff0d2c before encrypt: msglen = 10, including 0 bytes of padding
- mg_ssl_mbed_log 0x3fff0d2c <= encrypt buf
- mg_ssl_mbed_log 0x3fff0d2c output record: msgtype = 21, version = [3:3], msglen = 26
- mg_ssl_mbed_log 0x3fff0d2c => flush output
- mg_ssl_mbed_log 0x3fff0d2c message length: 31, out_left: 31
- ssl_socket_send 0x3fff0d2c 31 -> 31
- mg_ssl_mbed_log 0x3fff0d2c ssl->f_send() returned 31 (-0xffffffe1)
- mg_ssl_mbed_log 0x3fff0d2c shrink out_buf 47 => 21
- mg_ssl_mbed_log 0x3fff0d2c <= flush output
- mg_ssl_mbed_log 0x3fff0d2c <= write record
- mg_ssl_mbed_log 0x3fff0d2c <= send alert message
- mg_ssl_mbed_log 0x3fff0d2c <= write close notify
- mgos_mqtt_ev MQTT Disconnect
- mqtt_global_reconnec MQTT connecting after 2144 ms
- mg_ssl_mbed_log 0x3fff0d2c => free
- mg_ssl_mbed_log 0x3fff0d2c <= free
- mqtt_global_connect MQTT connecting to a2wvu7vrfjdfdx.iot.us-west-2.amazonaws.com:8883
- set_spiffs_errno aws-iot-c74e641add.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 117, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
- set_spiffs_errno ca-verisign-ecc-g2.crt.pem: res = 1, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno fstat: res = 0, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno lseek: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno lseek: res = 0, e = -10002
- set_spiffs_errno read: res = 1024, e = -10002
- set_spiffs_errno read: res = 566, e = -10002
- set_spiffs_errno close: res = 0, e = -10002
Add Comment
Please, Sign In to add comment