Bluetooth Mesh Chat

Hello!

I’ve been learning about Bluetooth Mesh recently, and I’ve been testing the sample at nrf\samples\bluetooth\mesh\chat, but there are still some parts I don’t quite understand:

  1. How is message scanning configured in this sample? Is it running at a 100% duty cycle? If not, how can it ensure that no messages are missed?

  2. What is the message forwarding logic between nodes? Is it based on flooding? Does each node forward all received messages within the TTL?

  3. I noticed that the following configurations are enabled: CONFIG_BT_MESH_RELAY=y and CONFIG_BT_MESH_FRIEND=y. How does a node determine which role it is playing? Is it a RELAY node? A FRIEND node? Or just a regular node?

    Looking forward to your help.

Related