Second release for Anjay Lite Beta.
BREAKING CHANGES
- Changed error codes defined in the
anj_net_api.h
to positive values. Returning any positive values from the
user Network API implementation, other thanANJ_NET_E*
, is prohibited.
Features
- CoAP Downloader module for large file transfers from CoAP servers, supporting FOTA Pull scenarios.
- Added support for Write-Composite operation.
Improvements
- Added
anj/init.h
header to make config includes and option dependency checks
more consistent. - Removed unnecessary usages of
ANJ_CONTAINER_OF()
in object implementation
examples. - Introduce Python tools for downloading object XMLs from OMA registry -
tools/lwm2m_object_registry.py
and generating
object stubs -tools/anjay_codegen.py
- Implemented responses caching
- If no confirmable notification is sent for 24 hours, the next notification sent will be confirmable.
- The library now follows the include pattern recommendations from Include What You Use (IWYU) version 0.24
compatible with clang 20.
Bugfixes
- Fixed improper handling of LwM2M Server responses in Separate Response mode.
- Updated default value in description of
ANJ_COAP_MAX_OPTIONS_NUMBER
option. - Fixed an issue with calling the observation module API during message exchange handling.
- Corrected the timing for setting the last sent notification timestamp.
- Fixed an issue that allowed server both bootstrap and management to freely read
the Security and OSCORE objects.