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. 

Parents
  • Hi,

    This looks like a Proxy Filter thing. Are you using the latest version of the iOS library on version2 branch? If so, since few days the app is automatically subscribing to FFFF address (and unicast addresses of all elements on the local node) after connecting to the proxy.

    Please, check the latest version. Together with this feature there came some updates to the API (delegates, sending messages, ...), but I hope they will not be a big issue for you.

    BR,

    Aleksander

Reply
  • Hi,

    This looks like a Proxy Filter thing. Are you using the latest version of the iOS library on version2 branch? If so, since few days the app is automatically subscribing to FFFF address (and unicast addresses of all elements on the local node) after connecting to the proxy.

    Please, check the latest version. Together with this feature there came some updates to the API (delegates, sending messages, ...), but I hope they will not be a big issue for you.

    BR,

    Aleksander

Children
Related