simular posts are > 3 years old
what SDK routine would I access to get the rssi value on incoming mesh advertisements ?
simular posts are > 3 years old
what SDK routine would I access to get the rssi value on incoming mesh advertisements ?
Hi,
Are you using nRF5 SDK for Mesh, or are you using nRF Connect SDK? For new projects, or recommendation is nRF Connect SDK, see our nRF Connect SDK and nRF5 SDK statement.
In nRF Connect SDK, the RSSI value is part of the bt_mesh_msg_ctx struct that you can access through the status handler registered for your model.
Please note that we are entering Easter vacation in Norway. You may have to wait until next week for answers to any follow-up questions.
Regards,
Terje
Thanks, I am using nRF Connect SDK and currently modifying the mesh\light_switch and mesh\light samples in v1.9.1 and using the nRF52840DK eval boards.
I am new to ble what is the specific name of this status handler or will it be obvious when I start digging in later today?
again thanks and have a good vacation
found bt_mesh_msg_ctx and the status_handler in the light_switch sample code
using bt_mesh_msg_ctx in the status_handler worked
thanks