Skip to content

Commit

Permalink
Anjay-esp-idf 3.8.1
Browse files Browse the repository at this point in the history
Improvements
 - Updated Anjay to 3.8.1
  • Loading branch information
Kucmasz committed Nov 13, 2024
1 parent 7e643e6 commit e77508f
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.8.1 (Nov 13th, 2024)

### Improvements
- Updated Anjay to 3.8.1

## 3.8.0 (May 28th, 2024)

### Improvements
Expand Down
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ idf_component_register(SRCS
"deps/anjay/deps/avs_coap/src"
"deps/anjay/deps/avs_commons/src"
PRIV_REQUIRES
idf::mbedtls)
idf::mbedtls
REQUIRES
esp_driver_uart
esp_driver_gpio)

if (CONFIG_ANJAY_ESP_IDF_WITH_BG96_SUPPORT)
file(GLOB_RECURSE FREERTOS_CELLULAR_LIBRARY_SOURCES
Expand All @@ -47,6 +50,8 @@ if (CONFIG_ANJAY_ESP_IDF_WITH_BG96_SUPPORT)
"deps/FreeRTOS-Cellular-Interface/source/cellular_network_transport"
"deps/FreeRTOS-Cellular-Interface/source/interface"
"deps/FreeRTOS-Cellular-Interface/modules")
# Ignoring warnings in FreeRTOS-Cellular-Interface
target_compile_options(freertos_cellular_library PRIVATE -Wno-format -Wno-incompatible-pointer-types)
target_link_libraries(freertos_cellular_library PRIVATE ${COMPONENT_LIB})
endif()

Expand All @@ -58,4 +63,5 @@ endif()
# We disable assertions within anjay to work around that.
target_compile_definitions(${COMPONENT_TARGET} PRIVATE "NDEBUG")

# maybe-uninitialized warning not treated as error to enable debug optimization
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error=maybe-uninitialized)
1 change: 1 addition & 0 deletions config/anjay/anjay_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@
* <c>anjay_server_connection_status_cb_t</c> callback.
*/
/* #undef ANJAY_WITH_CONN_STATUS_API */

/**@}*/

#endif // ANJAY_CONFIG_H
12 changes: 12 additions & 0 deletions config/avsystem/coap/avs_coap_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@
*/
/* #undef WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT */

/**
* Force cancelling observation, even if a confirmable notification yielding
* an error response is not acknowledged or rejected with RST by the observer.
*
* This is a circumvention for some non-compliant servers that respond with an
* RST message to a confirmable notification yielding an error response. This
* setting makes the library cancel the observation in such cases, even though
* the notification is formally rejected. Additionally, it will also make the
* library cancel the observation if no response is received at all.
*/
#define WITH_AVS_COAP_OBSERVE_FORCE_CANCEL_ON_UNACKED_ERROR

/**
* Enable support for observation persistence (<c>avs_coap_observe_persist()</c>
* and <c>avs_coap_observe_restore()</c> calls).
Expand Down
2 changes: 1 addition & 1 deletion deps/anjay
Submodule anjay updated 106 files

0 comments on commit e77508f

Please sign in to comment.