Skip to content

Commit

Permalink
Anjay-esp-idf 3.8.0
Browse files Browse the repository at this point in the history
Improvements
 - maybe-uninitialized warning not treated as error to enable debug
   optimization
  • Loading branch information
Kucmasz committed May 28, 2024
1 parent b2bff6a commit 7e643e6
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 3.8.0 (May 28th, 2024)

### Improvements
- maybe-uninitialized warning not treated as error to enable debug
optimization

## 3.7.0 (February 20th, 2024)

### Features
Expand All @@ -14,4 +20,3 @@

### Features
- Initialized repository with `Anjay` and `FreeRTOS-Cellular-Interface` submodules

2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ endif()
# the maximum hardware-imposed alignment on ESP32 is actually 4 bytes.
# We disable assertions within anjay to work around that.
target_compile_definitions(${COMPONENT_TARGET} PRIVATE "NDEBUG")

target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error=maybe-uninitialized)
7 changes: 7 additions & 0 deletions config/anjay/anjay_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,13 @@
* composite type request.
*/
/* #undef ANJAY_WITHOUT_COMPOSITE_OPERATIONS */

/**
* Enable support for the experimental
* <c>anjay_get_server_connection_status()</c> API and related
* <c>anjay_server_connection_status_cb_t</c> callback.
*/
/* #undef ANJAY_WITH_CONN_STATUS_API */
/**@}*/

#endif // ANJAY_CONFIG_H
14 changes: 13 additions & 1 deletion config/avsystem/coap/avs_coap_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,23 @@
# define WITH_AVS_COAP_OBSERVE
#endif // CONFIG_ANJAY_WITH_OBSERVE

/**
* Turn on cancelling observation on a timeout.
*
* Only meaningful if <c>WITH_AVS_COAP_OBSERVE</c> is enabled.
*
* NOTE: LwM2M specification requires LwM2M server to send Cancel Observation
* request. Meanwhile CoAP RFC 7641 states that timeout on notification should
* cancel it. This setting is to enable both of these behaviors with default
* focused on keeping observations in case of bad connectivity.
*/
/* #undef WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT */

/**
* Enable support for observation persistence (<c>avs_coap_observe_persist()</c>
* and <c>avs_coap_observe_restore()</c> calls).
*
* Only meaningful <c>WITH_AVS_COAP_OBSERVE</c> is enabled.
* Only meaningful if <c>WITH_AVS_COAP_OBSERVE</c> is enabled.
*/
#ifdef CONFIG_ANJAY_WITH_OBSERVE_PERSISTENCE
# define WITH_AVS_COAP_OBSERVE_PERSISTENCE
Expand Down
2 changes: 1 addition & 1 deletion deps/anjay
Submodule anjay updated 59 files
+28 −0 CHANGELOG.md
+3 −1 CMakeLists.txt
+15 −1 demo/advanced_firmware_update.c
+7 −0 demo/advanced_firmware_update.h
+10 −1 demo/advanced_firmware_update_addimg.c
+2 −14 demo/advanced_firmware_update_app.c
+21 −0 demo/demo.c
+8 −0 demo/demo_args.c
+1 −0 demo/demo_args.h
+24 −0 demo/demo_cmds.c
+24 −0 demo/demo_utils.c
+5 −0 demo/demo_utils.h
+1 −0 deps/avs_coap/CMakeLists.txt
+1 −0 deps/avs_coap/doc/CMakeLists.txt
+13 −1 deps/avs_coap/include_public/avsystem/coap/avs_coap_config.h.in
+4 −5 deps/avs_coap/src/async/avs_coap_async_server.c
+1 −1 deps/avs_commons
+3 −3 doc/sphinx/snippet_sources.md5
+52 −20 doc/sphinx/source/AdvancedTopics/AT-NetworkErrorHandling.rst
+1 −0 doc/sphinx/source/Migrating.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay214.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay215.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay225.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay24.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay26.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay27.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay28.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay30.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay32.rst
+1 −2 doc/sphinx/source/Migrating/MigratingFromAnjay33.rst
+3 −2 doc/sphinx/source/Migrating/MigratingFromAnjay34.rst
+28 −0 doc/sphinx/source/Migrating/MigratingFromAnjay37.rst
+7 −0 example_configs/embedded_lwm2m10/anjay/anjay_config.h
+13 −1 example_configs/embedded_lwm2m10/avsystem/coap/avs_coap_config.h
+7 −0 example_configs/embedded_lwm2m11/anjay/anjay_config.h
+13 −1 example_configs/embedded_lwm2m11/avsystem/coap/avs_coap_config.h
+7 −0 example_configs/linux_lwm2m10/anjay/anjay_config.h
+13 −1 example_configs/linux_lwm2m10/avsystem/coap/avs_coap_config.h
+7 −0 example_configs/linux_lwm2m11/anjay/anjay_config.h
+13 −1 example_configs/linux_lwm2m11/avsystem/coap/avs_coap_config.h
+7 −0 include_public/anjay/anjay_config.h.in
+171 −0 include_public/anjay/core.h
+10 −0 src/anjay_config_log.h
+9 −0 src/anjay_modules/anjay_servers.h
+33 −0 src/core/anjay_bootstrap_core.c
+12 −1 src/core/anjay_core.c
+6 −0 src/core/anjay_core.h
+8 −0 src/core/anjay_dm_core.c
+18 −0 src/core/anjay_servers_private.h
+2 −6 src/core/io/anjay_base64_out.c
+2 −1 src/core/io/anjay_json_encoder.c
+28 −25 src/core/observe/anjay_observe_core.c
+107 −0 src/core/servers/anjay_activate.c
+98 −0 src/core/servers/anjay_connections.c
+38 −1 src/core/servers/anjay_register.c
+4 −0 src/core/servers/anjay_reload.c
+31 −3 src/core/servers/anjay_servers_internal.h
+54 −0 tests/integration/suites/default/notifications.py
+240 −96 tests/integration/suites/default/retransmissions.py

0 comments on commit 7e643e6

Please sign in to comment.