I am trying to get the ESP32 example working in DPS mode so that I do not need to pass the Azure IoT Device Symmetric Key for each device. Below is the output I am getting from the ESP32. It keeps rebooting. Just to confirm is "Azure Device Provisioning Service Registration ID" the same as the name of your enrollment group? With this stack, can I get my enrollment group to function with "Symmetric Key" instead a x509 certificate?
ELF file SHA256: b76e6f709c13d9ec<CR><LF>
<CR><LF>
Rebooting...<CR><LF>
ets Jun 8 2016 00:22:57<CR><LF>
<CR><LF>
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<CR><LF>
configsip: 0, SPIWP:0xee<CR><LF>
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<CR><LF>
mode:DIO, clock div:2<CR><LF>
load:0x3fff0030,len:6616<CR><LF>
load:0x40078000,len:14780<CR><LF>
ho 0 tail 12 room 4<CR><LF>
load:0x40080400,len:3792<CR><LF>
entry 0x40080694<CR><LF>
<ESC>_[0;32mI (29) boot: ESP-IDF v4.4-rc1-dirty 2nd stage bootloader<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (29) boot: compile time 21:33:58<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (29) boot: chip revision: 1<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (39) boot.esp32: SPI Speed : 40MHz<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (44) boot.esp32: SPI Mode : DIO<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (49) boot.esp32: SPI Flash Size : 4MB<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (53) boot: Enabling RNG early entropy source...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (59) boot: Partition Table:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (62) boot: ## Label Usage Type ST Offset Length<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00004000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (77) boot: 1 otadata OTA data 01 00 0000d000 00002000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (84) boot: 2 phy_init RF data 01 01 0000f000 00001000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (92) boot: 3 factory factory app 00 00 00010000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (99) boot: 4 ota_0 OTA app 00 10 00110000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (107) boot: 5 ota_1 OTA app 00 11 00210000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (114) boot: End of partition table<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (119) boot: Defaulting to factory image<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (123) boot_comm: chip revision: 1, min. application chip revision: 0<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (130) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=23c64h (146532) map<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (192) esp_image: segment 1: paddr=00033c8c vaddr=3ffb0000 size=03894h ( 14484) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (198) esp_image: segment 2: paddr=00037528 vaddr=40080000 size=08af0h ( 35568) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (213) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a17b8h (661432) map<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (452) esp_image: segment 4: paddr=000e17e0 vaddr=40088af0 size=0bf08h ( 48904) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (473) esp_image: segment 5: paddr=000ed6f0 vaddr=50000000 size=00010h ( 16) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (483) boot: Loaded app from partition at offset 0x10000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (483) boot: Disabling RNG early entropy source...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (495) cpu_start: Pro cpu up.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (496) cpu_start: Starting app cpu, entry point is 0x400811e8<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (481) cpu_start: App cpu up.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: Pro cpu start user code<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: cpu freq: 160000000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: Application information:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (516) cpu_start: Project name: azure_iot_freertos_esp32<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (523) cpu_start: App version: 3e01d9e-dirty<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (528) cpu_start: Compile time: Apr 5 2022 14:35:39<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (534) cpu_start: ELF file SHA256: b76e6f709c13d9ec...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (540) cpu_start: ESP-IDF: v4.4-rc1-dirty<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (546) heap_init: Initializing. RAM available for dynamic allocation:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (553) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (559) heap_init: At 3FFB9758 len 000268A8 (154 KiB): DRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (565) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (572) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (578) heap_init: At 400949F8 len 0000B608 (45 KiB): IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (586) spi_flash: detected chip: generic<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (589) spi_flash: flash io: dio<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (594) cpu_start: Starting scheduler on PRO CPU.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (0) cpu_start: Starting scheduler on APP CPU.<ESC>_[0m<CR><LF>
I (749) wifi:wifi driver task: 3ffaf6c8, prio:23, stack:6656, core=0<CR><LF>
<ESC>_[0;32mI (749) system_api: Base MAC address is not set<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (749) system_api: read default base MAC address from EFUSE<ESC>_[0m<CR><LF>
I (759) wifi:wifi firmware version: 7679c42<CR><LF>
I (759) wifi:wifi certification version: v7.0<CR><LF>
I (759) wifi:config NVS flash: enabled<CR><LF>
I (759) wifi:config nano formating: disabled<CR><LF>
I (769) wifi:Init data frame dynamic rx buffer num: 32<CR><LF>
I (769) wifi:Init management frame dynamic rx buffer num: 32<CR><LF>
I (779) wifi:Init management short buffer num: 32<CR><LF>
I (779) wifi:Init dynamic tx buffer num: 32<CR><LF>
I (789) wifi:Init static rx buffer size: 1600<CR><LF>
I (789) wifi:Init static rx buffer num: 10<CR><LF>
I (789) wifi:Init dynamic rx buffer num: 32<CR><LF>
<ESC>_[0;32mI (799) wifi_init: rx ba win: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (799) wifi_init: tcpip mbox: 32<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: udp mbox: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: tcp mbox: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: tcp tx win: 5744<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (819) wifi_init: tcp rx win: 5744<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (819) wifi_init: tcp mss: 1440<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (829) wifi_init: WiFi IRAM OP enabled<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (829) wifi_init: WiFi RX IRAM OP enabled<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (839) sample_azureiot: Connecting to Peepal...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (839) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07<ESC>_[0m<CR><LF>
I (949) wifi:mode : sta (58:bf:25:93:09:08)<CR><LF>
I (949) wifi:enable tsf<CR><LF>
<ESC>_[0;32mI (959) sample_azureiot: Waiting for IP(s)<ESC>_[0m<CR><LF>
05/04/2022 14:42:18.526 [RX] - I (2999) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1<CR><LF>
I (3759) wifi:state: init -> auth (b0)<CR><LF>
I (3769) wifi:state: auth -> assoc (0)<CR><LF>
I (3769) wifi:state: assoc -> run (10)<CR><LF>
I (3799) wifi:connected with Peepal, aid = 5, channel 6, BW20, bssid = 0c:8e:29:a0:ec:2a<CR><LF>
I (3799) wifi:security: WPA2-PSK, phy: bgn, rssi: -32<CR><LF>
I (3799) wifi:pm start, type: 1<CR><LF>
<CR><LF>
W (3819) wifi:<ba-add>idx:0 (ifx:0, 0c:8e:29:a0:ec:2a), tid:6, ssn:0, winSize:64<CR><LF>
W (3819) wifi:<ba-add>idx:1 (ifx:0, 0c:8e:29:a0:ec:2a), tid:0, ssn:2, winSize:64<CR><LF>
I (3819) wifi:AP's beacon interval = 102400 us, DTIM period = 3<CR><LF>
05/04/2022 14:42:20.160 [RX] - <ESC>_[0;32mI (4639) esp_netif_handlers: sample_azureiot: sta ip: 192.168.1.88, mask: 255.255.255.0, gw: 192.168.1.254<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4639) sample_azureiot: Got IPv4 event: Interface "sample_azureiot: sta" address: 192.168.1.88<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4649) sample_azureiot: Connected to sample_azureiot: sta<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4649) sample_azureiot: - IPv4 address: 192.168.1.88<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4659) sample_azureiot: my_json_string<CR><LF>
{<CR><LF>
<HT> "A":<HT> "testaccount",<CR><LF>
<HT> "B":<HT> "1",<CR><LF>
<HT> "C":<HT> "176.49.64.63",<CR><LF>
<HT> "G":<HT> "1.70",<CR><LF>
<HT> "Irrigation":<HT> true,<CR><LF>
<HT> "Air":<HT> false<CR><LF>
}<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4669) sample_azureiot: Waiting for time synchronization with SNTP server<ESC>_[0m<CR><LF>
05/04/2022 14:42:22.022 [RX] - <ESC>_[0;32mI (6499) sample_azureiot: @@@@@Notification of a time synchronization event<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (6689) AZ IOT: Creating a TLS connection to global.azure-devices-provisioning.net:8883.<CR>
<CR><LF>
<ESC>_[0m<CR><LF>
05/04/2022 14:42:23.955 [RX] - <ESC>_[0;32mI (8429) tls_freertos: (Network connection 0x3ffca250) Connection to global.azure-devices-provisioning.net established.<ESC>_[0m<CR><LF>
<ESC>_[0;31mE (8429) AZ IOT: AzureIoTProvisioningClient_SetSymmetricKey failed: invalid argument<ESC>_[0m<CR><LF>
<CR><LF>
assert failed: prvIoTHubInfoGet sample_azure_iot_pnp.c:559 (xResult == eAzureIoTSuccess)<CR><LF>
<CR><LF>
<CR><LF>
Backtrace:0x40081a7e:0x3ffca0d00x400884d1:0x3ffca0f0 0x4008f5f9:0x3ffca110 0x400d88e3:0x3ffca230 0x400d8a1f:0x3ffca290 0x4008bbcd:0x3ffca340 <CR><LF>
<CR><LF>
<CR><LF>
<CR><LF>
<CR><LF>
ELF file SHA256: b76e6f709c13d9ec<CR><LF>
<CR><LF>
Rebooting...<CR><LF>
ets Jun 8 2016 00:22:57<CR><LF>
<CR><LF>
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<CR><LF>
configsip: 0, SPIWP:0xee<CR><LF>
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<CR><LF>
mode:DIO, clock div:2<CR><LF>
load:0x3fff0030,len:6616<CR><LF>
load:0x40078000,len:14780<CR><LF>
ho 0 tail 12 room 4<CR><LF>
load:0x40080400,len:3792<CR><LF>
entry 0x40080694<CR><LF>
<ESC>_[0;32mI (29) boot: ESP-IDF v4.4-rc1-dirty 2nd stage bootloader<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (29) boot: compile time 21:33:58<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (29) boot: chip revision: 1<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (39) boot.esp32: SPI Speed : 40MHz<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (44) boot.esp32: SPI Mode : DIO<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (49) boot.esp32: SPI Flash Size : 4MB<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (53) boot: Enabling RNG early entropy source...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (59) boot: Partition Table:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (62) boot: ## Label Usage Type ST Offset Length<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00004000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (77) boot: 1 otadata OTA data 01 00 0000d000 00002000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (84) boot: 2 phy_init RF data 01 01 0000f000 00001000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (92) boot: 3 factory factory app 00 00 00010000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (99) boot: 4 ota_0 OTA app 00 10 00110000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (107) boot: 5 ota_1 OTA app 00 11 00210000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (114) boot: End of partition table<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (119) boot: Defaulting to factory image<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (123) boot_comm: chip revision: 1, min. application chip revision: 0<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (130) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=23c64h (146532) map<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (192) esp_image: segment 1: paddr=00033c8c vaddr=3ffb0000 size=03894h ( 14484) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (198) esp_image: segment 2: paddr=00037528 vaddr=40080000 size=08af0h ( 35568) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (213) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a17b8h (661432) map<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (452) esp_image: segment 4: paddr=000e17e0 vaddr=40088af0 size=0bf08h ( 48904) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (473) esp_image: segment 5: paddr=000ed6f0 vaddr=50000000 size=00010h ( 16) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (483) boot: Loaded app from partition at offset 0x10000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (483) boot: Disabling RNG early entropy source...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (495) cpu_start: Pro cpu up.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (496) cpu_start: Starting app cpu, entry point is 0x400811e8<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (481) cpu_start: App cpu up.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: Pro cpu start user code<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: cpu freq: 160000000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: Application information:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (516) cpu_start: Project name: azure_iot_freertos_esp32<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (523) cpu_start: App version: 3e01d9e-dirty<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (528) cpu_start: Compile time: Apr 5 2022 14:35:39<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (534) cpu_start: ELF file SHA256: b76e6f709c13d9ec...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (540) cpu_start: ESP-IDF: v4.4-rc1-dirty<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (546) heap_init: Initializing. RAM available for dynamic allocation:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (553) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (559) heap_init: At 3FFB9758 len 000268A8 (154 KiB): DRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (565) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (572) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (578) heap_init: At 400949F8 len 0000B608 (45 KiB): IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (586) spi_flash: detected chip: generic<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (589) spi_flash: flash io: dio<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (594) cpu_start: Starting scheduler on PRO CPU.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (0) cpu_start: Starting scheduler on APP CPU.<ESC>_[0m<CR><LF>
I (749) wifi:wifi driver task: 3ffaf6c8, prio:23, stack:6656, core=0<CR><LF>
<ESC>_[0;32mI (749) system_api: Base MAC address is not set<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (749) system_api: read default base MAC address from EFUSE<ESC>_[0m<CR><LF>
I (759) wifi:wifi firmware version: 7679c42<CR><LF>
I (759) wifi:wifi certification version: v7.0<CR><LF>
I (759) wifi:config NVS flash: enabled<CR><LF>
I (759) wifi:config nano formating: disabled<CR><LF>
I (769) wifi:Init data frame dynamic rx buffer num: 32<CR><LF>
I (769) wifi:Init management frame dynamic rx buffer num: 32<CR><LF>
I (779) wifi:Init management short buffer num: 32<CR><LF>
I (779) wifi:Init dynamic tx buffer num: 32<CR><LF>
I (789) wifi:Init static rx buffer size: 1600<CR><LF>
I (789) wifi:Init static rx buffer num: 10<CR><LF>
I (789) wifi:Init dynamic rx buffer num: 32<CR><LF>
<ESC>_[0;32mI (799) wifi_init: rx ba win: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (799) wifi_init: tcpip mbox: 32<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: udp mbox: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: tcp mbox: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: tcp tx win: 5744<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (819) wifi_init: tcp rx win: 5744<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (819) wifi_init: tcp mss: 1440<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (829) wifi_init: WiFi IRAM OP enabled<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (829) wifi_init: WiFi RX IRAM OP enabled<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (839) sample_azureiot: Connecting to Peepal...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (839) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07<ESC>_[0m<CR><LF>
I (949) wifi:mode : sta (58:bf:25:93:09:08)<CR><LF>
I (949) wifi:enable tsf<CR><LF>
<ESC>_[0;32mI (959) sample_azureiot: Waiting for IP(s)<ESC>_[0m<CR><LF>
05/04/2022 14:42:26.990 [RX] - I (2999) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1<CR><LF>
I (3759) wifi:state: init -> auth (b0)<CR><LF>
I (3769) wifi:state: auth -> assoc (0)<CR><LF>
I (3769) wifi:state: assoc -> run (10)<CR><LF>
I (3789) wifi:connected with Peepal, aid = 5, channel 6, BW20, bssid = 0c:8e:29:a0:ec:2a<CR><LF>
I (3789) wifi:security: WPA2-PSK, phy: bgn, rssi: -38<CR><LF>
I (3799) wifi:pm start, type: 1<CR><LF>
<CR><LF>
W (3819) wifi:<ba-add>idx:0 (ifx:0, 0c:8e:29:a0:ec:2a), tid:6, ssn:0, winSize:64<CR><LF>
W (3819) wifi:<ba-add>idx:1 (ifx:0, 0c:8e:29:a0:ec:2a), tid:0, ssn:2, winSize:64<CR><LF>
I (3849) wifi:AP's beacon interval = 102400 us, DTIM period = 3<CR><LF>
05/04/2022 14:42:29.123 [RX] - <ESC>_[0;32mI (5139) esp_netif_handlers: sample_azureiot: sta ip: 192.168.1.88, mask: 255.255.255.0, gw: 192.168.1.254<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (5139) sample_azureiot: Got IPv4 event: Interface "sample_azureiot: sta" address: 192.168.1.88<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (5149) sample_azureiot: Connected to sample_azureiot: sta<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (5149) sample_azureiot: - IPv4 address: 192.168.1.88<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (5159) sample_azureiot: my_json_string<CR><LF>
{<CR><LF>
<HT> "A":<HT> "testaccount",<CR><LF>
<HT> "B":<HT> "1",<CR><LF>
<HT> "C":<HT> "176.49.64.63",<CR><LF>
<HT> "G":<HT> "1.70",<CR><LF>
<HT> "Irrigation":<HT> true,<CR><LF>
<HT> "Air":<HT> false<CR><LF>
}<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (5169) sample_azureiot: Waiting for time synchronization with SNTP server<ESC>_[0m<CR><LF>
05/04/2022 14:42:33.204 [RX] - <ESC>_[0;32mI (9219) sample_azureiot: @@@@@Notification of a time synchronization event<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (10189) AZ IOT: Creating a TLS connection to global.azure-devices-provisioning.net:8883.<CR>
<CR><LF>
<ESC>_[0m<CR><LF>
05/04/2022 14:42:35.892 [RX] - <ESC>_[0;32mI (11909) tls_freertos: (Network connection 0x3ffc9b70) Connection to global.azure-devices-provisioning.net established.<ESC>_[0m<CR><LF>
<ESC>_[0;31mE (11909) AZ IOT: AzureIoTProvisioningClient_SetSymmetricKey failed: invalid argument<ESC>_[0m<CR><LF>
<CR><LF>
assert failed: prvIoTHubInfoGet sample_azure_iot_pnp.c:559 (xResult == eAzureIoTSuccess)<CR><LF>
<CR><LF>
<CR><LF>
Backtrace:0x40081a7e:0x3ffc99f00x400884d1:0x3ffc9a10 0x4008f5f9:0x3ffc9a30 0x400d88e3:0x3ffc9b50 0x400d8a1f:0x3ffc9bb0 0x4008bbcd:0x3ffc9c60 <CR><LF>
<CR><LF>
<CR><LF>
<CR><LF>
<CR><LF>
ELF file SHA256: b76e6f709c13d9ec<CR><LF>
<CR><LF>
Rebooting...<CR><LF>
ets Jun 8 2016 00:22:57<CR><LF>
<CR><LF>
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<CR><LF>
configsip: 0, SPIWP:0xee<CR><LF>
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<CR><LF>
mode:DIO, clock div:2<CR><LF>
load:0x3fff0030,len:6616<CR><LF>
load:0x40078000,len:14780<CR><LF>
ho 0 tail 12 room 4<CR><LF>
load:0x40080400,len:3792<CR><LF>
entry 0x40080694<CR><LF>
<ESC>_[0;32mI (29) boot: ESP-IDF v4.4-rc1-dirty 2nd stage bootloader<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (29) boot: compile time 21:33:58<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (29) boot: chip revision: 1<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (39) boot.esp32: SPI Speed : 40MHz<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (44) boot.esp32: SPI Mode : DIO<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (49) boot.esp32: SPI Flash Size : 4MB<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (53) boot: Enabling RNG early entropy source...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (59) boot: Partition Table:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (62) boot: ## Label Usage Type ST Offset Length<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00004000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (77) boot: 1 otadata OTA data 01 00 0000d000 00002000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (84) boot: 2 phy_init RF data 01 01 0000f000 00001000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (92) boot: 3 factory factory app 00 00 00010000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (99) boot: 4 ota_0 OTA app 00 10 00110000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (107) boot: 5 ota_1 OTA app 00 11 00210000 00100000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (114) boot: End of partition table<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (119) boot: Defaulting to factory image<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (123) boot_comm: chip revision: 1, min. application chip revision: 0<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (130) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=23c64h (146532) map<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (192) esp_image: segment 1: paddr=00033c8c vaddr=3ffb0000 size=03894h ( 14484) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (198) esp_image: segment 2: paddr=00037528 vaddr=40080000 size=08af0h ( 35568) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (213) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a17b8h (661432) map<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (452) esp_image: segment 4: paddr=000e17e0 vaddr=40088af0 size=0bf08h ( 48904) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (473) esp_image: segment 5: paddr=000ed6f0 vaddr=50000000 size=00010h ( 16) load<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (483) boot: Loaded app from partition at offset 0x10000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (483) boot: Disabling RNG early entropy source...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (495) cpu_start: Pro cpu up.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (496) cpu_start: Starting app cpu, entry point is 0x400811e8<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (482) cpu_start: App cpu up.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: Pro cpu start user code<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: cpu freq: 160000000<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (512) cpu_start: Application information:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (516) cpu_start: Project name: azure_iot_freertos_esp32<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (523) cpu_start: App version: 3e01d9e-dirty<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (528) cpu_start: Compile time: Apr 5 2022 14:35:39<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (534) cpu_start: ELF file SHA256: b76e6f709c13d9ec...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (540) cpu_start: ESP-IDF: v4.4-rc1-dirty<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (546) heap_init: Initializing. RAM available for dynamic allocation:<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (553) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (559) heap_init: At 3FFB9758 len 000268A8 (154 KiB): DRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (565) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (572) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (578) heap_init: At 400949F8 len 0000B608 (45 KiB): IRAM<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (586) spi_flash: detected chip: generic<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (589) spi_flash: flash io: dio<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (594) cpu_start: Starting scheduler on PRO CPU.<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (0) cpu_start: Starting scheduler on APP CPU.<ESC>_[0m<CR><LF>
I (749) wifi:wifi driver task: 3ffaf6c8, prio:23, stack:6656, core=0<CR><LF>
<ESC>_[0;32mI (749) system_api: Base MAC address is not set<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (749) system_api: read default base MAC address from EFUSE<ESC>_[0m<CR><LF>
I (759) wifi:wifi firmware version: 7679c42<CR><LF>
I (759) wifi:wifi certification version: v7.0<CR><LF>
I (759) wifi:config NVS flash: enabled<CR><LF>
I (759) wifi:config nano formating: disabled<CR><LF>
I (769) wifi:Init data frame dynamic rx buffer num: 32<CR><LF>
I (769) wifi:Init management frame dynamic rx buffer num: 32<CR><LF>
I (779) wifi:Init management short buffer num: 32<CR><LF>
I (779) wifi:Init dynamic tx buffer num: 32<CR><LF>
I (789) wifi:Init static rx buffer size: 1600<CR><LF>
I (789) wifi:Init static rx buffer num: 10<CR><LF>
I (789) wifi:Init dynamic rx buffer num: 32<CR><LF>
<ESC>_[0;32mI (799) wifi_init: rx ba win: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (799) wifi_init: tcpip mbox: 32<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: udp mbox: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: tcp mbox: 6<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (809) wifi_init: tcp tx win: 5744<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (819) wifi_init: tcp rx win: 5744<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (819) wifi_init: tcp mss: 1440<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (829) wifi_init: WiFi IRAM OP enabled<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (829) wifi_init: WiFi RX IRAM OP enabled<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (839) sample_azureiot: Connecting to Peepal...<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (839) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07<ESC>_[0m<CR><LF>
I (949) wifi:mode : sta (58:bf:25:93:09:08)<CR><LF>
I (949) wifi:enable tsf<CR><LF>
<ESC>_[0;32mI (959) sample_azureiot: Waiting for IP(s)<ESC>_[0m<CR><LF>
05/04/2022 14:42:38.927 [RX] - I (2999) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1<CR><LF>
I (3759) wifi:state: init -> auth (b0)<CR><LF>
I (3769) wifi:state: auth -> assoc (0)<CR><LF>
I (3769) wifi:state: assoc -> run (10)<CR><LF>
I (3799) wifi:connected with Peepal, aid = 5, channel 6, BW20, bssid = 0c:8e:29:a0:ec:2a<CR><LF>
I (3799) wifi:security: WPA2-PSK, phy: bgn, rssi: -36<CR><LF>
I (3799) wifi:pm start, type: 1<CR><LF>
<CR><LF>
W (3819) wifi:<ba-add>idx:0 (ifx:0, 0c:8e:29:a0:ec:2a), tid:6, ssn:0, winSize:64<CR><LF>
I (3899) wifi:AP's beacon interval = 102400 us, DTIM period = 3<CR><LF>
05/04/2022 14:42:40.338 [RX] - W (4409) wifi:<ba-add>idx:1 (ifx:0, 0c:8e:29:a0:ec:2a), tid:0, ssn:2, winSize:64<CR><LF>
<ESC>_[0;32mI (4639) esp_netif_handlers: sample_azureiot: sta ip: 192.168.1.88, mask: 255.255.255.0, gw: 192.168.1.254<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4639) sample_azureiot: Got IPv4 event: Interface "sample_azureiot: sta" address: 192.168.1.88<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4649) sample_azureiot: Connected to sample_azureiot: sta<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4649) sample_azureiot: - IPv4 address: 192.168.1.88<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4659) sample_azureiot: my_json_string<CR><LF>
{<CR><LF>
<HT> "A":<HT> "testaccount",<CR><LF>
<HT> "B":<HT> "1",<CR><LF>
<HT> "C":<HT> "176.49.64.63",<CR><LF>
<HT> "G":<HT> "1.70",<CR><LF>
<HT> "Irrigation":<HT> true,<CR><LF>
<HT> "Air":<HT> false<CR><LF>
}<ESC>_[0m<CR><LF>
<ESC>_[0;32mI (4669) sample_azureiot: Waiting for time synchronization with SNTP server<ESC>_[0m<CR><LF>
`