Simple Malloc 5120
custom 0x0000
flash init 0
BLSP Boot2 start:Mar 23 2023,10:42:30
Group=1,CPU Count=3
ver:6.5.4
user_fw
Active PT:0,Age 0
read mfg flag addr:00382000
entry ID 0 found
pass param addr 62057c00,len 4
pass param addr 62057c04,len 380
pass param addr 62057d80,len 92
Boot start
Media boot main
R header from 00010000
ps_mode 0,efuse hbn_check_sign 0
group[0] offset 00011000 ,core[0] offset 00002000 bootentry 58000000
group[0],core[1] halt cpu 0
Counter value=13
mtimer clock freq:1000000
blog init set power on level 2, 2, 2.
[IRQ] Clearing and Disable all the pending IRQ...
[ 0][INFO: hal_boot2.c: 285] [HAL] [BOOT2] Active Partition[29] consumed 596 Bytes
[ 0][INFO: hal_boot2.c: 80] ======= PtTable_Config @0x50047430=======
[ 0][INFO: hal_boot2.c: 81] magicCode 0x54504642; version 0x0000; entryCnt 10; age 0; crc32 0xAE4189F8
[ 0][INFO: hal_boot2.c: 87] idx type device activeIndex name Address[0] Address[1] Length[0] Length[1] age
[ 0][INFO: hal_boot2.c: 89] [00] 16 0 0 Boot2 0x00000000 0x00000000 0x0000e000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [01] 00 0 0 FW 0x00010000 0x00240000 0x00230000 0x00140000 0
[ 0][INFO: hal_boot2.c: 89] [02] 10 0 0 mfg 0x00380000 0x00000000 0x000a0000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [03] 02 0 0 D0FW 0x00420000 0x00000000 0x00150000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [04] 03 0 0 LPFW 0x00570000 0x00000000 0x00100000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [05] 02 0 0 media 0x00670000 0x00000000 0x000e0000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [06] 03 0 0 PSM 0x00750000 0x00000000 0x00008000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [07] 04 0 0 kv 0x00758000 0x00000000 0x00002000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [08] 05 0 0 DATA 0x0075a000 0x00000000 0x00005000 0x00000000 0
[ 0][INFO: hal_boot2.c: 89] [09] 08 0 0 factory 0x0075f000 0x00000000 0x00008000 0x00000000 0
[ 0][INFO: bl_flash.c: 176] ======= FlashCfg magiccode @0x22057c18=======
[ 0][INFO: bl_flash.c: 177] mid 0xEF
[ 0][INFO: bl_flash.c: 178] clkDelay 0x1
[ 0][INFO: bl_flash.c: 179] clkInvert 0x3F
[ 0][INFO: bl_flash.c: 180] sector size 4KBytes
[ 0][INFO: bl_flash.c: 181] page size 256Bytes
[ 0][INFO: bl_flash.c: 182] ---------------------------------------------------------------
[ 0][INFO: hal_board.c:1266] [MAIN] [BOARD] [FLASH] addr from partition is 0075f000, ret is 0
[ 0][INFO: hal_board.c:1274] [MAIN] [BOARD] [XIP] addr from partition is 5874e000, ret is 0
hal_board_load_fdt_info
[ 0][INFO: hal_board.c: 246] MAC address mode length 3
[ 0][INFO: hal_board.c: 250] MAC address mode is MBF
[ 0][INFO: hal_board.c: 209] get MAC from M failed
[ 0][INFO: hal_board.c: 132] Read slot:0
[ 0][INFO: hal_board.c: 184] get MAC from B ready
[ 0][INFO: hal_board.c: 225] Set MAC addrress B4:0E:CF:2A:BA:9D
[ 0][INFO: hal_board.c:1008] country_code : 86
[ 0][INFO: hal_board.c: 366] xtal_mode length 2
[ 0][INFO: hal_board.c: 370] xtal_mode is MF
rfparam>>golden rfparam size 72
rfparam>>crc err,read crc ffffffff,calc crc 85131b73
[ 0][INFO: hal_board.c: 334] get xtal from M failed
[ 0][INFO: hal_board.c: 286] xtal dtb in DEC :36 36 0 60 60
[ 0][INFO: hal_board.c: 320] get xtal from F ready
[ 0][INFO: hal_board.c: 353] capcode = 36
[ 0][ERROR: hal_board.c:1042] channel_div_table NULL.
[ 0][ERROR: hal_board.c:1053] channel_cnt_table NULL.
[ 0][ERROR: hal_board.c:1061] lo_fcal_div NULL.
[ 0][INFO: hal_board.c:1073] pwr_table_11b :20 20 20 18
[ 0][INFO: hal_board.c:1089] pwr_table_11g :18 18 18 18 18 18 14 14
[ 0][INFO: hal_board.c:1109] pwr_table_11n :18 18 18 18 18 16 14 14
[ 0][INFO: hal_board.c: 576] pwr_mode length 2
[ 0][INFO: hal_board.c: 580] pwr_mode is bf
rfparam>>golden rfparam size 72
rfparam>>crc err,read crc ffffffff,calc crc 85131b73
[ 0][INFO: hal_board.c: 511] get pwr offset from B(b) failed
[ 0][INFO: hal_board.c: 458] pwr_offset from dtb:
[ 0][BUF: hal_board.c: 459] 10 10 10 10 10 10 10 10 10 10 10 10 10 10
[ 0][INFO: hal_board.c: 464] pwr_offset from dtb (rebase on 16):
[ 0][INFO: hal_board.c: 520] get pwr offset from F(f) ready
[ 0][INFO: hal_board.c: 530] Use pwr offset from f in incremental mode
[ 0][BUF: hal_board.c: 551] 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[ 0][INFO: hal_board.c: 556] rf_pri_input_chip_ver(0)
channel 1, channel_pwr_comp = 0qdb
channel 2, channel_pwr_comp = 0qdb
channel 3, channel_pwr_comp = 0qdb
channel 4, channel_pwr_comp = 0qdb
channel 5, channel_pwr_comp = 0qdb
channel 6, channel_pwr_comp = 0qdb
channel 7, channel_pwr_comp = 0qdb
channel 8, channel_pwr_comp = 0qdb
channel 9, channel_pwr_comp = 0qdb
channel 10, channel_pwr_comp = 0qdb
channel 11, channel_pwr_comp = 0qdb
channel 12, channel_pwr_comp = 0qdb
channel 13, channel_pwr_comp = 0qdb
channel 14, channel_pwr_comp = 0qdb
[ 0][INFO: hal_board.c: 562] applying wifi pwroffset ok
[ 0][INFO: hal_board.c:1139] set pwr_table_ble = 13 in dts
ARK Version: 0.3.0 build 20230825102341
Build Date: Aug 29 2023
Build Time: 16:33:31
[OS] Starting aos_loop_proc task...
[OS] Starting OS Scheduler...
wakeup reason: 0x1a7f1a4f
init property start 0
[MTD] >>>>>> Hanlde info Dump >>>>>>
name PSM
id 0
offset 0x00750000(7667712)
size 0x00008000(32Kbytes)
xip_addr 0x5873f000
[MTD] <<<<<< Hanlde info End <<<<<<
[EF] Found Valid PSM partition, XIP Addr 5873f000, flash addr 00750000, size 32768
ENV AREA SIZE 32768, SECTOR NUM 8
*default_env_size = 0x00000001
ENV start address is 0x00000000, size is 32768 bytes.
EasyFlash V4.0.99 is initialize success.
You can get the latest version on https://github.com/armink/EasyFlash .
[property_init] Got streaming mode (0)
init property end 7
init ring:0,tx:0x00000000,rx:0x22020140
init ring:1,tx:0x00000000,rx:0x00000000
init ring:2,tx:0x22020340,rx:0x22020740
init ring:3,tx:0x22020b40,rx:0x22020f40
init ring:4,tx:0x22021340,rx:0x220213c0
init ring:6,tx:0x00000000,rx:0x00000000
setup c906 on XIP
MM CPU select PLL--->MM CPU select 400Mhz
UART CLK select MM XCLK--->XCLK select XTAL
I2C CLK select MM XCLK--->XCLK select XTAL
SPI CLK select 160Mhz
MM BUS CLK select 160Mhz
XCLK select XTAL
c906_bringup, now: 45ms
[MTD] >>>>>> Hanlde info Dump >>>>>>
name media
id 0
offset 0x00670000(6750208)
size 0x000e0000(896Kbytes)
xip_addr 0x5865f000
[MTD] <<<<<< Hanlde info End <<<<<<
[ 11][BUF: bl_romfs.c: 135] 2d 72 6f 6d 31 66 73 2d 00 05 43 90 2e 62 cf 6e 72 6f 6d 20 36 34 65 64 61 64 36 66 00 00 00 00 00 00 00 49 00 00 00 20 00 00 00 00 d1 ff ff 97 2e 00
[ 12][BUF: bl_romfs.c: 135] 00 00 00 00 00 00 00 00 00 00 00 00 00 00
irq handle: 2 reset ev
irq handle: 3 reset ev
Init CLI with event Driven
ark s3 cli init
start aos loop...
Init pinmux
Stream Mode = 0
[strmctrl_rtsp_start][116]irq handle: 3 reset ev
[PLAYER] [CMD] sample rate CMD 0
samplerate 8K
BitWidth 16
[PLAYER] [CMD] Tx volume CMD 2
[PLAYER] [CMD] Rx volume CMD 25
[ark_aws_conf_get] [5067696] Region is not set, use default
[ark_aws_conf_get] [5067632] IOT Host is not set, use default
[ark_aws_conf_get] [5067552] IOT Endpoint is not set, use default
[ark_aws_conf_get] [5067472] IOT KVS Role Alias is not set, use default
[ark_aws_conf_get] [5067424] IOT S3 Role Alias is not set, use default
[ark_aws_conf_get] [5067376] IOT S3 Bucket is not set, use default
[ark_aws_conf_get] [5067344] IOT S3 Bucket FW is not set, use default
Got Device ID: bl808_doorbell2
[ark_aws_conf_get] [5067264] IOT Channel Name is not set, use client id
[ark_aws_conf_get] [5067168] IOT Certificate File is not set, use default
[ark_aws_conf_get] [5067120] IOT Private Key is not set, use default
[ark_event_init] [5067072] Start Event Task Init
[ark_event_init] [5040960] ARK Event Handler Task Started...
[ark_event_init] [5024400] ARK Event Snapshot Task Started...
[ark_event_init] [5007840] ARK Event Record Task Started...
[ark_event_init] [4991280] ARK MQTT Send Task Started...
[ark_event_s3_init] [4991280] ark_s3_init
[ark_event_s3_init] [4990976] ark_s3_init done
[ark_event_s3_init] [4990976] Init ark_event_s3_ctx_t...
[ark_event_s3_init] [4990944] Start Task...
[ark_event_s3_init] [4958000] ARK S3 Task Started...
[ark_event_init] [4958000] ARK Event S3 Task Started...
Start Wi-Fi fw @131ms
call rf_pri_init
Tx Corr bz_corr_0=2qdb, bt_corr_0=2qdb
Tx Corr bz_corr_1=2qdb, bt_corr_1=2qdb
Tx Corr bz_corr_2=2qdb, bt_corr_2=2qdb
Tx Corr bz_corr_3=2qdb, bt_corr_3=2qdb
Tx Corr bz_corr_4=2qdb, bt_corr_4=2qdb
LO locked 9 114
amp=382,step=0,adc_mean_i=-153
amp search fail!
amp=382,step=0,adc_mean_i=-217
amp search fail!
amp=382,step=0,adc_mean_i=-101
amp search fail!
amp=382,step=0,adc_mean_i=-101
amp search fail!
amp=382,step=0,adc_mean_i=-223
amp search fail!
amp=382,step=0,adc_mean_i=-282
amp search fail!
modified@2022-07_07
rf_txcal_ctrl_hw_getf = 1
rf_tx_gain_ctrl_hw_getf = 1
rf_rx_gain_ctrl_hw_getf = 1
rfc_init check cgen done (0x68007e3)
[WF] [KEY] [CFG] nVAP is 2, endidx 12, startidx 8
td_init
td_reset idx=0
td_reset idx=1
Start Wi-Fi fw is Done @166ms
[ark_event_S3_upload_task] [4952000] Looping...
Blink 0 Start
Start listening RTSP connections ...
[power_manager_start]
[APP] [EVT] INIT DONE 367
[BL] Initi Wi-Fi with MAC #### B4:0E:CF:2A:BA:9D ####
hostname: Blaitek_BL808-2aba9d
[WF] country code CN used, num of channel 13
[IPC] [TX] Low level size 208, driver size 24, total size 232
Enable BMX IRQ
[WF] [KEY] [CFG] nVAP is 2, endidx 12, startidx 8
td_init
td_reset idx=0
td_reset idx=1
======== Free Heap 4936064 ========
[power_detect_proc]
[ 371][INFO: hosal_adc.c: 194] ADC freq: 361Hz. ,div:3
[version] lmac 5.4.0.0
[version] version_machw_1 000055FB
[version] version_machw_2 000001B3
[version] version_phy_1 0C822111
[version] version_phy_2 00000000
[version] features 001089DF
[ME] HT supp 1, VHT supp 0
[WF][SM] reload tsen
<<<< phy_set_channel: c:2412 c1:2412 bw:20 band:0
[WF][SM] Exiting ifaceDown state
[WF][SM] State Action ###ifaceDown### --->>> ###idle###
[WF][SM] Entering idle state
[APP] [EVT] MGMR DONE 380, now 380ms
---------STA enable
[lwip] netif status callback
IP: 0.0.0.0
MK: 0.0.0.0
GW: 0.0.0.0
[APP] [WIFI] [T] 381
[APP] Get STA 0x500fe574 from Wi-Fi Mgmr, pmk ptr 0x50048674, ssid ptr 0x50048650, password 0x500486b8
[APP] [WIFI] [T] 382
[APP] SSID jiachen
[APP] SSID len 7
[APP] password 12345678
[APP] password len 8
[APP] pmk 584C05BDE2B94A15380E1CF7360B9DD61562D6158926C466AC9AD65D8234614F
[APP] bssid 00:00:00:00:00:00
[APP] channel band 0
[APP] channel freq 0
[WF][SM] currentState is idle
[WF] MM_ADD_IF_REQ Sending: STA
td_start idx=0
[WF] MM_ADD_IF_REQ Done
[WF] vif_index from LAMC is 0
[WF][SM] Exiting idle state
[WF][SM] Action Connect
ssid jiachen
ssid len 7
passphr
passphr len 0
psk 584C05BDE2B94A15380E1CF7360B9DD61562D6158926C466AC9AD65D8234614F
psk len 64
band 0
freq 0
bssid 00:00:00:00:00:00
dhcp status: true
flags: 512
[WF][PF] Adding and Using profile, idx is @0
[WF][SM] State Action ###idle### --->>> ###connecting###
connecting using vif_idx 0
===start sm_get_bss_params===
bssid[0] = 0xffff
bssid[1] = 0xffff
bssid[2] = 0xffff
search ssid = jiachen
result ssid index = -1
===end sm_get_bss_params===
[WF][SM] Entering connecting state
[APP] [EVT] Connecting 388
phy_set_channel: Setting same channel, do nothing
<<<< phy_set_channel: c:2417 c1:2417 bw:20 band:0
<<<< phy_set_channel: c:2422 c1:2422 bw:20 band:0
<<<< phy_set_channel: c:2427 c1:2427 bw:20 band:0
<<<< phy_set_channel: c:2432 c1:2432 bw:20 band:0
[update_battery_val]Device power 0%
<<<< phy_set_channel: c:2437 c1:2437 bw:20 band:0
<<<< phy_set_channel: c:2442 c1:2442 bw:20 band:0
<<<< phy_set_channel: c:2447 c1:2447 bw:20 band:0
<<<< phy_set_channel: c:2452 c1:2452 bw:20 band:0
<<<< phy_set_channel: c:2457 c1:2457 bw:20 band:0
<<<< phy_set_channel: c:2462 c1:2462 bw:20 band:0
<<<< phy_set_channel: c:2467 c1:2467 bw:20 band:0
<<<< phy_set_channel: c:2472 c1:2472 bw:20 band:0
===start sm_get_bss_params===
bssid[0] = 0xffff
bssid[1] = 0xffff
bssid[2] = 0xffff
search ssid = jiachen
result ssid index = 0
===end sm_get_bss_params===
--- OPT rxu_mgmt_ind is detected
<<<< phy_set_channel: c:2462 c1:2462 bw:20 band:0
ind ix 0x5014c31c, chan_ctxt is 0x500fdd90
[RX] Connection Status
[RX] status_code 0
[RX] reason_code 0
[RX] connect result: sm connect ind ok
[RX] MAC E8:3A:4B:1B😃5:21
[RX] vif_idx 0
[RX] ap_idx 0
[RX] ch_idx 0
[RX] qos 1
[RX] acm 0
[RX] assoc_req_ie_len 84
[RX] assoc_rsp_ie_len 224
[RX] aid 0
[RX] band 0
[RX] center_freq 2462
[RX] width 0
[RX] center_freq1 2462
[RX] center_freq2 0
[RX] tlv_ptr first 0x00000000
[WF][SM] Exiting connecting state
[WF][SM] State Action ###connecting### --->>> ###wifiConnected_ipObtaining###
[WF][PF] Getting profile by index, idx is @0
[WF][SM] Entering wifiConnected_ipObtaining state
[WF][SM] DHCP Starting...0x500fe594
[APP] [EVT] connected 3578
-----------------> AABA Request:
A-MSDU: Permitted
Block Ack Policy: Immediate Block Ack
TID: 0
Number of Buffers: 64
-----------------> AABA Response:
A-MSDU: Not Permitted
Block Ack Policy: Immediate Block Ack
TID: 0
Number of Buffers: 12
ssn: 0
timeout: 3
tid 0
======== Free Heap 4931408 ========
IP:192.168.1.3
MASK: 255.255.255.0
Gateway: 192.168.1.1
[lwip] netif status callback
IP: 192.168.1.3
MK: 255.255.255.0
GW: 192.168.1.1
[WF][SM] Exiting wifiConnected_ipObtaining state
[WF][SM] State Action ###wifiConnected_ipObtaining### --->>> ###wifiConnected_IPOK###
[WF][SM] Entering wifiConnected_IPOK state
[APP] [EVT] GOT IP 6580
[SYS] Memory left is 4931632 Bytes
SNTP Init
[SNTP] pcb isready, 0x500f93e0
Waiting for ntp
Waiting for ntp
Waiting for ntp
Waiting for ntp
SNTP time now
Try process
Processing...
sntp_process: 1693298369, 374481 us
======== Free Heap 4931632 ========
aw
aws_iot aws_s3_get_credentials aws_s3_put_object aws_s3_get_object
aws
aws_iot aws_s3_get_credentials aws_s3_put_object aws_s3_get_object
aws_io
aws_iot
======== Free Heap 4931520 ========
[ark_iot_add_subscribe] [4924320] Add Subscribe 'CLT/+/DVC/bl808_doorbell2/+'
[ark_iot_add_subscribe] [4924320] Check Topic: (null)
[ark_iot_add_subscribe] [4924320] No exist topic, will create new
[ark_iot_add_subscribe] [4924160] Add Done
[ark_iot_add_subscribe] [4924160] Add Subscribe 'SRV/aws/DVC/bl808_doorbell2/+'
[ark_iot_add_subscribe] [4924160] Check Topic: CLT/+/DVC/bl808_doorbell2/+
[ark_iot_add_subscribe] [4924160] Check Topic: (null)
[ark_iot_add_subscribe] [4924160] No exist topic, will create new
[ark_iot_add_subscribe] [4924000] Add Done
CERT: -----BEGIN CERTIFICATE-----
MIIDWjCCAkKgAwIBAgIVAJ5P8VjHQkytZFVE7cesF08nC3/fMA0GCSqGSIb3DQEB
CwUAME0xSzBJBgNVBAsMQkFtYXpvbiBXZWIgU2VydmljZXMgTz1BbWF6b24uY29t
IEluYy4gTD1TZWF0dGxlIFNUPVdhc2hpbmd0b24gQz1VUzAeFw0yMzAzMTIwOTQx
NDBaFw00OTEyMzEyMzU5NTlaMB4xHDAaBgNVBAMME0FXUyBJb1QgQ2VydGlmaWNh
dGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHp85K/5IVWz8BhKLL
76SLPGUzwR43NP/L5T8nn0tEpQu9Nb6j9udkp2zxZQcMloEj599Wt9bLBFdU0YZP
1rejvQj2Va6jmf5TuwsNK2aNjnYtJGXUSGZ4aeH0PgtJyqPHStarting AWS IoT Core
AWS IoT Core Started...
[ark_iot_task] [4891264] Version: 0.2.1 build 2305101303
[ark_iot_task] [4891264] Host Address : a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn
[ark_iot_task] [4891264] AWS IoT SDK Version 3.0.1-
[ark_iot_task] [4891264] rootCA: /romfs/AmazonRootCA1.pem
[ark_iot_task] [4891264] clientCRT: /romfs/certificate.pem.crt
[ark_iot_task] [4891264] clientKey: /romfs/private.pem.key
[ark_iot_task] [4890928] Connecting...
DEBUG Seeding the random number generator...
DEBUG Loading CA root certificate from file ...
DEBUG ok (0 skipped)
DEBUG Loading client cert from file...
DEBUG Loading client private key from file...
DEBUG ok
DEBUG Connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn/443...
DEBUG ok
DEBUG Setting up the SSL/TLS structure...
DEBUG SSL state connect : 0
DEBUG ok
DEBUG SSL state connect : 0
DEBUG Performing the SSL/TLS handshake...
DEBUG Verify requested for (Depth 2):
DEBUG cert. version : 3
serial number : 06:6C:9F:CF:99:BF:8C:0A:39:E2:F0:78:8A:43:E6:96:36:5B:CA
issuer name : C=US, O=Amazon, CN=Amazon Root CA 1
subject name : C=US, O=Amazon, CN=Amazon Root CA 1
issued on : 2015-05-26 00:00:00
expires on : 2038-01-17 00:00:00
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Digital Signature, Key Cert Sign, CRL Sign
DEBUG This certificate has no flags
DEBUG Verify requested for (Depth 1):
DEBUG cert. version : 3
serial number : 07:73:12:38:0B:9D:66:88:A3:3B:1E😃9:BF:9C:CD:A6:8E:0E:0F
issuer name : C=US, O=Amazon, CN=Amazon Root CA 1
subject name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
issued on : 2022-08-23 22:21:28
expires on : 2030-08-23 22:21:28
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage : Digital Signature, Key Cert Sign, CRL Sign
ext keDEBUG This certificate has no flags
DEBUG Verify requested for (Depth 0):
DEBUG cert. version : 3
serial number : 0E:19:F3:C0:14:30😃E:CD:E8:95:24:B6:2D:2F:E7:84
issuer name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
subject name : CN=*.ats.iot.cn-north-1.amazonaws.com.cn
issued on : 2023-05-11 00:00:00
expires on : 2024-01-30 23:59:59
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
subject alt name :
dNSName : .ats.iot.cn-north-1.amazonaws.com.cn
key usage DEBUG This certificate has no flags
DEBUG ok [ Protocol is TLSv1.2 ] [ Ciphersuite is TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256 ]
DEBUG [ Record expansion is 29 ]
DEBUG Verifying peer X.509 certificate...
DEBUG ok
DEBUG Peer certificate information:
DEBUG cert. version : 3
serial number : 0E:19:F3:C0:14:30😃E:CD:E8:95:24:B6:2D:2F:E7:84
issuer name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
subject name : CN=.ats.iot.cn-north-1.amazonaws.com.cn
issued on
[ark_iot_task] [4890928] Error(-12) connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn:443
[ark_iot_task] [4890928] Reconnect in 1 seconds
======== Free Heap 4890928 ========
DEBUG Seeding the random number generator...
DEBUG Loading CA root certificate from file ...
DEBUG ok (0 skipped)
DEBUG Loading client cert from file...
DEBUG Loading client private key from file...
DEBUG ok
DEBUG Connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn/443...
DEBUG ok
DEBUG Setting up the SSL/TLS structure...
DEBUG SSL state connect : 0
DEBUG ok
DEBUG SSL state connect : 0
DEBUG Performing the SSL/TLS handshake...
DEBUG Verify requested for (Depth 2):
DEBUG cert. version : 3
serial number : 06:6C:9F:CF:99:BF:8C:0A:39:E2:F0:78:8A:43:E6:96:36:5B:CA
issuer name : C=US, O=Amazon, CN=Amazon Root CA 1
subject name : C=US, O=Amazon, CN=Amazon Root CA 1
issued on : 2015-05-26 00:00:00
expires on : 2038-01-17 00:00:00
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Digital Signature, Key Cert Sign, CRL Sign
DEBUG This certificate has no flags
DEBUG Verify requested for (Depth 1):
DEBUG cert. version : 3
serial number : 07:73:12:38:0B:9D:66:88:A3:3B:1E😃9:BF:9C:CD:A6:8E:0E:0F
issuer name : C=US, O=Amazon, CN=Amazon Root CA 1
subject name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
issued on : 2022-08-23 22:21:28
expires on : 2030-08-23 22:21:28
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage : Digital Signature, Key Cert Sign, CRL Sign
ext keDEBUG This certificate has no flags
DEBUG Verify requested for (Depth 0):
DEBUG cert. version : 3
serial number : 0E:19:F3:C0:14:30😃E:CD:E8:95:24:B6:2D:2F:E7:84
issuer name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
subject name : CN=*.ats.iot.cn-north-1.amazonaws.com.cn
issued on : 2023-05-11 00:00:00
expires on : 2024-01-30 23:59:59
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
subject alt name :
dNSName : .ats.iot.cn-north-1.amazonaws.com.cn
key usage DEBUG This certificate has no flags
DEBUG ok [ Protocol is TLSv1.2 ] [ Ciphersuite is TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256 ]
DEBUG [ Record expansion is 29 ]
DEBUG Verifying peer X.509 certificate...
DEBUG ok
DEBUG Peer certificate information:
DEBUG cert. version : 3
serial number : 0E:19:F3:C0:14:30😃E:CD:E8:95:24:B6:2D:2F:E7:84
issuer name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
subject name : CN=.ats.iot.cn-north-1.amazonaws.com.cn
issued on
[ark_iot_task] [4890928] Error(-12) connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn:443
[ark_iot_task] [4890928] Reconnect in 1 seconds
DEBUG Seeding the random number generator...
DEBUG Loading CA root certificate from file ...
DEBUG ok (0 skipped)
DEBUG Loading client cert from file...
DEBUG Loading client private key from file...
DEBUG ok
DEBUG Connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn/443...
DEBUG ok
DEBUG Setting up the SSL/TLS structure...
DEBUG SSL state connect : 0
DEBUG ok
DEBUG SSL state connect : 0
DEBUG Performing the SSL/TLS handshake...
DEBUG Verify requested for (Depth 2):
DEBUG cert. version : 3
serial number : 06:6C:9F:CF:99:BF:8C:0A:39:E2:F0:78:8A:43:E6:96:36:5B:CA
issuer name : C=US, O=Amazon, CN=Amazon Root CA 1
subject name : C=US, O=Amazon, CN=Amazon Root CA 1
issued on : 2015-05-26 00:00:00
expires on : 2038-01-17 00:00:00
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Digital Signature, Key Cert Sign, CRL Sign
DEBUG This certificate has no flags
DEBUG Verify requested for (Depth 1):
DEBUG cert. version : 3
serial number : 07:73:12:38:0B:9D:66:88:A3:3B:1E😃9:BF:9C:CD:A6:8E:0E:0F
issuer name : C=US, O=Amazon, CN=Amazon Root CA 1
subject name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
issued on : 2022-08-23 22:21:28
expires on : 2030-08-23 22:21:28
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage : Digital Signature, Key Cert Sign, CRL Sign
ext keDEBUG This certificate has no flags
DEBUG Verify requested for (Depth 0):
DEBUG cert. version : 3
serial number : 0E:19:F3:C0:14:30😃E:CD:E8:95:24:B6:2D:2F:E7:84
issuer name : C=US, O=Amazon, CN=Amazon RSA 2048 M01
subject name : CN=*.ats.iot.cn-north-1.amazonaws.com.cn
issued on : 2023-05-11 00:00:00
expires on : 2024-01-30 23:59:59
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
subject alt name :
dNSName : *.ats.iot.cn-north-1.amazonaws.com.cn
key usage DEBUG This certificate has no flags
======== Free Heap 4832416 ========
ERROR failed! mbedtls_ssl_handshake returned -0x6800
[ark_iot_task] [4890928] Error(-4) connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn:443
[ark_iot_task] [4890928] Reconnect in 1 seconds
DEBUG Seeding the random number generator...
DEBUG Loading CA root certificate from file ...
DEBUG ok (0 skipped)
DEBUG Loading client cert from file...
DEBUG Loading client private key from file...
DEBUG ok
DEBUG Connecting to a3912cp4qayoc9.ats.iot.cn-north-1.amazonaws.com.cn/443...
======== Free Heap 4885808 ========