BLE_GAP_ExtAdvParams_T

C

typedef struct BLE_GAP_ExtAdvParams_T
{
    uint8_t                 advHandle;
    uint16_t                evtProperies;
    uint32_t                priIntervalMin;
    uint32_t                priIntervalMax;
    uint8_t                 priChannelMap;
    BLE_GAP_Addr_T          peerAddr;
    uint8_t                 filterPolicy;
    int8_t                  txPower;
    uint8_t                 priPhy;
    uint8_t                 secMaxSkip;
    uint8_t                 secPhy;
    uint8_t                 sid;
    bool                    scanReqNotifiEnable;
} BLE_GAP_ExtAdvParams_T;

Description

Structure for configuring extended advertising parameters.

Field Documentation

FieldDescription
advHandleIdentifies the advertising set whose parameters are being configured. Valid range: 0 to 0xEF. Refer to Maximum advertising handle for the maximum value.
evtProperiesTThe type of advertising event that is being configured and its properties. Combinations of bits from Extended advertising event properties are used to define the event properties.
priIntervalMinMinimum primary advertising interval. Valid range: 0x20 to 0x1F4000. Unit: 0.625 ms. Refer to Extended primary advertising interval for more details.
priIntervalMaxMaximum primary advertising interval. Valid range: 0x20 to 0x1F4000. Unit: 0.625 ms. Refer to Extended primary advertising interval for more details.
priChannelMapBitfield indicating the advertising channels to be used. Refer to Advertising channels for channel definitions.
peerAddrRemote Bluetooth address and address type. Refer to BLE_GAP_Addr_T. for structure details.
filterPolicyAdvertising filter policy. Refer to Advertising filter policies for possible values.
txPowerThe maximum transmit power level for advertising packets on the advertising channels. Set to 0x7F if no preference is specified. The level will be adjusted if the value is out of range.
priPhyThe PHY on which the advertising packets are transmitted on the primary advertising channel. Note: 2M PHY cannot be used for primary advertising. Refer to PHY types for possible values.
secMaxSkipThe maximum number of advertising events that can be skipped before sending an AUX_ADV_IND.
secPhyThe PHY on which the advertising packets are transmitted on the secondary advertising channel. Refer to PHY types for possible values.
sidThe value to be transmitted in the Advertising SID subfield of the ADI field in the Extended Header. Refer to Advertising Set Identifier (SID) range for the valid range.
scanReqNotifiEnableIndicates whether notifications should be sent upon receipt of a scan request PDU. Set to true to enable notifications, or false to disable them.