gap.h (26b933502e4a9a412c6ca841a976711e986ea481) | gap.h (4856283b35699fcf917a23efc6b5177c6d64f824) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 570 unchanged lines hidden (view full) --- 579 580/** 581 * @brief Set parameters for LE Scan 582 * @deprecated Use gap_set_scan_params instead 583 */ 584void gap_set_scan_parameters(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window); 585 586/** | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 570 unchanged lines hidden (view full) --- 579 580/** 581 * @brief Set parameters for LE Scan 582 * @deprecated Use gap_set_scan_params instead 583 */ 584void gap_set_scan_parameters(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window); 585 586/** |
587 * @brief Set duplicate filter for LE Scan 588 * @param enabled if enabled, only one advertisements per BD_ADDR is reported, default: false 589 */ 590void gap_set_scan_duplicate_filter(bool enabled); 591 592/** |
|
587 * @brief Start LE Scan 588 */ 589void gap_start_scan(void); 590 591/** 592 * @brief Stop LE Scan 593 */ 594void gap_stop_scan(void); --- 780 unchanged lines hidden --- | 593 * @brief Start LE Scan 594 */ 595void gap_start_scan(void); 596 597/** 598 * @brief Stop LE Scan 599 */ 600void gap_stop_scan(void); --- 780 unchanged lines hidden --- |