Topics

Retrieve Mesh Proxy Data Out #bluetoothmesh #nrf52-pca10040 #zephyrbluetoothmesh


paul.leguennec@...
 

Hi,
I have a proxy node that receives messages from my mesh network, and I'm trying to retrieve the Mesh Proxy Data Out, in order to read mesh messages and in the future use them in an application. I tried to see what was in the Mesh Proxy Data Out by enabling notifications on nRF Connect. My mesh messages are send really often, and yet I receive no notifications on nRF Connect (PC or Android).
I at least want to see the proxy PDU, which appears neither in raw data, nor in the notifcations (since i don't receive any).
Does somebody have an idea of how to retrieve Data Out and/or the proxy PDU?

I have three nodes (0x0001, 0x0002, 0x0003) publishing and subscribing to the group address 0xC000. 0x0001 is my proxy node.

I believe it's some kind of a gatt server I'm looking for, but I would first want to see what data I am receiving / I could receive.

Thanks,
Paul.

PS : This message was on the devel list but it seems it's more appropriate here.


paul.leguennec@...
 

Hi,

I'm putting this message up, if by any chance someone have an idea or may help me.

I also tried to implement a GATT service to see if I was able to receive notifications on nrfConnect, but had no difference.

FIY the mesh message received by the proxy node is a buffer that I add retrieve using net_buf_simple_add_mem function.


Thanks in advance,
Paul


Johan Hedberg
 

Hi Paul,

On 13 Aug 2019, at 17.00, paul.leguennec@... wrote:
I'm putting this message up, if by any chance someone have an idea or may help me.

I also tried to implement a GATT service to see if I was able to receive notifications on nrfConnect, but had no difference.

FIY the mesh message received by the proxy node is a buffer that I add retrieve using net_buf_simple_add_mem function.
You need to configure proxy filtering to tell the proxy what addresses your proxy client is interested in. See section 6, and 6.4 in particular in the Mesh Profile Specification. There are many apps that can already do this, such as meshctl from BlueZ and nRF Mesh from Nordic (available both for iOS and Android).

Johan