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

Sending message from mesh device to phone through proxy node

Basically the same question as here:

https://devzone.nordicsemi.com/f/nordic-q-a/45557/getting-status-messages-from-mesh-to-phone

But the answer there doesn't really tell me what I need to do to make it work.

I want to send out a status message on Mesh Proxy Data Out (0x2ade) on every button click.

I am using the Mesh 4.1.0 SDK.

Thanks.

  • Hi Ferdi, 
    It's should possible to do so but it's not defined by the spec and is not implemented in our code. You may need to look into the code where we add the group address to whitelist in config_packet_in_filter_addr_add(). 

    But I think it's easier if you implement the code on the opposite side, on the phone, instead. This way you don't need to modify your firmware to do something not defined (and maybe not suggested) in the spec. Especially when a 3rd party application connect to your device, it may not be compatible (it doesn't expect to receive the message to a group address). 

    You can implement the code in the app so that the command to send filter add PROXY_CONFIG_OPCODE_FILTER_ADDR_ADD automatically in the background so the user doesn't have add that manually. 

Related