Releases: astarte-platform/astarte-device-sdk-esp32
Releases · astarte-platform/astarte-device-sdk-esp32
v1.3.3
v1.3.1
v1.3.0
Astarte Device SDK ESP32 v1.3.0 release.
Changelog
Added
user_data
field is added to theastarte_device_config_t
andastarte_device_*_event_t
structs. This field can be used to pass user data to callback functions.- Utility function
astarte_err_to_name
. Can be used to obtain a string representation of any error
returned from the device. - Properties retention in NVS. The values of server and device properties can now be stored
permanently using the NVS drivers of ESP. Two new configuration entries have been added to the
Astarte SDK menu. One enables properties persistency while the other can be used to specify a
custom NVS partition where to store such properties.
Changed
- Return value of
uuid_generate_v5
andastarte_hwid_encode
functions fromvoid
to
astarte_err_t
.`
Removed
- Support for ESP-IDF with versions lower than v4.4.
- Support for the old ESP-IDF GNU Make system. For help on how to migrate a project to the new
CMake
system, see the espressif documentation.
v1.2.0
Astarte Device SDK ESP32 v1.2.0 release.
Changelog
Added
- Add support for server validation through ESP x509 Certificate Bundle.
- Add maximum JWT size to SDK configuration options.
- Add new deserialization utilities contained in
astarte_bson_deserializer.h
. - Add README section on how to use the (de)serialization utilities.
- Add the typedefines
astarte_bson_serializer_handle_t
,credential_type_t
,
astarte_ptr_list_entry_t
andastarte_pairing_config_t
. - Add new
astarte_bson_serializer_new
function.
Deprecated
- BSON deserialization utility
astarte_bson.h
. Use the new deserialization functions contained
inastarte_bson_deserializer.h
. - Direct use of the enums and structs
astarte_err_t
,astarte_byte_array_t
,
astarte_bson_serializer_t
,credential_type_t
,astarte_list_head_t
,astarte_ptr_list_entry_t
andastarte_pairing_config
. - Serializer initialization function
astarte_bson_serializer_init
. Use the new
astarte_bson_serializer_new
instead.
Removed
- Support for ESP IDF v3.x.
Fixed
- Fixed failure in writing the private TLS key following a hard reset performed during the partition
formatting procedure (Available since IDF v5.1).