Skip to content

Commit a40c548

Browse files
committed
Update astarte-device-sdk-esp32 dependency
Signed-off-by: Luca Arato <[email protected]>
1 parent 8185d26 commit a40c548

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88
### Changed
9-
- Bump Astarte Device SDK to v1.2.0.
9+
- Bump Astarte Device SDK to v1.3.1.
1010

1111
## [0.7.1] - 2023-09-19
1212
### Changed

examples/edgehog_app/main/src/example_task.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ static astarte_device_handle_t astarte_device_sdk_init(void)
135135
}
136136

137137
// Initialize the credentials for the Astarte device
138-
if(astarte_credentials_init() != ASTARTE_OK) {
138+
if (astarte_credentials_init() != ASTARTE_OK) {
139139
ESP_LOGE(TAG, "Failed initializing the Astarte credentials.");
140140
return NULL;
141141
}
@@ -158,7 +158,8 @@ static astarte_device_handle_t astarte_device_sdk_init(void)
158158
return astarte_device;
159159
}
160160

161-
static edgehog_device_handle_t edgehog_device_init(astarte_device_handle_t astarte_handle) {
161+
static edgehog_device_handle_t edgehog_device_init(astarte_device_handle_t astarte_handle)
162+
{
162163
// Setup the event handler for the Edgehog device
163164
esp_err_t esp_err = esp_event_handler_instance_register(
164165
EDGEHOG_EVENTS, ESP_EVENT_ANY_ID, edgehog_event_handler, NULL, NULL);
@@ -190,7 +191,8 @@ static edgehog_device_handle_t edgehog_device_init(astarte_device_handle_t astar
190191
ESP_LOGE(TAG, "Failed setting the system serial number for Edgehog.");
191192
return NULL;
192193
}
193-
esp_err = edgehog_device_set_system_part_number(edgehog_device, "edgehog_example_part_number_1");
194+
esp_err
195+
= edgehog_device_set_system_part_number(edgehog_device, "edgehog_example_part_number_1");
194196
if (esp_err != ESP_OK) {
195197
ESP_LOGE(TAG, "Failed setting the system part number for Edgehog.");
196198
return NULL;

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ dependencies:
2525
# Required IDF version
2626
idf: ">=4.1"
2727
astarte-device-sdk-esp32:
28-
version: "v1.2.0"
28+
version: "v1.3.1"
2929
git: https://github.com/astarte-platform/astarte-device-sdk-esp32.git

0 commit comments

Comments
 (0)