Repository navigation
pre-release v0.18.0.0-alpha
Pre-release
Pre-release
·
335 commits
to develop
since this release
ciot_c Release
Changes
GPIO Module Enhancements:
- Added a new function
ciot_gpio_set_blink_intervalto 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_stateto use the newCIOT_ERR_UID_CHECKmacro 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_CHECKandCIOT_ERR_UEXISTENCE_CHECKfor 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.1for version tracking. (src/nanopb/pb.h) - Fixed a bug in
pb_decode_exby ensuring thestatusvariable is set tofalseon 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]