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

retransmit times of a mesh packet

Hi Nordic:

I'd like to ask a mesh specification question, there is some terms relative to retransmit: "4.2.2.6 publish retransmit count", "4.2.19.1 network transmit count,"

1. How many packets will be sent when an originator calls "generic_onoff_client_set" function with publish-retransmit-count = network-trasnmit-count = 5?

(i.e. whenever calling generic_onoff_client_set, will 25 same packet be sent ? (5 x 5) )

2. How many packets will be sent when an originator calls "generic_onoff_client_set_unack(repeats=5) with  publish-retransmit-count = network-trasnmit-count=5 ? 

3. Where are publish-retransmit-count and network-trasnmit-count default setting in mesh-sdk-2.2?

Regards,

Joseph

  • Hi,

    Publish retransmit count is how many times a node will retransmit a message after the original message is received. Network transmit count is similar but it is how many times a node is sending a message.

    1. The originator will only send 5 packets.

    2. The orignator will send in total 25 packets.

    3. Publish retransmit count : This setting is controlled by the config server model. Peer config client sends a Model Publication Set message to control this setting for every mode instance. Currently this setting is not implemented in the SDK 2.2.0, see the RELEASE_NOTES.md. It is equivalent to setting a `0` value for this setting.
    Network transmit count: This setting is controlled by the config server model. Peer config client sends a Network Transmit Set message to control this setting for a node as a whole. Default value of the network transmit count is `0`, which means network PDUs are transmitted by the network layer only once (0 + 1(default) = 1).

Related