controller: callback improvements

This commit is contained in:
WanqQixiang
2026-04-09 15:55:30 +08:00
parent da3910cec5
commit 7fea24a7bc
11 changed files with 182 additions and 77 deletions
+6
View File
@@ -1,4 +1,10 @@
# 5-Mar-2026
### Controller API changes
- In `write_command`, `on_error_callback`, `on_success_callback`, and `on_write_done_callback` have been added to report the status of write_command.
- In `subscribe_command`, `subscribe_failure_cb_t` has been renamed to `connect_failure_cb_t`, and it has been added to the other interaction commands to indicate whether the CASE session is established successfully.
- `StatusIB` is added to `attribute_report_cb_t` and `event_report_cb_t`.
### API Changes
- In `subscribe_command`, `subscribe_done_cb_t` has been renamed to `subscribe_terminated_cb_t` to align better with the terminology.
- In `subscribe_command` a new callback `subscription_established_cb_t` has been added to report successfully subscription commands.