4.2.4 Configuring Fragmentation

The fragmentation feature allows larger amounts of data to be sent than fits into a single frame, while the stack components handle all implementation details. However, the maximum length of data that the user can send with one APS request is limited by the choice of certain CS parameters. The following are the list of CS parameters:
  • CS_APS_MAX_BLOCKS_AMOUNT – Specifies the maximum number of blocks that the request payload can be split into.
  • CS_APS_BLOCK_SIZE – Specifies the size of a block. If the value is set to ‘0’, the system uses the maximum possible size.
  • CS_APS_MAX_TRANSMISSION_WINDOW_SIZE – Determines the number of frames that the stack sends at once before it waits for an acknowledgment. After receiving acknowledgment for these frames, the stack sends the next portion of frames.