NIBTSG_ACTUAL_PAYLOAD_LENGTH

NI Bluetooth Generation Toolkit 18.0 Help

Edition Date: January 2019

Part Number: 373432J-01

»View Product Info
Download Help (Windows Only)

Data Type: int32
Access:read only
Functions:niBTSG_GetScalarAttributeI32
Description: Returns the actual payload length, in bytes, that is calculated by the toolkit.

If you set the NIBTSG_PAYLOAD_LENGTH_MODE attribute to NIBTSG_VAL_PAYLOAD_LENGTH_MODE_MAXIMUM_LENGTH, the toolkit returns the maximum permissible payload data length as specified in the Bluetooth specifications. If you set the NIBTSG_PAYLOAD_LENGTH_MODE attribute to NIBTSG_VAL_PAYLOAD_LENGTH_MODE_USER_DEFINED, the toolkit returns the value that you specify in the NIBTSG_PAYLOAD_LENGTH attribute. If the value that you specify in the NIBTSG_PAYLOAD_LENGTH attribute exceeds the maximum permissible payload length for the packet, the toolkit returns this maximum permissible payload length.

Get Function: niBTSG_GetActualPayloadLength

WAS THIS ARTICLE HELPFUL?

Not Helpful