NI Bluetooth Generation Toolkit

NIBTSG_DIRECTION_FINDING_ANTENNA_SWITCHING_ENABLED

  • Updated2023-02-21
  • 1 minute(s) read

Data Type: int32
Access:read/write
Functions:niBTSG_SetScalarAttributeI32
niBTSG_GetScalarAttributeI32
niBTSG_ResetAttribute
Description: Specifies whether antenna switching is enabled for the generated low energy (LE) packets. This attribute is valid only when you set the NIBTSG_DIRECTION_FINDING_MODE attribute to NIBTSG_VAL_DIRECTION_FINDING_MODE_ANGLE_OF_ARRIVAL or NIBTSG_DIRECTION_FINDING_MODE_ANGLE_OF_DEPARTURE.

The default value is NIBTSG_VAL_FALSE.

Get Function: niBTSG_GetDirectionFindingAntennaSwitchingEnabled
Set Function: niBTSG_SetDirectionFindingAntennaSwitchingEnabled
Values:
NIBTSG_VAL_FALSE (0)The Constant Tone Extension (CTE) field in the generated LE packet is not modulated in phase and amplitude.
NIBTSG_VAL_TRUE (1)The Constant Tone Extension (CTE) field in the generated LE packet is modulated in phase and amplitude as per the Relative Phase (deg) value and Relative amplitude (dB) value specified.

Log in to get a better experience