SWRA715 December 2021 CC2642R , CC2652R
The PDU size and PDU amount have a direct impact on notifications. The max size of PDUs is set to 69 bytes in the project by default. This is the minimum size that should be used for this project because this is the minimum size required by the LE Secured Connections feature. The number of PDUs per connection event has a more direct impact on the project. The mouse demo portion of the project constantly enqueues notifications. If a project is enqueuing notifications at a rapid pace, then a large number of PDUs is required per connection event in order to keep up with the stream of notifications. If the amount of PDUs is set lower than the notification stream requires, then data loss may occur. The project has the PDU amount per connection event set to the maximum of 255 PDUs. This setting should be minimized in a final implementation of this project to a value that offers minimal data loss while also offering minimal heap consumption. For additional information on PDUs and their impact, see the Link Layer (LL) chapter of the SDK User’s Guide.