This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Logging node metadata over RTT

Hi, I am using Heartbeat messages with the light switch example, and want to log the nrf_mesh_rx_metadata_t in heartbeat_opcode_handle() to RTT viewer so I can write it to a file. I think I have to do this by attaching it to NRF_MESH_EVT_HB_MESSAGE_RECEIVED eventbut I have tried and failed with many different methods. Does someone know a solution to this problem?

Related