I develop a nrf_mesh application.
I can send a mesh packet by nrf_mesh_packet_send(). But I can not receive a mesh packet. (I can receive a advertise packet by nrf_mesh_rx_cb_set() and callback.)
How to receive a mesh packet(decrypted packet)?
Could you describe about your application ? Did you base on our light switch example ? Do you have a provisioner ? The encryption and decryption in Mesh are handled in upper transport layer and network layer. If you want to observe packet arrive at application layer, you should have a look at mesh_msg_handle() in access.c