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

Heartbeat in IOS app with proxy node ( node alive )

Hello,

I need to have connection status at the application level (IOS). 

I'm working with the example "light switch server proxy" where the heartbeat profile is working.

In the IOS application I have already implemented the message "heartbeat publication set message". With this message I can have my embedded module send its status periodically to 0xFFFF (all nodes). 

But the application does not receive the return status. I receive a unique return status when I configure the publication of the heartbeat.

Is it possible to configure the node to send the heartbeat value to the ios application ? It seems that the application is not in the destination nodes

My current step is : 

1. Configure the node with " CONFIG_OPCODE_HEARTBEAT_PUBLICATION_SET"

2. On the node in heartbeat.c -> 
static void heartbeat_publication_timer_cb(timestamp_t timestamp, void * p_context) is called periodically. 

3. On the app in AccessMessageParser I added the status in the switch case. But no status comes after the configuration.

Thank you very much. 

Related