Skip to content

Commit fdd541b

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 f37f526 commit fdd541b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,13 @@ SPI
305305
Other subsystems
306306
****************
307307

308+
LoRa
309+
====
310+
311+
* The :c:member:`lorawan_downlink_cb.cb` callback is now passed a pointer to the parent
312+
:c:struct:`lorawan_downlink_cb` instance as the first parameter. This callback pointer can be used
313+
to reference outer user-defined data structure using :c:macro:`CONTAINER_OF` macro.
314+
308315
ZBus
309316
====
310317

0 commit comments

Comments
 (0)