BLE_GAP_CreateConnParams_T
C
typedef struct BLE_GAP_CreateConnParams_T { uint16_t scanInterval; uint16_t scanWindow; uint8_t filterPolicy; BLE_GAP_Addr_T peerAddr; BLE_GAP_ConnParams_T connParams; } BLE_GAP_CreateConnParams_T;
Description
Structure for configuring parameters to create a BLE connection.
Field Documentation
Field | Description |
---|---|
scanInterval | Scan interval used during connection establishment (0.625 ms units). See Scan interval. |
scanWindow | Scan window used during connection establishment (0.625 ms units). Must be less than or equal to scanInterval. See Scan window. |
filterPolicy | Initiator filter policy used to determine if the Filter Accept List is used. See Initiator filter policies for possible values. If the Filter Accept List is not used, the peerAddr argument specifies the address type and address of the advertising device to connect to. |
peerAddr | Address of the peer device to connect to. Ignored if filterPolicy is set to use the Filter Accept List. |
connParams | Desired connection parameters. See BLE_GAP_ConnParams_T for structure details. |