Macros | |
| #define | PACKET_MGR_DEBUG_MODE 0 |
| Set to 1 to enable debug mode for the packet manager. More... | |
| #define | PACKET_MGR_MEMORY_POOL_SIZE 4096 |
| Size of the packet manager memory pool in bytes. More... | |
| #define | PACKET_MGR_BLAME_MODE 0 |
| Packet manager blame mode. More... | |
Detailed Description
- Note
- These configuration parameters are only relevant when the
mesh_mem_packet_mgr.cis used as the dynamic memory backend. The default is themesh_mem_stdlib.cbackend. Its memory pool size is directly controlled by the heap size.
Macro Definition Documentation
◆ PACKET_MGR_DEBUG_MODE
| #define PACKET_MGR_DEBUG_MODE 0 |
Set to 1 to enable debug mode for the packet manager.
- Warning
- In debug mode, the packet manager will print out a lot of information and this will cause the system to assert due to timeslot violation.
Definition at line 336 of file nrf_mesh_config_core.h.
◆ PACKET_MGR_MEMORY_POOL_SIZE
| #define PACKET_MGR_MEMORY_POOL_SIZE 4096 |
Size of the packet manager memory pool in bytes.
- Warning
- The value of the memory pool cannot currently exceed the value of PACKET_MGR_PACKET_MAXLEN, due to the current design of the memory manager.
Definition at line 346 of file nrf_mesh_config_core.h.
◆ PACKET_MGR_BLAME_MODE
| #define PACKET_MGR_BLAME_MODE 0 |
Packet manager blame mode.
The blame mode adds an additional field to the packet header which records the last location a packet manager function was called from. This can be useful in some debugging scenarioes, such as when a bug is suspected of being caused by a reference counting error. It is not intended for regular use, so do not enable unless you are debugging the packet manager usage.
Definition at line 359 of file nrf_mesh_config_core.h.