Good day!
I've found that with connected proxy and enabled filter node only forwards messages and doesn't use advertising. I didn't found in Mesh Profile v1.0.1 any mention of such behavior.
Is it bug?
P.s. It comes from this line net.c
Hey Ivan!
It isn't a bug. The messages are forwarded in connected mode.
Proxy and GATT Bearers is mentioned in section 3.3 on Bearers, as well as in section 6 on Proxy Protocol. Its also mentioned a bit in 2.3.12 on Topology, and 3.4.5 on Net Interfaces.
Proxy filtering would potentially limit the messages being sent, but I wouldn't say that it plays a part in whether or not it advertising is being used. You can read more about it in section 6.4.
What the code you've linked to does is to send the packages (using GATT proxy) to a unit that is connected with GATT, and then only send packages that are going elsewhere over ADV.
Best regards,
Elfving
Hey again Ivan!
Hmm yeah you are right. Guess I was a bit confused about what you were asking, the info I've given below is still valid though. The error is here.
Nicely spotted, it will be fixed for NCS 1.8.
Best regards,
Elfving
Hey again Ivan!
Hmm yeah you are right. Guess I was a bit confused about what you were asking, the info I've given below is still valid though. The error is here.
Nicely spotted, it will be fixed for NCS 1.8.
Best regards,
Elfving