mirror of https://github.com/ARMmbed/mbed-os.git
type already defined in ble types
parent
4fe7d5ed90
commit
9529974572
|
@ -475,23 +475,6 @@ public:
|
||||||
ADV_POLICY_FILTER_ALL_REQS = 3,
|
ADV_POLICY_FILTER_ALL_REQS = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Scanning policy filter mode.
|
|
||||||
*
|
|
||||||
* @see Bluetooth Core Specification 4.2 (Vol. 6), Part B, Section 4.3.3.
|
|
||||||
*/
|
|
||||||
enum ScanningPolicyMode_t {
|
|
||||||
/**
|
|
||||||
* The whitelist is not used for scanning operations.
|
|
||||||
*/
|
|
||||||
SCAN_POLICY_IGNORE_WHITELIST = 0,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The whitelist is used to filter incoming advertising.
|
|
||||||
*/
|
|
||||||
SCAN_POLICY_FILTER_ALL_ADV = 1,
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connection initiation policy filter mode.
|
* Connection initiation policy filter mode.
|
||||||
*
|
*
|
||||||
|
@ -580,6 +563,9 @@ public:
|
||||||
*/
|
*/
|
||||||
typedef ble::scanning_policy_mode_t ScanningPolicyMode_t;
|
typedef ble::scanning_policy_mode_t ScanningPolicyMode_t;
|
||||||
|
|
||||||
|
static const uint8_t SCAN_POLICY_IGNORE_WHITELIST = ble::SCAN_POLICY_IGNORE_WHITELIST;
|
||||||
|
static const uint8_t SCAN_POLICY_FILTER_ALL_ADV = ble::SCAN_POLICY_FILTER_ALL_ADV;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enumeration of BLE PHY
|
* Enumeration of BLE PHY
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue