SetPayloadLength(string, int)
- Updated2025-10-13
- 1 minute(s) read
Sets the payload length of BR, EDR, LE and LE-CS packet, and the payload zone length of LE-HDT packet, in bytes. This method is applicable only when you set the SetPayloadLengthMode(string, RFmxBTMXPayloadLengthMode) method to Manual. This method returns the payload length or payload zone length used for measurement if you set the Payload Length Mode method to Auto.
Syntax
Namespace: NationalInstruments.RFmx.BTMX
public int SetPayloadLength(string selectorString, int value)
Remarks
This method sets the value of PayloadLength attribute.The default value is 10.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | int | Specifies the payload length of BR, EDR, LE and LE-CS packet, and the payload zone length of LE-HDT packet, in bytes. This method is applicable only when you set the SetPayloadLengthMode(string, RFmxBTMXPayloadLengthMode) method to Manual. This method returns the payload length or payload zone length used for measurement if you set the Payload Length Mode method to Auto. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.