BluetoothLEAdvertisementType
BluetoothLEAdvertisementType
BluetoothLEAdvertisementType
BluetoothLEAdvertisementType
Enum
Definition
Specifies the different types of Bluetooth LE advertisement payloads.
public : enum class BluetoothLEAdvertisementTypepublic enum BluetoothLEAdvertisementTypePublic Enum BluetoothLEAdvertisementType// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| ConnectableDirected ConnectableDirected ConnectableDirected ConnectableDirected | The advertisement is directed and indicates that the device is connectable but not scannable. This advertisement type cannot carry data. This corresponds with the ADV_DIRECT_IND type defined in the Bluetooth LE specifications. |
| ConnectableUndirected ConnectableUndirected ConnectableUndirected ConnectableUndirected | The advertisement is undirected and indicates that the device is connectable and scannable. This advertisement type can carry data. This corresponds with the ADV_IND type defined in the Bluetooth LE specifications. |
| NonConnectableUndirected NonConnectableUndirected NonConnectableUndirected NonConnectableUndirected | The advertisement is undirected and indicates that the device is not connectable nor scannable. This advertisement type can carry data. This corresponds with the ADV_NONCONN_IND type defined in the Bluetooth LE specifications. |
| ScannableUndirected ScannableUndirected ScannableUndirected ScannableUndirected | The advertisement is undirected and indicates that the device is scannable but not connectable. This advertisement type can carry data. This corresponds with the ADV_SCAN_IND type defined in the Bluetooth LE specifications. |
| ScanResponse ScanResponse ScanResponse ScanResponse | This advertisement is a scan response to a scan request issued for a scannable advertisement. This advertisement type can carry data. This corresponds with the SCAN_RSP type defined in the Bluetooth LE specifications. |