Skip to content

Commit c54b71d

Browse files
nordicjmcarlescufi
authored andcommitted
doc: release: 3.4: Add note on MCUmgr SMP transport changes
Adds a note that transports now need to set up the struct themselves prior to calling the registration function. Signed-off-by: Jamie McCrae <[email protected]>
1 parent f59b857 commit c54b71d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/releases/release-notes-3.4.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ Changes in this release
148148
* :c:func:`net_if_ipv6_maddr_join`
149149
* :c:func:`net_if_ipv6_maddr_leave`
150150

151+
* MCUmgr transports now need to set up the struct before registering it by
152+
setting the function pointers to the function handlers, these have been
153+
moved to a ``functions`` struct object of type
154+
:c:struct:`smp_transport_api_t`. Because of these changes, the legacy
155+
transport registration function and object are no longer available. The
156+
registration function now returns a value which is 0 for success or a
157+
negative error code if an error occurred.
158+
151159
Removed APIs in this release
152160
============================
153161

0 commit comments

Comments
 (0)