Skip to content

Commit 28010b0

Browse files
committed
doc: migration-guide-4.2: mention updated 'struct lorawan_downlink_cb'
This structure has updated callback, with additional parameter. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
1 parent 2294321 commit 28010b0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ Networking
136136
Other subsystems
137137
****************
138138

139+
LoRa
140+
====
141+
142+
* Struct :c:struct:`lorawan_downlink_cb` which is passeed to function
143+
:c:func:`lorawan_register_downlink_callback` now accepts ``cb`` callback with additional
144+
parameter, which is a pointer to callback structure itself. This callback pointer can be used to
145+
reference outer user-defined data structure using ``CONTAINER_OF`` macro.
146+
139147
Modules
140148
*******
141149

0 commit comments

Comments
 (0)