set Payload Size By Firmware
Sets the maximum payload size based on the provided firmware version.
This method looks up the firmware version in the payloadSizeMap and sets the maxPayloadSize accordingly. If the firmware version is not found in the map, the default value of 140 bytes is used.
Parameters
firmware Version
The firmware version string to look up.