Access acknowledged message defines. More...
Macros | |
| #define | ACCESS_RELIABLE_TIMEOUT_MIN (SEC_TO_US(2)) |
| Minimum timeout for an acknowledged message in microseconds. More... | |
| #define | ACCESS_RELIABLE_TIMEOUT_MAX (SEC_TO_US(60)) |
| Maximum timeout for an acknowledged message in microseconds. More... | |
| #define | ACCESS_RELIABLE_HOP_PENALTY (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS)) |
| Penalty in microseconds for each hop for an acknowledged message. More... | |
| #define | ACCESS_RELIABLE_SEGMENT_COUNT_PENALTY MS_TO_US(BEARER_ADV_INT_DEFAULT_MS) |
| Penalty for each segment in an acknowledged transfer. More... | |
| #define | ACCESS_RELIABLE_INTERVAL_DEFAULT (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS) * 10) |
| Base interval in microseconds for an acknowledged message. More... | |
| #define | ACCESS_RELIABLE_BACK_OFF_FACTOR (2) |
| Back-off factor used to increase the interval for each retry. More... | |
| #define | ACCESS_RELIABLE_TIMEOUT_MARGIN (MS_TO_US(1)) |
| Margin in microseconds for which two timeout events are fired "at the same time". More... | |
| #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. More... | |
Detailed Description
Access acknowledged message defines.
Macro Definition Documentation
◆ ACCESS_RELIABLE_TIMEOUT_MIN
| #define ACCESS_RELIABLE_TIMEOUT_MIN (SEC_TO_US(2)) |
Minimum timeout for an acknowledged message in microseconds.
- Note
- Bluetooth Mesh Profile Specification (MshPRFv1.0.1) recommends this to be minimum 60s.
Definition at line 70 of file access_reliable.h.
◆ ACCESS_RELIABLE_TIMEOUT_MAX
| #define ACCESS_RELIABLE_TIMEOUT_MAX (SEC_TO_US(60)) |
Maximum timeout for an acknowledged message in microseconds.
Definition at line 73 of file access_reliable.h.
◆ ACCESS_RELIABLE_HOP_PENALTY
| #define ACCESS_RELIABLE_HOP_PENALTY (MS_TO_US(BEARER_ADV_INT_DEFAULT_MS)) |
Penalty in microseconds for each hop for an acknowledged message.
Definition at line 76 of file access_reliable.h.
◆ ACCESS_RELIABLE_SEGMENT_COUNT_PENALTY
| #define ACCESS_RELIABLE_SEGMENT_COUNT_PENALTY MS_TO_US(BEARER_ADV_INT_DEFAULT_MS) |
Penalty for each segment in an acknowledged transfer.
Definition at line 79 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 an acknowledged message.
That is, the interval given TTL=0 and an unsegmented message.
Definition at line 85 of file access_reliable.h.
◆ ACCESS_RELIABLE_BACK_OFF_FACTOR
| #define ACCESS_RELIABLE_BACK_OFF_FACTOR (2) |
Back-off factor used to increase the interval for each retry.
Definition at line 88 of file access_reliable.h.
◆ ACCESS_RELIABLE_TIMEOUT_MARGIN
| #define ACCESS_RELIABLE_TIMEOUT_MARGIN (MS_TO_US(1)) |
Margin in microseconds for which two timeout events are fired "at the same time".
Definition at line 91 of file access_reliable.h.
◆ ACCESS_RELIABLE_RETRY_DELAY
| #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.
Definition at line 94 of file access_reliable.h.