Re: [Zephyr-devel] mesh: relay traffic when relay state is 0x02 (not supported)


Johan Hedberg
 

Hi Vikrant,

On Tue, Dec 05, 2017, Johan Hedberg wrote:
On Tue, Dec 05, 2017, Vikrant More wrote:
I applied your recent patch (that is https://github.com/
zephyrproject-rtos/zephyr/pull/5243 )

But it is still relaying packet (after Relay is OFF using Silicon Labs App)
if destination address is Group Address.
It does not relay only when destination Address is self Unicast Address.
Are you talking about adv-adv relaying or GATT-adv relaying (or
vice-versa)? Steve seemed to confirm that the current code works as it
should.
I took a second look at the logic in bt_mesh_net_relay() and indeed it
was still buggy. Thanks for catching this. The following pull request
(which I'm still doing a bit of testing on) should fix the issue:

https://github.com/zephyrproject-rtos/zephyr/pull/5275

Johan

Join users@lists.zephyrproject.org to automatically receive all group messages.