Porting nRF SDK BLE mesh project to Zephyr

I have an existing application that calls nrf_mesh_init to initialize the mesh stack.

In the Zephyr world this maps to bt_mesh_init

But I could not find a Zephyr equivalent of nrf_mesh_rx_cb_set  that exists in the nRF SDK

Is there something similar in Zephyr ? If not - what's the recommended way to implement this in Zephyr? 

Also, where can I find the source code that implements bt_mesh_init function?

In the nRF world it's in nrf_mesh.c

Thanks

Andy

Parents
  • Hello AndyM,

    ''Is there something similar in Zephyr ? If not - what's the recommended way to implement this in Zephyr? ''

    As far I know, we do not have this documentation of porting from nRF5 SDK to Zephyr. I have been asking to our team and if there is anything relevant I will let you know.  

    Also, where can I find the source code that implements bt_mesh_init function?

    You can find mesh samples in NCS (nrf\samples\bluetooth\mesh) where bt_mesh_init function is used. 

    Best Regards,

    Kazi Afroza Sultana

Reply
  • Hello AndyM,

    ''Is there something similar in Zephyr ? If not - what's the recommended way to implement this in Zephyr? ''

    As far I know, we do not have this documentation of porting from nRF5 SDK to Zephyr. I have been asking to our team and if there is anything relevant I will let you know.  

    Also, where can I find the source code that implements bt_mesh_init function?

    You can find mesh samples in NCS (nrf\samples\bluetooth\mesh) where bt_mesh_init function is used. 

    Best Regards,

    Kazi Afroza Sultana

Children
No Data
Related