This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

listening communication between sig models

Hi,

We are working with DK nrf 52840 and developing android app with nrf mesh library.

is there a way to receive the feedbacks to the provisioners when any generic clients on the network send command to generic servers in the mesh n/w by without using blacklist filter?

we noticed that the provisioners will be added as nodes and we can add as many sig models as we want. but is it has the same behaviour as the board's sig models?
for example, can we bind app key and add group subscription to the provisioner's sig models? if so, do we have to connect to a proxy in the mesh n/w?

  • Hi Hariharasudhan,

    I'm not sure how blacklist can help to receive the feedback from the generic (on_off ? ) server but as defined by Bluetooth Mesh spec, when the server changes the state, it will broadcast its new state to the publication address (in addition to the reply to the client).


    So what you need to do is to configure the publication address of the servers to either an unicast address of a node or a group address. Then you can subscribe to that group address to receive any state change publication packet. 

    I'm not sure I understand your questions 100% but it seems you want to make the provisioner on the phone app to be the node that receive all the server state change update ?

    If it's the case the current implementation of the app doesn't allow this feature. You can't set the subscription address of the provisioner, the model on the provisioner app is also not implemented with full features. There is no database to store the current status of the lights.

    If you want to have an app that can monitor the status of all the lights, I would suggest to use a normal node (s) in the network (could be the proxy node(s)) and let this node subscribe to the group address that the server broadcast. When the phone connect to this proxy node, it can query the node to get the most updated status. The reason for this is that the phone may not always connect to the mesh network, if you let the phone to be the monitor, it may not receive all the packets.

Related