Skip to content

Commit 92e598e

Browse files
czeslawmakarskicarlescufi
authored andcommitted
[nrf fromlist] samples: 802154_rpmsg: Add SL fault handler
This commit adds the nRF IEEE 802.15.4 Service Layer Fault Handler to the 802154_rpmsg sample. Signed-off-by: Czeslaw Makarski <Czeslaw.Makarski@nordicsemi.no>
1 parent c2feee4 commit 92e598e

File tree

1 file changed

+5
-0
lines changed
  • samples/boards/nrf/ieee802154/802154_rpmsg/src

1 file changed

+5
-0
lines changed

samples/boards/nrf/ieee802154/802154_rpmsg/src/main.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ void nrf_802154_serialization_error(const nrf_802154_ser_err_data_t *err)
1414
(void)err;
1515
__ASSERT(false, "802.15.4 serialization error");
1616
}
17+
18+
void nrf_802154_sl_fault_handler(uint32_t id, int32_t line, const char *err)
19+
{
20+
__ASSERT(false, "module_id: %u, line: %d, %s", id, line, err);
21+
}

0 commit comments

Comments
 (0)