Skip to content

pre-release v0.18.0.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Feb 11:07
· 335 commits to develop since this release
e8e515a

ciot_c Release

Changes

GPIO Module Enhancements:

  • Added a new function ciot_gpio_set_blink_interval to allow setting the blink interval for GPIO pins, including its implementation and header declaration. (include/ciot_gpio.h, src/common/ciot_gpio_base.c) [1] [2]
  • Updated ciot_gpio_get_state to use the new CIOT_ERR_UID_CHECK macro for improved bounds checking on pin IDs. (src/common/ciot_gpio_base.c)

Error Handling Improvements:

  • Introduced two new error-checking macros: CIOT_ERR_UID_CHECK and CIOT_ERR_UEXISTENCE_CHECK for more consistent and readable bounds/error checking throughout the codebase. (include/ciot_err.h) [1] [2]

Nanopb Library Updates:

  • Updated the Nanopb version macro to nanopb-0.4.9.1 for version tracking. (src/nanopb/pb.h)
  • Fixed a bug in pb_decode_ex by ensuring the status variable is set to false on substream close failure, improving error propagation. (src/nanopb/pb_decode.c)

Minor/Cleanup Changes:

  • Simplified the inclusion of the Nanomodbus header. (include/ciot_mbus.h)
  • Minor whitespace cleanup in Nanopb source/header files. (src/nanopb/pb_common.c, src/nanopb/pb_common.h) [1] [2]