nRF5 SDK for Mesh v3.2.0  08c60f6

Access reliable message defines. More...

Macros

#define ACCESS_RELIABLE_TIMEOUT_MIN   (SEC_TO_US(2))
 Minimum timeout for a reliable message in microseconds. More...
 
#define ACCESS_RELIABLE_TIMEOUT_MAX   (SEC_TO_US(60))
 Maximum timeout for a reliable message in microseconds.
 
#define ACCESS_RELIABLE_HOP_PENALTY   (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS))
 Penalty in microseconds for each hop for a reliable message.
 
#define ACCESS_RELIABLE_SEGMENT_COUNT_PENALTY   MS_TO_US(BEARER_ADV_INT_DEFAULT_MS)
 Penalty for each segment in a reliable transfer.
 
#define ACCESS_RELIABLE_INTERVAL_DEFAULT   (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS) * 10)
 Base interval in microseconds for a reliable message. More...
 
#define ACCESS_RELIABLE_BACK_OFF_FACTOR   (2)
 Back-off factor used to increase the interval for each retry.
 
#define ACCESS_RELIABLE_TIMEOUT_MARGIN   (MS_TO_US(1))
 Margin in microseconds for which two timeout events are fired "at the same time".
 
#define ACCESS_RELIABLE_RETRY_DELAY   (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS) * 2)
 Time in microseconds to wait before retrying a publish if the stack reports NRF_ERROR_NO_MEM.
 

Detailed Description

Access reliable message defines.

Macro Definition Documentation

◆ ACCESS_RELIABLE_TIMEOUT_MIN

#define ACCESS_RELIABLE_TIMEOUT_MIN   (SEC_TO_US(2))

Minimum timeout for a reliable message in microseconds.

Note
Mesh Profile Specification v1.0 recommends this to be minimum 60s.

Definition at line 70 of file access_reliable.h.

◆ ACCESS_RELIABLE_INTERVAL_DEFAULT

#define ACCESS_RELIABLE_INTERVAL_DEFAULT   (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS) * 10)

Base interval in microseconds for a reliable message.

I.e., the interval given TTL=0 and an unsegmented message.

Definition at line 85 of file access_reliable.h.