File tree 2 files changed +0
-40
lines changed
2 files changed +0
-40
lines changed Original file line number Diff line number Diff line change 18
18
uint32_t scanTime = 100 ; // In 10ms (1000ms)
19
19
BLEScan* pBLEScan;
20
20
21
- /* *
22
- * @brief extend adv report parameters
23
- */
24
- // typedef struct {
25
- // esp_ble_gap_adv_type_t event_type; /*!< extend advertising type */
26
- // uint8_t addr_type; /*!< extend advertising address type */
27
- // esp_bd_addr_t addr; /*!< extend advertising address */
28
- // esp_ble_gap_pri_phy_t primary_phy; /*!< extend advertising primary phy */
29
- // esp_ble_gap_phy_t secondly_phy; /*!< extend advertising secondary phy */
30
- // uint8_t sid; /*!< extend advertising sid */
31
- // uint8_t tx_power; /*!< extend advertising tx power */
32
- // int8_t rssi; /*!< extend advertising rssi */
33
- // uint16_t per_adv_interval; /*!< periodic advertising interval */
34
- // uint8_t dir_addr_type; /*!< direct address type */
35
- // esp_bd_addr_t dir_addr; /*!< direct address */
36
- // esp_ble_gap_ext_adv_data_status_t data_status; /*!< data type */
37
- // uint8_t adv_data_len; /*!< extend advertising data length */
38
- // uint8_t adv_data[251]; /*!< extend advertising data */
39
- // } esp_ble_gap_ext_adv_reprot_t;
40
-
41
21
class MyBLEExtAdvertisingCallbacks : public BLEExtAdvertisingCallbacks {
42
22
void onResult (esp_ble_gap_ext_adv_reprot_t report) {
43
23
if (report.event_type & ESP_BLE_GAP_SET_EXT_ADV_PROP_LEGACY){
Original file line number Diff line number Diff line change @@ -25,26 +25,6 @@ static esp_ble_gap_periodic_adv_sync_params_t periodic_adv_sync_params = {
25
25
.sync_timeout = 1000 , // timeout: 1000 * 10ms
26
26
};
27
27
28
- /* *
29
- * @brief extend adv report parameters
30
- */
31
- // typedef struct {
32
- // esp_ble_gap_adv_type_t event_type; /*!< extend advertising type */
33
- // uint8_t addr_type; /*!< extend advertising address type */
34
- // esp_bd_addr_t addr; /*!< extend advertising address */
35
- // esp_ble_gap_pri_phy_t primary_phy; /*!< extend advertising primary phy */
36
- // esp_ble_gap_phy_t secondly_phy; /*!< extend advertising secondary phy */
37
- // uint8_t sid; /*!< extend advertising sid */
38
- // uint8_t tx_power; /*!< extend advertising tx power */
39
- // int8_t rssi; /*!< extend advertising rssi */
40
- // uint16_t per_adv_interval; /*!< periodic advertising interval */
41
- // uint8_t dir_addr_type; /*!< direct address type */
42
- // esp_bd_addr_t dir_addr; /*!< direct address */
43
- // esp_ble_gap_ext_adv_data_status_t data_status; /*!< data type */
44
- // uint8_t adv_data_len; /*!< extend advertising data length */
45
- // uint8_t adv_data[251]; /*!< extend advertising data */
46
- // } esp_ble_gap_ext_adv_reprot_t;
47
-
48
28
class MyBLEExtAdvertisingCallbacks : public BLEExtAdvertisingCallbacks
49
29
{
50
30
void onResult (esp_ble_gap_ext_adv_reprot_t params)
You can’t perform that action at this time.
0 commit comments