Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

NRF5 Mesh: LPN polls Friend multiple times after message is published

After LPN publishes message, NRF_MESH_EVT_LPN_FRIEND_POLL_COMPLETE event is generated five times. Also I noticed that instead of transmitting single publication message LPN sends it multiple times too (observed using nrf sniffer). I tried to change Network Transmit parameter in configuration server of LPN, but could not reduce the number of messages.

What could cause such behavior and how to disable automatic Friend polling after the message publication? LPN is set to publish to all Nodes and does that manually (without setting Publication period). Also Retransmission of publication is not set. Message is sensor server publication, sent unacknowledged.

I am using nRF5 Mesh SDK v5.

Parents
  • Hello,

    Could you tell me a bit more about the network, and if for instance the nodes and LPN are based on any example in particular?

    Regards,

    Elfving

  • Hi Elfving. The network topology is pretty simple: LPN is connected to Friend node which acts as proxy too. Friend node is Nordic-DK with flashed light_switch server example. LPN firmware is partially derived from LPN example. LPN is set to sleep and it publishes sensor message on RTC (with a period of several minutes) or Button press. POLL_TIMEOUT_MS is set over 360min to avoid excessive friend polling. Friend is manually polled after publishing the sensor message.

    I did not check yet if multiple messages/polling issue also occurs using LPN example project.

Reply
  • Hi Elfving. The network topology is pretty simple: LPN is connected to Friend node which acts as proxy too. Friend node is Nordic-DK with flashed light_switch server example. LPN firmware is partially derived from LPN example. LPN is set to sleep and it publishes sensor message on RTC (with a period of several minutes) or Button press. POLL_TIMEOUT_MS is set over 360min to avoid excessive friend polling. Friend is manually polled after publishing the sensor message.

    I did not check yet if multiple messages/polling issue also occurs using LPN example project.

Children
Related