Releases: AVSystem/Anjay
Releases · AVSystem/Anjay
Anjay 3.9.0
Features
- LwM2M Gateway functionality was added. To see the feature description, API
documentation and tutorial on its usage, see Anjay docs - Added a
coap_downloader_retry_count
andcoap_downloader_retry_delay
configuration options that allow to resume the CoAP download process in case
of network errors.
Improvements
- Extended the functionality of the flag enabling Connection ID to also include
connections to the file download CoAP server, in addition to the LwM2M server - Migrated GitHub Actions tests on macOS to the macos-14 runner.
- Refactored test_ghactions.py.
- Added Github Actions test on macOS for the AppleClang.
Bugfixes
- Ensured that Github Actions tests on macOS actually runs on LLVM installed
from Homebrew instead of AppleClang. - Minor fix in the devconfig.
Anjay 3.8.1
Improvements
- Improved the coverage script and switched to lcov.
- In case when the LwM2M server answers with an RST message to a notification
that is yielding an error value (e.g. failure to read), which effectively
cancels the notification, Anjay is not infinitely trying to transmit that
message with error value once again. New behavior is enabled by default, and
controlled withWITH_AVS_COAP_OBSERVE_FORCE_CANCEL_ON_UNACKED_ERROR
option
ofavs_coap
. Existing projects have to opt-in explicitly. - Added
--nobest
flag todnf update
in Rockylinux image preparation for
tests to solve installation candidates conflicts.
Bugfixes
- Actually fixed compatibility with Mbed TLS 3.6.
- Fixed compatibility of integration test framework with Mbed TLS versions that
enabled TLS 1.3, but didn't useMBEDTLS_USE_PSA_CRYPTO
. - The -Wformat warning appearing in some compilers has been fixed.
- Fixed LwM2M CBOR parser incorrectly accepting inputs containing empty arrays
as keys - Prevent from generating non unique session tokens when the monotonic system
clock granulation is not fine enough. - Refactored how timeouts are handled in pymbedtls to be in line with use of
mbedTLS in avs_commons.
Anjay 3.8.0
BREAKING CHANGES
- Timeout in case of sending a Confirmable Notification does not cancel the
observation anymore by default.
Features
- Added a
connection_error_is_registration_failure
configuration option that
allows handling connection errors as Register failures, including the
automatic retry mechanism - Added experimental server connection status API.
Improvements
- (commercial version only) Changed MSISDN matching method in SMS binding
feature to allow handling messages with Short Codes as originating number
Bugfixes
- Fixed a corner case in which a connection error during a non-first Register
attempt could cause uncontrolled infinite retries - Fixed a bug in demo of Advanced Firmware Update module that prevented
proper handling of security config for targets other than APP - Fixed a bug that caused anjay_next_planned_notify_trigger family APIs to
return an invalid value after canceling observations
Anjay 4.0.0-alpha.2
Features
- Added PlainText, Opaque, CBOR, SenML CBOR, and LwM2M CBOR input formats
- Added PlainText, Opaque, LwM2M CBOR output formats
- New building system based on CMake
- Bootstrap-Delete and Bootstrap-Write are now fully supported in a static data model
- Full implementation of Security (/0), Server (/1), and Device (/3) objects
- Added PlatformIO implementation
- Added time API
anj_time.h
- Added new examples with firmware update, SEND operation, and basic Bootstrap support
Bugfixes
- Fixed bugs in a static data model
- Removed all clang compilation warnings
- Fixed error handling in
sdm_process
Other
- Added some macros to make it easier to use the static data model API
- The
sdm_res_t
storesres_value
as a pointer to reduce the size of the structure - Slightly modified the logic of the CREATE operation in the static data model
anjay_lite
and examples based on it have been removed and replaced by full implementations of the objects and custom event loop in examples- Net API has been moved to
anj_net.h
- Removed unused compilation flags
- Improved test coverage
- Added missing license headers
- Other minor fixes
Anjay 3.7.0
Features
- Added support for LwM2M 1.2 server object requirement for infinite lifetime
(lifetime == 0). - Introduced @experimental and @deprecated Doxygen tags.
- Added experimental IPSO objects v2 API.
- Added experimental Software Management object API.
Improvements
- Improved integration tests compability and framework stability
- Added support for wget2 for validating links in documentation (for HTTP/2
support)
Bugfixes
- Refactored generation of blockwise Confirmable notifications to avoid a
possible assertion failure; requests for subsequent blocks of such
notifications are now sent as Piggybacked responses - Fixed a bug in the documentation of an object definition struct
- (commercial version only) Fixed problems with running some tests on systems
with Mbed TLS 3.x - Fixed a few assertion and pointer punning issues regarding calls to IPSO
objects APIs in erroneous cases - Prevent from trying to store empty cert/keys on HSM
Anjay 4.0.0-alpha.1
Alpha Release of Anjay 4.0
- no dynamic memory allocation
- UDP binding
- LwM2M 1.1 & 1.2
- TLV Content-Format for input operations
- CBOR and SenML CBOR Content-Format for output operations
- Static data model supporting all operations, except Composite operations
- LwM2M Send support
- Minimal implementations of Security (/0), Server (/1) and Device (/3) objects
- Full implementation for Firmware Update (/5) object
- Partial support for LwM2M Notify (only on resource level, with pmin and pmax attributes)
Anjay 3.6.1
Improvements
- Optimized heap memory usage: SenML CBOR payloads for Send and Notify
operations are no longer serialized in memory in their entirety unless their
contents depend on the Access Control object state - Added a public define for MSISDN string size
- Optimized "Out of memory" logs in favor of a smaller flash memory footprint
Bugfixes
- (commercial feature only) Fixes for various bugs that could cause invalid
memory accesses when restoring data from corrupted core persistence data
Anjay 3.6.0
Features
- Added APIs for setting custom timeouts for downloads performed over CoAP+TCP and HTTP, including firmware update downloads
- Added
requirements.txt
file to manage Python dependencies more efficiently
Improvements
- Clarified documentation on behavior of Firmware Update and Advanced Firmware Update modules when
anjay_fw_update_get_security_config_t
andanjay_advanced_fw_update_perform_upgrade_t
callbacks, respectively, are not defined. - Added compilation flag that disables all composite operations
Bugfixes
- Updated integration tests so that they pass on macOS
- Fix abort scenario in Advanced Firmware Update module
Anjay 3.5.0
BREAKING CHANGES
- Reversed the order of calling the
delivery_handler
callback vs. canceling
the observation when sending notifications with 4.xx or 5.xx code; this change
is breaking only for direct users ofavs_coap
API
Features
- Added APIs for suspending and resuming standalone downloads as well as
Firmware Update and Advanced Firmware Update PULL-mode downloads - Added standalone versions of the Security and Server object implementations,
that can be customized by the end users - Added definitions for common Core Object IDs in the public API
- Removed potentially faulty assertion in code generated by anjay_codegen.py
- (commercial feature only) added
anjay_sim_bootstrap_calculate_md5()
function that allows verification whether SIM Bootstrap data has been changed
(e.g. as a result of SIM OTA)
Improvements
- Rewritten Send-based reporting in Advanced Firmware Update in such a way that
it will now work with custom implementations of the Server object - Simplified the CoAP downloader implementation so that the
get_remote_hostname
socket operation is no longer necessary for download
resumption - Made handling of initial peer CSM messages in CoAP+TCP asynchronous
- Updated the documentation with more descriptive warnings about functions that
require extra care to maintain thread safety - Removed
const
qualifier fromMAKE_URI_PATH()
compound literal which
triggers a plausible compiler bug on IAR EWARM v9.30
Bugfixes
- Fixed a critical bug that caused Anjay to crash when sending notifications
with 4.xx or 5.xx code over TCP - Fixed a regression introduced in 2.13.0 that prevented the Firmware Update
and Advanced Firmware Update from compiling without the
ANJAY_WITH_DOWNLOADER
configuration option enabled - Fixed a condition where the Register or Update messages could be erroneously
regenerated when refreshing server connections while already performing a
Register or Update request - Fixed a condition where the connection could be erroneously retried
automatically when a fatal failure was expected - Decoupled the
WITH_AVS_COAP_TCP
andANJAY_WITH_LWM2M11
configuration
options so that they can be set independently as intended - Fixed the
devconfig
script and Github Actions configuration for better
compatibility with building on macOS - Refactored TCP binding handling in integration tests for more reliability
- Fixed the case where CoAP+TCP Abort message could erroneously be sent multiple
times - Loosened some time constraints in Advanced Firmware Update tests
- Fixed supplemental iid sort in Advanced Firmware Update
- Fixed too early restart while performing an upgrade using Advanced Firmware
Update module in Anjay demo app - Fixed too early persistence write while performing an upgrade using Advanced
Firmware Update module in Anjay demo app
Anjay 3.4.1
Features
- (commercial feature only) New
sim_bootstrap
module that implements the logic necessary to extract the EF(DODF-bootstrap) file contents from a smart card
Bugfixes
- Fixed a potential crash in case of a specific out-of-memory condition in Advanced Firmware Update
- Fixed
anjay_config_log.h
so that all non-binary configuration options are properly logged - Fixed a regression from 3.4.0 that prevented
nsh_lwm2m.py
from launching