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

Subscribe client/provisioner over serial to heartbeat messages from servers

Hi!

I want to send heartbeat messages from 30 servers to 1 client/provisioner.

I can send _HEARTBEAT_PUBLICATION_SET to every server like

OpCode = _HEARTBEAT_PUBLICATION_SET
Dst = Unicast address of Client
Count = 0xFF 
Period = 0x04
TTL = 0x30
Feature and netkeyIndex = 0x00, 0x00

And I get _HEARTBEAT_PUBLICATION_STATUS response from server once I do that.

1. How can I subscribe my Client, over serial, to this type of messages? I don't see any serial command for that.

I also tried to publish heartbeat on server to some group address, and I subscribed Client to that group address but I don't get any messages, except first one when you set config Heart

2. Can you send mesh messages to Client via serial? Can you maybe just set something without getting a response maybe?

3. Why do you need to subscribe some Client to this heartbeat server messages if you send to unicast address?

Thank you!

Parents Reply Children
Related