Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Ewerton Scaboro da Silva 32bdfa112f Change ADU documentation to use Azure CLI instead of PS scripts 2022-11-29 21:23:43 -08:00
Dane Walton 0589ae1a59
use ppv model id (#45) 2022-11-22 10:07:54 -05:00
Ravin Madurawe 0c2e4144f7
Updated Azure_IoT_Central_ESP32.ino bug fix (#43) 2022-11-15 12:13:16 -05:00
Dane Walton 517139d664
update to GA code (#42) 2022-11-14 10:35:57 -05:00
Ewerton Scaboro da Silva 7f9e5819e2 Update ADU sample readme about required library beta version 2022-11-10 10:54:09 -08:00
Ewerton Scaboro da Silva e423215093 Update ADU sample to reflect its non-production nature (Contoso as provider) 2022-11-09 18:40:08 -08:00
Dane Walton 7a67bacf20
Code style the files (#37) 2022-11-08 20:34:12 -05:00
Valerie Avva Lim 75424f6cb7 style 2022-11-08 12:12:21 -05:00
Valerie Avva Lim 838a51d88f reject an update if it's too big for the device 2022-11-08 11:59:21 -05:00
Ewerton Scaboro da Silva 8e5d259d11 Change link to non-language-specific 2022-11-07 16:03:15 -08:00
Ewerton Scaboro da Silva 32fa074da7
Update examples/Azure_IoT_Adu_ESP32/readme.md
Co-authored-by: Eric Wolz <ericwol@microsoft.com>
2022-11-07 15:59:55 -08:00
Ewerton Scaboro da Silva a680f54260 Add warning about hub scale units that support ADU 2022-11-07 15:49:55 -08:00
Dane Walton f7f5ca8b15
update lib and usage (#35) 2022-11-07 18:02:28 -05:00
Ewerton Scaboro da Silva f3dca34e8d Fix content table in ADU sample documentation 2022-11-04 14:28:56 -07:00
Ewerton Scaboro da Silva 201041f78f Add improvements to ADU sample readme documentation 2022-11-02 22:32:22 -07:00
Dane Walton c755336e68
shut down MQTT clean (#33) 2022-10-31 07:21:01 -07:00
Dane Walton a6205a7d72
Add ADU capabilities for preview release (#27) (#31) 2022-10-27 12:17:02 -07:00
Eric Wolz c5f4875f22 support 64 byte DSP/Central keys 2022-09-29 17:19:27 -07:00
Wellington Duraes [MSFT] 69472502e1
Update embedded SDKs + IoT Central tier guidance (#29)
* Update embedded SDKs + IoT Central tier guidance

* remove older images
2022-09-21 13:11:07 -07:00
Dane Walton 4a1ebc6c50
update user agent to url encode / (#24) 2022-06-20 07:30:53 -07:00
Wellington Duraes 1dad54e7f8
Add X.509 guidance (#21)
* Add X.509 guidance

* add clarification regarding DPS usage

* Update README.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update README.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update examples/Azure_IoT_Central_ESP32/readme.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update examples/Azure_IoT_Central_ESP32/readme.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update examples/Azure_IoT_Central_ESP32/readme.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update examples/Azure_IoT_Central_ESP32_AzureIoTKit/readme.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update examples/Azure_IoT_Central_ESP32_AzureIoTKit/readme.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

* Update examples/Azure_IoT_Central_ESP32/readme.md

Co-authored-by: Dane Walton <dawalton@microsoft.com>

Co-authored-by: Dane Walton <dawalton@microsoft.com>
2022-05-24 15:23:30 -07:00
Dane Walton bd5b9ea615
update to sdk version 1.3.1 (#20) 2022-05-10 09:23:34 -07:00
Dane Walton 051cf62cd3 subtract one from payload size for esp32 2022-04-25 08:28:00 -07:00
Dane Walton ce033bb49d pr comments 2022-03-29 19:27:08 -07:00
Dane Walton a285a5765a change is_span_empty 2022-03-29 19:08:43 -07:00
Dane Walton 4c642f2cd6 nit 2022-03-25 12:21:23 -07:00
Dane Walton 4f8da8a870 update empty check 2022-03-25 12:20:39 -07:00
Dane Walton 64cacec927 add x509 certificate support 2022-03-25 12:17:14 -07:00
Ewerton Scaboro da Silva cb0db73c15 Revert the user agent property name from dct to DeviceClientType
Azure IoT Hub parses the user agent information using the property
name DeviceClientType, so the client must send it with that name
otherwise the user agent string is not properly stored on Azure.
A change in the property name to "dct" can only be done after the hub is
also updated to support that name/alias.
2022-03-17 15:05:33 -07:00
Dane Walton b59d45b2ed
Merge branch 'main' into dane/topic 2022-02-04 09:42:16 -08:00
Dane Walton f90d433a4c resize buffers for device id's greater than 64 2022-02-03 17:43:21 -08:00
Dane Walton 66a5c897bb patch up 2022-02-03 17:33:25 -08:00
Dane Walton b47e1fd488 add to other places 2022-02-03 17:25:27 -08:00
Dane Walton 0d5b5eed1f typos and topic lengths 2022-02-03 15:52:14 -08:00
Ewerton Scaboro da Silva 3b88af715d Apply fixes to Azure_IoT_Central_ESP32 sample as well, bump version 2022-01-20 21:18:10 -08:00
Ewerton Scaboro da Silva ee66cfb96f Fix crash in ESP32 when Azure IoT layer triggers a SAS token refresh
The crash was caused because the handle to the MQTT client was being
incorrectly passed to esp_mqtt_client_stop (indirection bug).
Also removed setting the ESP MQTT buffer size, letting it use its
default value.

These are the stacktraces of the crashes that this change fixes:

Decoding 10 results
0x40083859: panic_abort at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c
line 402
0x4008db61: esp_system_abort at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c
line 129
0x40092d49: __assert_func at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c
line 85
0x4008eac1: xQueueSemaphoreTake at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/queue.c
line 1549 (discriminator 1)
0x4008ec70: xQueueTakeMutexRecursive at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/queue.c
line 731
0x40106f0a: esp_mqtt_client_stop at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/mqtt/esp-mqtt/mqtt_client.c
line 1584
0x400d4829: mqtt_client_deinit_function(void*) at
C:\code\s1\azure-sdk-for-c-arduino\examples\Azure_IoT_Central_ESP32_AzureIoTKit/Azure_IoT_Central_ESP32_AzureIoTKit.ino
line 187
0x400d4411: azure_iot_do_work(azure_iot_t_struct*) at
C:\code\s1\azure-sdk-for-c-arduino\examples\Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp
line 517
0x400d4f10: loop() at
C:\code\s1\azure-sdk-for-c-arduino\examples\Azure_IoT_Central_ESP32_AzureIoTKit/Azure_IoT_Central_ESP32_AzureIoTKit.ino
line 421
0x400df8c5: loopTask(void*) at
C:\Users\ewertons\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1\cores\esp32/main.cpp
line 46

Decoding 13 results
0x40083859: panic_abort at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c
line 402
0x4008db61: esp_system_abort at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c
line 129
0x40092d49: __assert_func at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c
line 85
0x4009298f: multi_heap_free at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c
line 253
:  (inlined by) multi_heap_free at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c
line 245
0x40083eb5: heap_caps_free at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c
line 305
0x40092d79: free at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/heap.c
line 46
0x401111e1: esp_transport_esp_tls_destroy at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/tcp_transport/transport_ssl.c
line 458
0x4011097b: esp_transport_destroy_foundation_transport at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/tcp_transport/transport.c
line 73
:  (inlined by) esp_transport_list_destroy at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/tcp_transport/transport.c
line 132
0x40106ff6: esp_mqtt_client_destroy at
/Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/mqtt/esp-mqtt/mqtt_client.c
line 819
0x400d4847: mqtt_client_deinit_function(void*) at
C:\code\s1\azure-sdk-for-c-arduino\examples\Azure_IoT_Central_ESP32_AzureIoTKit/Azure_IoT_Central_ESP32_AzureIoTKit.ino
line 194
0x400d433d: azure_iot_do_work(azure_iot_t_struct*) at
C:\code\s1\azure-sdk-for-c-arduino\examples\Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp
line 420
0x400d4f10: loop() at
C:\code\s1\azure-sdk-for-c-arduino\examples\Azure_IoT_Central_ESP32_AzureIoTKit/Azure_IoT_Central_ESP32_AzureIoTKit.ino
line 421
0x400df8c5: loopTask(void*) at
C:\Users\ewertons\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1\cores\esp32/main.cpp
line 46
2022-01-20 15:31:13 -08:00
ewertons 952b528af9
Merge pull request #5 from ewertons/ewertons/esp32aziotkitcentral
Add samples for ESP32 and ESP32 Azure IoT Kit for Azure IoT Central
2022-01-19 17:30:05 -08:00
ewertons e3c47772ba
Merge pull request #4 from rdeveen/patch-2
Set newline after receiving C2D message
2022-01-19 17:29:32 -08:00
Ewerton Scaboro da Silva ffa12ad78a Address CR comments for ESP32 Azure IoT Central samples 2022-01-19 17:27:50 -08:00
Ewerton Scaboro da Silva 041de369dc Add new Azure IoT Central samples to root readme.md 2022-01-18 16:13:13 -08:00
Ewerton Scaboro da Silva 7956ff5729 Add readme for Azure IoT Central ESP32 sample 2022-01-18 16:11:01 -08:00
Ewerton Scaboro da Silva 64418b9233 Add readme for Azure IoT Central ESP32 Azure IoT Kit sample 2022-01-18 16:05:06 -08:00
Ewerton Scaboro da Silva 80eecd7168 Add function argument checks and documentation 2022-01-15 15:21:47 -08:00
Ewerton Scaboro da Silva d6d7ed5ddf Add Azure IoT Central sample for bare ESP32 (no real sensors) 2022-01-14 11:49:26 -08:00
Ewerton Scaboro da Silva d59979bcc9 Add support for writable properties 2022-01-13 21:57:53 -08:00
Ewerton Scaboro da Silva 82fe4384d5 Add support for device commands 2022-01-13 14:10:09 -08:00
Ewerton Scaboro da Silva 0253a897b5 Rename Azure_IoT_Central_SAS_ESP32_AzureIoTKit
Azure IoT Central only supports SAS authentication out-of-the-box.
2022-01-12 17:50:12 -08:00
Ewerton Scaboro da Silva 96d6c8d3c2 Add support for reported properties updates 2022-01-12 17:48:35 -08:00
Ewerton Scaboro da Silva b807d89923 Fix model id not recognized by Azure IoT Central 2022-01-11 19:44:43 -08:00
Ewerton Scaboro da Silva c18be9dd93 Add sample for Azure IoT Central on Espressif's ESP32 Azure IoT Kit 2022-01-11 18:30:05 -08:00