How to receive mesh message at nRF Mesh app (Android)?

Hi Nordic team

1. Define one vendor client model and one vendor server model at mesh nodes.

2. Provision all mesh nodes. Then, Create a mesh group 0xC000.

3. Configure all mesh nodes. Publish address of client model was 0xC000. Subscribe address of server model was 0xC000, too.

4. It can work to publish mesh message (several user bytes) to group 0xC000 at "Groups" panel of nRF Mesh app. Then, nodes can receive the message via server model.

My question is how to subscribe mesh message from 0xC000 at "Groups" panel of nRF Mesh app if a mesh node publish message via client model?

At nrf Mesh app source code, any API we can use to receive mesh message in group?

Thanks.

Jeffery

  • Hi 

    As attachment,

    At Groups page, we want to subscribe message for this group. But, at APP, it only can send message to this group. How can we make it?

    By the way, could you explain "Proxy filter" page? I don't know how to work it. 

  • Hi Nordic team

    Could you feedback my case ? There is a customer waiting for it. Thanks very much.

    Jeffery

  • Hi, 

    Sorry for the late reply.

    The app doesn't support subscribing to any groups, it is a configuration client so it cannot subscribe it can only send messages.

    The proxy filter will allow you to include certain addresses you want to listen to or certain addresses you don't want to listen to. So the app will only receive messages from certain addresses depending on what you put in the lists.

  • Hi Mttrinh

    1. As you said,  configuration client only can publish message. Since phone's role is main provisioner, it owns whole network data.

       It shall have ability to be a configuration server to subscribe group message, right? If we want to create a configuration server for this purpose,

       would you have example code for reference?

    2. About "Proxy filter" page, it can add group address or unicast address  as attachment. So, if I included the group address my phone wanna

       listen or said "subscribe", does it mean phone can receive all messages for expected group?

       But, this function already work? I tried several times but no idea how to work it. Did you have step by step guide?

    Thanks

  • Hi,

    1. Unfortunately, we do not have an example code for reference so you would have to implement this on your own.

    2. Technically you should be able to receive all messages from the group address but our sample app does not handle this, so this is also something you have to implement yourself. We do not have a step-by-step guide.

Related