Skip to content

Anjay 3.5.0

Compare
Choose a tag to compare
@Kucmasz Kucmasz released this 07 Sep 12:43
· 5 commits to master since this release

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 of avs_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 from MAKE_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 and ANJAY_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